Interview Q&A · questions with model answers

Data Engineering Interview Questions

Part of the study plan for: Data Engineer · Machine Learning Engineer

Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.

  1. Most asked How do you implement incremental extraction, and what can go wrong?

    Track a watermark (for example the highest updated_at loaded) and extract rows newer than it. It can miss rows from transactions that commit after the extract with an older timestamp, rows with…

  2. Most asked How do you deduplicate events, and what does 'exactly-once' really mean?

    Require a producer-assigned unique event ID and keep one row per ID, for example with ROW_NUMBER() OVER (PARTITION BY event_id ORDER BY received_at) = 1 or a MERGE keyed on the ID. 'Exactly-once' in…

  3. Most asked How do you monitor data pipelines beyond job success?

    Monitor the data: freshness (age of newest data against an SLO), volume (rows versus history and day-of-week patterns), completeness and distributions (null rates, key metrics), schema changes, and…

  4. How do you run a safe backfill of two years of data?

    Make tasks partition-scoped and idempotent (each run overwrites one day), run the backfill through the orchestrator so runs are tracked and can't overlap with scheduled jobs, limit concurrency so…

  5. How do you make sure readers never see a half-loaded table?

    Build the new data in a staging table or partition, validate it, then publish atomically: a transactional swap or rename, a partition exchange, or a table-format snapshot commit. If anything fails,…

  6. How would you reduce a data platform's warehouse bill?

    Find the top-cost queries and pipelines (tag queries by model and team), make large models incremental, schedule models by their real freshness needs, partition and cluster big tables, stop SELECT *…

  7. How do you handle late-arriving and out-of-order events in a streaming pipeline?

    Process by event time, not arrival time, use watermarks to decide how long to wait for late events, allow a lateness window in which results are updated, and route events that arrive after it to a…

Was this page helpful?

Report a mistake