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 Scenario: warehouse revenue is 4% higher than the payment provider's settlements. How do you investigate?

    Reconcile day by day to localise the gap, then test the usual causes: join fan-out (order totals joined to lines or payments), duplicate events or rows from retries and reruns, refunds and…

  2. Most asked Scenario: a nightly job ran successfully but the dashboard shows zero sales for yesterday. What happened and how do you prevent it?

    Likely an empty or partial input (empty export, upstream outage), a renamed or missing column loaded as NULL, or a filter/date bug. Prevent it with volume and freshness monitors, schema and not-null…

  3. Most asked Scenario: two dashboards show different numbers for the same metric. What do you do?

    Trace both metrics through lineage to their definitions: different filters (cancelled orders, test accounts), grains, time zones or date bases, refresh times, or fan-out bugs. Agree one definition…

  4. Scenario: you must move a nightly full-copy pipeline to 5-minute freshness. How do you approach it?

    Use log-based CDC from the source database into a landing area, merge changes into current-state tables every few minutes (micro-batch), handle deletes, keep batch for tables that don't need…

  5. Yesterday's dashboard numbers are double what they should be. How do you investigate?

    Suspect duplicates first: a job that ran twice and appended instead of replacing, a retried batch, a join that multiplied rows (a dimension with duplicate keys), or late-arriving data counted twice.…

  6. Scenario: a dashboard query is slow and expensive. How do you optimise it?

    Check the query plan and bytes scanned; make it filter on the partition column directly, select only needed columns, cluster by common filters, pre-aggregate into a small table updated by the…

  7. Scenario: a customer asks to be deleted. How does your data platform comply?

    A deletion job removes or anonymises the person's row in the restricted identity table (breaking the link from pseudonymous keys), propagates deletes to tables that hold personal data (found via…

Was this page helpful?

Report a mistake