All jobs / Data engineer / ETL / ELT
Data engineer interview question · 0–1 years
A daily load ran twice. What must still be true?
The strongest answer
The table matches one run — merge, replace a partition, or exactly-once keys — I do not append blindly and call it “more complete”
Why it works
Exactly. Idempotent loads. More rows are not more truth. Disabling retries just fails the day.
What a good answer covers
- One run or two = same table.
- Replace a partition or merge on keys.
- Do not blind-append.
- Do not turn off retries instead.
Answers that fall short
- Close, but not the strongest: Twice the rows, which is safer
Double is a bug. - Weak: I will delete by hand when I notice
Hands are not a merge key. - Red flag: I disable retries so it cannot happen
Retries are how you survive; idempotence is how you survive twice.
Who gets asked this
More ETL / ELT questions
- Events from Sunday arrive Tuesday. What do you not do?
- A load of a million rows has forty rows whose date does not parse. What do you do with them?
- When is MERGE / upsert the right load?
- What is CDC for, versus a nightly dump?
- You need to reload 90 days. What do you not do?
- An incremental load pulls rows where updated_at is greater than the last run’s maximum. Where does it lose…
- A backfill and the daily job write the same partition. What do you require?
- A new optional column appears in JSON events. How do you evolve the table?