Passing the Goldman Sachs Data Engineer System Design Round

Interviewing for a Data Engineering role at Goldman Sachs isn't like interviewing at a standard consumer tech company. A social media platform can easily tolerate a few dropped clicks or delayed analytics, but a global investment bank operates under strict zero-tolerance constraints. Dropped messages, duplicated trades, or untraceable data transformations can cause millions in financial discrepancies. Worse, they invite severe regulatory fines from bodies like the SEC or FINRA. When you step into the Goldman Sachs system design round, your interviewers aren't just testing if you can move data from point A to point B. They're evaluating your ability to build fault-tolerant, audit-compliant, and mathematically deterministic pipelines at massive scale.
Goldman Sachs' data architecture heavily relies on distributed systems to process real-time market feeds, execute complex risk models, and settle millions of daily transactions. You'll need to demonstrate a deep understanding of Apache Kafka for event streaming, Apache Spark or Flink for distributed processing, and modern data lakehouse architectures for ACID-compliant storage. We've broken down the exact structure of the interview process below, covering the specific architectural challenges you'll have to master to pass.
The Goldman Sachs Data Engineering Interview Process
The hiring process for data engineers at Goldman Sachs typically spans four to five rounds. You'll see a heavy emphasis on both raw coding ability and large-scale architectural thinking. Unlike generalist software engineering loops, the data engineering track focuses directly on distributed computing concepts, data modeling, and performance tuning.
| Interview Round | Typical Duration | Core Focus & Expectations |
|---|---|---|
| HackerRank / CoderPad | 60 mins | Data structures, algorithms, and complex SQL queries. Expect window functions and self-joins. |
| Technical Data Round | 45-60 mins | Deep dive into Spark internals, Kafka mechanics, and database indexing. Often involves code optimization. |
| System Design | 60 mins | End-to-end pipeline design. Focus on scale, fault tolerance, exactly-once semantics, and data lineage. |
| Behavioral & Culture | 45 mins | Navigating stakeholder conflicts, managing production incidents, and demonstrating commercial awareness. |
The system design round is often the deciding factor for leveling—like figuring out if you'll come in as an Associate or a Vice President. Interviewers usually start with a broad prompt, then drill down into the specific bottlenecks of your proposed architecture. Below are the major questions and scenarios you need to prepare for, phrased exactly as candidates encounter them.
How do you design a real-time financial data ingestion pipeline?
When asked to design an ingestion pipeline for trading events or market data, your default architecture should center around a high-throughput, fault-tolerant message broker like Apache Kafka. That broker then feeds into a stream processing engine like Apache Flink or Spark Structured Streaming. The trap here is treating the pipeline like a basic pub-sub system. Interviewers want to see exactly how you handle the stringent durability requirements of financial data.
First, tackle data durability right at the ingestion layer. In Kafka, you have to configure your producers to use 'acks=all' so a message is only considered published when the leader and all in-sync replicas acknowledge it. You should explicitly mention configuring 'min.insync.replicas' to at least 2, alongside a replication factor of 3, so you can survive a broker failure without losing data. If you default to 'acks=1', the interviewer will immediately flag your design as unsafe for financial workloads.
Next up is the consumer side. To avoid data loss during a consumer crash, disable auto-committing offsets. Instead, make sure your Spark or Flink job manually commits offsets back to Kafka only after the data successfully writes to the downstream sink, like an Iceberg or Delta Lake table. This setup guarantees at-least-once processing. To upgrade that to exactly-once processing—which is a strict requirement in banking—you have to implement idempotent writes at the storage layer.
How would you handle a massive data skew in Spark during a daily settlement job?

