Configuring automatic restarts for jobs and pipelines
Azure Databricks Jobs support automatic retries so transient failures in tasks or job runs don't require manual intervention. You configure retry behavior at the task level (or job level for scheduled jobs) by specifying the number of retry attempts and an optional delay between retries. This helps ensure pipeline reliability without building custom retry logic.
1 · Learn the must-know
- Retries are configured per task in the Jobs UI or via the Jobs API using the '
max_retries' and 'min_retry_interval_millis' properties. - Setting '
max_retries' to -1 enables unlimited retries, which should be used cautiously since it can mask persistent failures and increase compute costs. - You can enable '
retry_on_timeout' so that a task automatically retries if it fails due to exceeding its configured timeout. - Delta Live Tables (DLT) pipelines have built-in automatic retry and recovery logic for pipeline runs and updates, distinct from Jobs task retry settings.
- Retries apply to task failures, not to successful tasks that produce incorrect results, so retry logic won't fix logic or data quality errors.
- For multi-task jobs, you can configure retries independently per task, allowing critical tasks to have more retry attempts than less critical ones.
2 · Check your understanding
A data engineer configures an Azure Databricks job with a single task that occasionally fails because of a transient upstream connectivity issue. The engineer wants the task to automatically retry up to 3 times, waiting at least 2 minutes between attempts, before the run is marked as failed. Which task setting should the engineer configure?
What you have tried across DP-750's objectives, not a readiness score.
Set up and configure an Azure Databricks environment15-20% of the exam0 of 13 tried
Secure and govern Unity Catalog objects15-20% of the exam0 of 12 tried
Prepare and process data30-35% of the exam0 of 28 tried
Deploy and maintain data pipelines and workloads30-35% of the exam0 of 24 tried
3 · Keep going
Ready for more? Take a weighted mock or try free practice questions.