Interview practice question
Bad records breaking a pipeline
Data Engineering · Databricks · Intermediate
A declarative pipeline keeps failing because of a few bad records from the source. The business wants the pipeline to continue but keep track of bad data. What do you do?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Use expect_or_drop for rules where bad rows can be excluded.
- Keep counts in the event log for monitoring.
- Write bad records to a quarantine table using inverse logic.
- Use expect_or_fail only for critical rules.
- Alert when failure rates cross thresholds.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.