This is arguably the most common technical deep dive in a Goldman Sachs data engineering interview. Data skew happens when a small number of partitions hold a disproportionately large amount of data, causing a few Spark tasks to run for hours while the rest finish in seconds. In finance, you'll frequently see this when joining a massive transactions table with a client table, especially since a handful of institutional clients—like massive pension funds—often account for 80% of the trading volume.
You need a structured approach to solve this. Start with the easiest fix: if one of the tables in the join is small enough—typically under 10MB to 20MB, though you can configure this via 'spark.sql.autoBroadcastJoinThreshold'—propose a Broadcast Hash Join. By broadcasting the smaller table to all worker nodes, you eliminate the shuffle phase entirely. That completely bypasses the skew problem.
If both tables are massive, you'll have to explain 'salting'. This is a mandatory concept for senior data engineers, so walk the interviewer through the algorithm step-by-step:
- Identify the skewed key, such as client_id.
- On the large, skewed table, append a random integer—the 'salt', like 0 to 99—to the skewed key. This spreads the massive client's records across 100 different partitions.
- On the other table, replicate every record that has the skewed key 100 times, appending 0 through 99 to each replica.
- Perform the join on the new salted key so the data distributes evenly across the cluster during the shuffle.
- Finally, drop the salt and perform any necessary aggregations.
Don't forget to mention modern Spark capabilities. Spark 3.x introduced Adaptive Query Execution (AQE), which features dynamic skew optimization. AQE detects skewed partitions at runtime and automatically splits them into smaller sub-partitions. Bringing up AQE proves you stay current with the technology, but always be ready to explain manual salting anyway. Interviewers want to test your underlying algorithmic understanding.
How do you guarantee exactly-once processing and handle upstream schema changes?
Financial pipelines simply can't tolerate duplicate records. If a Spark job fails halfway through writing a batch of trades and gets retried, you can't just append the batch again. You have to design for idempotency. Explain that you'd use a modern table format like Delta Lake, Apache Iceberg, or Apache Hudi for your data lake.
Instead of relying on raw inserts, you perform 'upserts' using MERGE INTO operations. Every incoming event needs a deterministic, unique identifier, like a combination of 'trade_id' and 'event_timestamp'. When the Spark job writes to the lake, it merges on this unique key. If the job retries due to a transient failure, the merge operation just overwrites the existing records with the exact same data. Because there's no net change, you successfully achieve exactly-once semantics.
When it comes to schema evolution, upstream trading systems will inevitably add new fields or change data types. Hardcoding schemas in your Spark jobs creates brittle pipelines that crash in production. Propose using a centralized Schema Registry, like Confluent Schema Registry, combined with Avro or Protobuf serialization. You'll also want to explain the concept of compatibility modes:
- Backward Compatibility: Consumers using the new schema can read data written with the old schema. This is absolutely crucial for streaming data.
- Forward Compatibility: Consumers using the old schema can read data written with the new schema.
- Full Compatibility: The system is both backward and forward compatible. This stands as the gold standard for financial event buses.
How do you design deterministic data lineage for regulatory audits?
In a banking environment, a regulator might ask why a specific risk metric was calculated as $5.2 million on a Tuesday three months ago. You have to be able to trace that exact number back through every single transformation all the way to the raw source data. That requires deterministic data lineage. Standard table-level lineage tools like Apache Atlas or Amundsen are necessary for governance, but they fall short for row-level regulatory audits.
To solve this, you need to design row-level provenance directly into your data models. Tell the interviewer you'd mandate standard audit columns on every single table in the data warehouse or lakehouse. The ingestion and transformation frameworks then populate these columns automatically.
- __sys_insert_ts: The exact UTC timestamp the row was written.
- __sys_job_run_id: The unique identifier of the Airflow/Spark job run that generated the row.
- __sys_source_file / __sys_kafka_offset: The exact location of the raw data that fed this row.
- __sys_git_commit_hash: The exact version of the transformation code used to process the data.
By embedding the Git commit hash and the job run ID into the row itself, you achieve deterministic reproducibility. If an auditor ever questions a value, you can check out the exact version of the code from Git, pull the exact Kafka offsets or raw S3 files, and replay the pipeline in a staging environment. That proves your calculation was mathematically sound.
Common Pitfalls in the System Design Round
Lots of candidates fail the Goldman Sachs data system design round despite having great technical knowledge. Usually, it's because they apply consumer-tech paradigms to financial problems. One major pitfall is prioritizing ultra-low latency over consistency. If you design a system that drops a trade just to maintain a sub-millisecond SLA, you'll fail the round. Consistency and durability always trump latency in core banking systems.
Another frequent mistake is treating databases as black boxes. If you propose using Cassandra or HBase for a high-throughput time-series workload, the interviewer will ask you to design the partition and clustering keys. If you can't explain how your key design prevents hot-spotting or supports the required read query patterns, they'll view your architecture as superficial.
Mastering the Interview with Real-Time Support
The Goldman Sachs Data Engineer System Design round is an intense test of your ability to architect fault-tolerant, scalable, and compliant systems. You have to seamlessly transition from high-level whiteboard architecture to low-level Spark memory management and Kafka partition tuning. Getting an offer requires more than just knowing the technologies. You need to understand the strict financial constraints that dictate exactly how they must be configured.
Practicing these complex scenarios is absolutely essential. Still, recalling the exact syntax for AQE configurations or the precise nuances of exactly-once semantics under the pressure of a live interview can be incredibly daunting. Structuring your thoughts clearly while an interviewer drills into your architecture remains the ultimate challenge.
Frequently asked questions
Does Goldman Sachs require coding in the system design round?
The system design round focuses heavily on architecture, but you might still have to write pseudo-code or SQL. This helps demonstrate how you'd implement specific concepts like windowing, salting, or database schema definitions.
What programming languages are expected for data engineering at Goldman Sachs?
Python and Java/Scala are the most common choices. Deep proficiency in SQL is absolutely mandatory, and you should be totally comfortable writing PySpark or Scala Spark code.
How important is domain knowledge in finance for this interview?
You don't need to be a quantitative analyst. However, understanding basic financial concepts—like trades, settlements, ledgers, and the importance of auditability—will significantly improve the context and quality of your architectural decisions.
Will they ask about cloud architecture (AWS/GCP)?
Yes. Even though Goldman Sachs has a massive on-premise footprint, they heavily leverage AWS. You should expect questions on S3, IAM roles for data security, EMR, or managed Kafka (MSK).
How do I prepare for the Spark optimization questions?
Focus heavily on understanding the Spark UI, the DAG, shuffle partitions, and memory management—specifically executor memory versus overhead. You'll also want to review techniques for handling data skew and broadcast joins.
More Goldman Sachs interview guides
- How to Pass the Goldman Sachs Software Architecture Interview
- How to Pass the Goldman Sachs Quant Strat Interview
- Passing the Goldman Sachs Software Engineering Practices Interview
- How to Pass the Goldman Sachs Behavioral Interview
- How to pass the Goldman Sachs CoderPad interview
Related comparisons
See AcePromptAI in action
Watch how AcePromptAI supports a real technical round - structured answers, tuned to your resume, in real time.
Navigate complex system design rounds with AcePrompt's real-time AI copilot guiding your answers.
Get started