Interview practice question
Late data and idempotency with microbatch
Data Engineering · dbt · Experienced
Events can arrive up to 3 days late. How do you set up a microbatch model so results stay correct and reruns are safe?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Set event_time on the model and its upstream inputs.
- Use batch_size day and lookback of 3 so recent batches reprocess.
- Each batch replaces its own time slice, so reruns are idempotent.
- Event time must be the business time, and inputs need event_time for auto filtering.
- Monitor how late data actually arrives and adjust lookback.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.