Goldman Sachs Data Engineering interview questions
based on 1 rating - Updated Apr 6, 2025
Difficultinterview difficulty
Very positiveinterview experience
How others got an interview
100%
Applied online
Applied online
Interview search
1 interviews
Goldman Sachs interviews FAQs
Data Engineering applicants have rated the interview process at Goldman Sachs with 4 out of 5 (where 5 is the highest level of difficulty) and assessed their interview experience as 100% positive. To compare, the company-average is 60.1% positive. This is according to Glassdoor user ratings.
Common stages of the interview process at Goldman Sachs as a Data Engineering according to 1 Glassdoor interviews include:
Group panel interview: 100%
Here are the most commonly searched roles for interview reports -
I applied online. I interviewed at Goldman Sachs (United, WV) in Apr 2025
Interview
The experience pushed me to think beyond just tools and queries. Every question was designed to test not just what I knew, but how I applied it in high-scale, real-time environments.
Interview questions [1]
Question 1
📝 Round 1: SQL & Data Manipulation
The first round was all about SQL performance, data transformations, and query optimizations.
1️⃣ “Write a query to find the top 3 customers with the highest transaction volume in the last 90 days. Optimize it for a billion-row table.”
2️⃣ “You have a table with duplicate records. Write an efficient query to remove duplicates while keeping the latest record based on timestamp.”
3️⃣ “How would you pivot rows into columns in SQL and vice versa?”
4️⃣ “Explain the difference between ROW_NUMBER, RANK, and DENSE_RANK. When would you use each?”
5️⃣ “You need to join two large tables with billions of rows. How do you minimize shuffle and optimize performance?”
⚙️ Round 2: System Design & Pipeline Architecture
6️⃣ “Design a data pipeline to ingest, process, and store 100 million events per day. Ensure it can handle spikes during peak hours.”
7️⃣ “How would you ensure data consistency between Kafka and a downstream data lake?”
8️⃣ “If one stage of your ETL pipeline fails, how would you ensure no data loss and reprocess only the failed records?”
9️⃣ “Design a pipeline that supports both batch and streaming ingestion for real-time analytics.”
🔟 “How would you partition a table in a data warehouse to optimize query performance for time-series data?”
🐍 Round 3: Python & Data Engineering Code
1️⃣1️⃣ “Write a Python script to read data from an S3 bucket and load it into a PostgreSQL database efficiently.”
1️⃣2️⃣ “How would you handle schema evolution dynamically while processing JSON data from Kafka?”
1️⃣3️⃣ “Given a PySpark DataFrame with billions of rows, how would you calculate running totals without introducing a shuffle?”
1️⃣4️⃣ “Write a Python function to detect anomalies in streaming data and alert based on dynamic thresholds.”
1️⃣5️⃣ “How would you implement deduplication logic in a PySpark streaming pipeline?”
📡 Round 4: Troubleshooting & Performance Optimization
16. “Your Spark job is running out of memory. How do you diagnose and fix it?”
17. “You notice high consumer lag in a Kafka topic. How do you reduce lag without losing events?”
18. “A query that ran in seconds is now taking hours. What’s your step-by-step debugging approach?”
19. “How do you handle data skew in Spark? What are the best techniques for large joins?”
20. “If your ETL pipeline is processing duplicate records during a reprocessing event, how do you eliminate duplicates effectively?”