1. A data engineering team has a workflow with a task that calls an external REST API. The API is occasionally unavailable for short periods, causing the task to fail. The team wants the task to retry up to 3 times with a 5-minute wait between attempts before marking the run as failed. Where in the Databricks Workflow UI should this be configured?
- A. In the cluster policy attached to the job cluster, setting a retry policy with backoff
- B. In the individual task's settings within the workflow, specifying the maximum retries and retry interval✓ Correct
- C. In the workflow-level settings under 'Advanced', enabling auto-retry for all tasks globally
- D. In the Databricks runtime environment variables, setting DATABRICKS_RETRY_MAX and DATABRICKS_RETRY_INTERVAL
Explanation
Option B is correct: Databricks Workflows allows retry configuration (maximum number of retries and the interval between retries) to be set at the individual task level within the workflow UI, giving granular control per task. Option A is incorrect because cluster policies govern cluster configuration (instance types, autoscaling, etc.) and do not contain retry logic for tasks. Option C is incorrect because Databricks Workflows does not have a single global retry setting that applies to all tasks; retries are configured per task. Option D is incorrect because there are no standard Databricks environment variables that control task-level retry behavior in Workflows; this would not have any effect.