A notebook task has a 30-minute timeout and three retries configured. Last night one attempt hung on a stuck external call, Databricks marked the task Timed Out after 30 minutes, and no retry was attempted. The data engineer wants a hung attempt to be retried in the same way as a failed one. What should they change?
Choose one.
Retries and timeouts are separate task settings; a timeout triggers a retry only when retry on timeout is enabled.
The task did have retries, yet none ran, which tells you the retry policy does not cover timeouts by default. Enabling retry on timeout treats a timed-out attempt like a failed one and starts the next attempt. A longer timeout or a job-level timeout changes when the run is stopped but not whether it retries, and the retry interval only spaces out retries that already apply.
- Note that retries exist but did not fire after a timeout.
- Recall that timeouts are not retried unless retry on timeout is on.
- Enable that option on the task's retry policy.
- Reject options that only change timing or the job-level limit.
Exam tip: A timed-out task is retried only when retry on timeout is enabled.
Lakeflow Jobs Tasks, Dependencies and Control Flow: Retries, Run If, If/Else and For Each (Databricks Data Engineer Associate) — the lesson that teaches this.