Data engineer interview questions and answers
Data engineering interviews focus on how you move, model and protect data at scale. Expect SQL, pipeline design and questions about data quality, plus behavioral questions about working with analysts and scientists.
Technical questions
- What is the difference between ETL and ELT? — What they're looking for: understanding of modern stacks. Strong answer outline: ETL transforms before loading; ELT loads raw data into the warehouse and transforms there, taking advantage of scalable warehouse compute; explain when each fits.
- Explain star schema and when you would use it. — What they're looking for: data modeling skills. Strong answer outline: a central fact table of events or measurements linked to dimension tables; good for analytics queries; mention slowly changing dimensions.
- How do you make a pipeline idempotent? — What they're looking for: reliability thinking. Strong answer outline: design runs so repeating them gives the same result, using partition overwrites or merge/upsert on keys, and avoid blind appends.
- Batch versus streaming: how do you choose? — What they're looking for: trade-offs. Strong answer outline: streaming suits low-latency needs but adds complexity; batch is simpler and cheaper; decide based on how fresh the data really needs to be.
Behavioral questions
- Tell me about a pipeline failure you fixed. — What they're looking for: debugging and prevention. Strong answer outline: impact, how you detected and traced it, the fix, and monitoring or tests you added.
- Describe working with analysts who needed data quickly. — What they're looking for: balancing speed and quality. Strong answer outline: understand the use case, deliver a scoped first version, document caveats, then harden it.
- Tell me about a time you improved data quality. — What they're looking for: ownership. Strong answer outline: the problem, the checks you introduced, how you handled bad records, and the result for downstream users.
Situational questions
- A daily job that used to take 20 minutes now takes three hours. What do you check? — What they're looking for: systematic performance work. Strong answer outline: data volume growth, skewed partitions, changed queries, missing filters on partitions, and resource contention.
- An upstream team changes a column type without notice. How do you prevent the next incident? — What they're looking for: process and tooling. Strong answer outline: schema validation, data contracts or agreed change processes, alerts on schema drift, and clear communication channels.
Questions to ask the interviewer
- What does the current data stack look like?
- How are data quality issues detected and owned?
- Who are the main consumers of the data this team produces?
How to prepare
- Practice SQL: joins, window functions, aggregations and query optimization.
- Be able to design a pipeline on a whiteboard, from source to dashboard.
- Review data modeling concepts, partitioning and file formats such as Parquet.
- Prepare examples of orchestration, testing and monitoring you have set up.
- Brush up on the languages listed in the posting, often Python or Scala.
Sample answer: "Tell me about a pipeline failure you fixed"
A STAR answer showing root cause analysis and prevention.
Situation: Finance noticed that revenue figures in their dashboard were higher than the billing system for the previous week. Task: I owned the pipeline feeding that dashboard and needed to find the cause and correct the numbers. Action: I compared row counts by day and found duplicated records on days when the job had been retried after a timeout. The load step appended data instead of replacing the partition. I changed it to overwrite each daily partition so reruns were idempotent, backfilled the affected days, and added a check that compared totals against the billing source after every run. Result: The dashboard matched billing again the same day, and the new check caught an unrelated upstream issue a month later before anyone used the bad data.
Frequently asked questions
How much SQL is in a data engineer interview?
Usually a lot. Expect at least one round of SQL questions, often including window functions and performance discussion.
Do data engineers get system design questions?
Yes. You may be asked to design a pipeline or data platform, covering ingestion, storage, transformation, orchestration and monitoring.
What languages should I know?
SQL plus one general-purpose language, most commonly Python. Some teams use Scala or Java with distributed processing frameworks.