All jobs / Data engineer / Data Quality
Data engineer interview question · 3–5 years
A load finishes green every night. How do you know it is complete — that every source row arrived?
The strongest answer
Reconcile against the source: row counts and a checksum or sum of a key measure per partition, compared with the same figures from the source, with a tolerance and an alert — plus a check that expected partitions exist
Why it works
Exactly — completeness is a comparison to the source, not a look at the destination alone.
What a good answer covers
- Compare to the source, per partition.
- Counts and checksums, with tolerance.
- Expected partitions exist.
- Green is not complete.
Answers that fall short
- Close, but not the strongest: I check that today’s partition has roughly as many rows as yesterday’s
Yesterday is a proxy that misses a source outage on a busy day; compare to the source itself. - Weak: If the source connector reports success, the data is complete by definition
A connector’s success covers the rows it saw; it does not know what it did not fetch. - Red flag: Completeness is the source team’s job; if rows are missing they should tell us
Downstream owns what it publishes; “tell us” is the plan that fails in the quarter-end review.
Who gets asked this
More Data Quality questions
- How do contracts survive 40 producers?
- What does a quality program page besides “tests exist”?
- A 03:00 page fired because a test flaked on a volume check. What do you change?
- What does a feature pipeline owe a model besides columns?
- You will break a column on Thursday. What do you owe consumers besides a commit?
- What do you watch besides “DAG green”?
- How do you treat certified gold like an API?
- What do you take to the board about data, and what do you refuse to invent?