Data Engineer Interview Guide with Questions and Prep Plan
How the data engineer interview works, the pipeline design, coding and SQL skills it scores, 9 practice questions with strong-answer notes and a 7-day plan.
Updated
A data engineer interview tests whether you can move data from source systems into reliable tables at scale, and keep it correct when sources are late, duplicated or change shape without warning. Expect a coding round on Python or SQL transformations, a pipeline design round on batch, streaming, backfills and data quality, a data modelling discussion and a behavioural interview.
What the job really is#
Data engineers own the path data takes from where it is produced to where it is used: ingestion from files, APIs, databases and streams, transformations that clean and deduplicate, orchestration that retries safely, and the checks that tell you a table is wrong before finance does.
The hard part is rarely the happy path. It is the record that arrives three days late, the column renamed overnight, the job retried after failing halfway. Interviewers probe these cases because that is where pipelines break.
Our practice interviews are set at Ironvale Energy, a fictional electricity supplier with millions of smart meters that each send a reading every half-hour. Those readings feed billing, time-of-use tariffs, daily settlement deadlines and a customer app, which makes late data and clock changes matter.
What the data engineer interview process looks like#
A typical loop has a recruiter screen, a coding or SQL screen, then a final round with pipeline design, data modelling, more coding and a behavioural interview. Coding leans towards data manipulation rather than algorithm puzzles.
Our practice papers condense that into one session with an AI voice interviewer and live coding in the browser:
- 30 minutes: introductions (2), your pipelines (4), live coding (13), pipeline design (8), your questions (2), wrap-up (1).
- 45 minutes: introductions (2), your pipelines (5), live coding (18), pipeline design (11), a short SQL and streaming fundamentals round (5), your questions (3), wrap-up (1).
- 60 minutes: the full loop, with a behavioural round (5), live coding (18), pipeline design (10), a data quality incident (8), data modelling (7) and a stakeholder conversation (6), plus questions and wrap-up.
Read more about how the practice interviews work.
Skills scored and how they are weighted#
Each skill gets a level of Not yet, Developing, Hire-ready or Standout, with quotes from what you said as evidence. Data pipelines and coding are must-haves: both need Hire-ready for an overall yes.
- Data pipelines (must-have, 20%): idempotent loads, late data, backfills, schema changes and monitoring.
- Coding (must-have, 15%): working Python that passes hidden tests.
- System design (15%): choosing batch or streaming, storage and orchestration for real needs.
- Data wrangling (10%): validating, deduplicating and normalising messy inputs.
- SQL (10%): window functions, joins that don't fan out, and reading a query critically.
- Data modelling (10%): grain, keys and history that changes over time.
- Reliability and operations (10%): data quality checks, incidents and recovery.
- Communication (10%): explaining trade-offs to engineers and non-engineers.
Data engineer interview questions to practise#
We wrote these for this guide. They show the style of question, not the content of any paper.
Pipeline and system design#
- Design ingestion for mobile app click events into a warehouse that powers hourly dashboards. A strong answer asks about volume and freshness first, lands raw events unchanged, deduplicates on an event ID and partitions by event time, not arrival time.
- A source table has no updated-at column. How do you load it incrementally? A strong answer weighs change data capture against snapshots compared by hash, and names the cost of each.
- You need to backfill two years of a table while the daily job keeps running. How? A strong answer backfills by date range with idempotent overwrites, avoids clashing with the live job, and checks counts before and after.
Streaming and reliability#
- What is the difference between event time and processing time, and when does it matter? A strong answer uses an example, such as a phone reconnecting after a flight, and explains windows, watermarks and very late events.
- Your daily job succeeded, but today's row count is 30% lower than usual. What do you check? A strong answer breaks the drop down by source, checks for quarantined rows, and asks why the job still succeeded.
SQL and modelling#
- Deduplicate a table where the same order appears several times with different statuses, keeping the latest. A strong answer uses
ROW_NUMBERover the order key with an explicit tie-breaker, and says what "latest" means when two rows share a timestamp. - How would you keep a customer's address history so old orders show the address at the time? A strong answer describes effective-dated rows (a type 2 slowly changing dimension) with half-open date ranges and a current flag.
Behavioural#
- Tell me about a time you pushed back on a request for real-time data. A strong answer finds the decision the data supports and shows a cheaper batch schedule meets it.
- Describe an upstream change you didn't see coming. How did you recover? A strong answer covers detection, repairing the data as well as the code, and the check added afterwards.
The live coding round#
The exercise is in Python: cleaning a stream of late, duplicated, out-of-order smart meter readings, deciding which version of each reading wins, and filling short gaps without pretending they are real readings. The longer papers add a second part: merging new batches into a stored table safely enough to run twice. Hidden tests check edge cases when you submit.
How to talk while coding:
- State the key of a record before you write anything, and the rule for which version wins.
- Say how you handle time zones. Convert to UTC once, at the edge, rather than comparing strings.
- Skip and count bad rows rather than crashing the run.
- Keep the work linear: one pass into a dictionary, then one walk over the output. Mention the complexity.
Common mistakes#
- Appending on every run, so a retry doubles the data.
- Partitioning by arrival date, so late records land in the wrong day.
- Trusting a green job status without checking completeness.
- Writing separate logic for streaming and batch, so the two disagree.
- Fixing the code after an incident but not the data it already corrupted.
A one-week prep plan#
- Day 1: revise idempotency, partition overwrites and merge or upsert patterns, and write one of each.
- Day 2: practise Python transformations with dictionaries, sorting and
datetimewith time zones. - Day 3: revise SQL window functions, deduplication and joins on date ranges.
- Day 4: sketch two pipeline designs aloud, one batch and one streaming, covering late data, backfills and checks.
- Day 5: take the 30-minute practice paper and read the scorecard quotes.
- Day 6: prepare three stories: a pipeline you owned, an incident, and a disagreement with a stakeholder.
- Day 7: take the 60-minute paper, including the incident, modelling and stakeholder rounds.
When you are ready, practise the Data Engineer interview and get scored on pipelines, coding and the rest of the skills above.
Frequently asked questions#
What questions are asked in a data engineer interview?#
Expect a coding round on Python or SQL transformations, a pipeline design round covering ingestion, batch versus streaming, backfills and data quality, a data modelling discussion on grain and history, and behavioural questions about incidents and stakeholders. Interviewers care most about whether your pipelines stay correct when data is late, duplicated or changes shape.
Is the data engineer interview mostly SQL?#
SQL matters and often appears in the first screen, but most loops also test Python, pipeline design and modelling. You may be asked to review a query rather than write one from scratch, so practise spotting fan-out joins, wrong window ordering and date-range mistakes as well as writing clean queries.
How is a data engineer interview different from an analytics engineer one?#
Analytics engineer interviews focus on modelling data for analysts and defining metrics. Data engineer interviews go further upstream: ingestion, orchestration, streaming, idempotent loads, backfills and the reliability of data at scale. There is overlap in SQL and modelling, but pipeline design and operations carry much more weight for data engineers.
What does idempotent mean in a data pipeline interview?#
An idempotent job gives the same result whether it runs once or several times on the same input. Interviewers ask because retries and reruns are routine. Typical answers are overwriting whole partitions for a date range, or merging on a natural key so a repeated record replaces itself instead of creating a duplicate.
How long are the practice interviews?#
Three papers run for 30, 45 and 60 minutes. Each covers your experience, live Python coding in the browser and a pipeline design problem, and the longer papers add fundamentals, an incident, data modelling and a stakeholder conversation. You can start a Data Engineer practice interview at whichever length suits you.