All jobs / Data engineer / Data Lakes
Data engineer interview question · 1–3 years
Time travel is on and storage doubled. What do you set?
The strongest answer
A retention that matches how far you actually restate — I do not keep “forever, just in case” and I do not vacuum yesterday if last week’s backfill still needs it
Why it works
Exactly. Retention is a product of restatement. Forever and zero are ideologies.
What a good answer covers
- Retention = restatement window.
- Not forever.
- Do not vacuum inside that window.
- Not zero as a personality.
Answers that fall short
- Close, but not the strongest: Forever; storage is the cloud’s problem
Cloud bills arrive. - Weak: Zero; time travel is a fad
Time travel is how you undo a bad merge — if you need it. - Red flag: A different number per intern
Per-intern is folklore.
Who gets asked this
More Data Lakes questions
- Bronze / silver / gold is on the slide. What makes it real?
- BI wants to query Parquet files in the lake. External table over the files, or load them into the warehouse?
- What must stay true so you can rebuild gold from 90 days ago?
- Why bother with a table format (Iceberg/Delta/Hudi) instead of a pile of Parquet?
- How do you implement erasure in a lake that time-travels?
- Streaming writes leave a trail of tiny files. What do you schedule?
- Spark, a SQL engine and the BI tool each keep their own idea of which tables exist in the lake, and they…
- After a merger you have two lakes. How do you close it?