
Answer-first summary for fast verification
Answer: Setting up an Alert in the Job page
The correct approach is to set up an alert in the Job page. Databricks provides built-in job notification capabilities that allow you to configure email notifications for job failures, successes, or timeouts directly in the job configuration interface. This is the recommended and most efficient way to set up notifications for job failures. **Why other options are incorrect:** - **A**: Manually programming alerts in each cell is inefficient, error-prone, and violates DRY (Don't Repeat Yourself) principles. - **C**: Setting up alerts in the Notebook is not the primary method; job-level notifications are more appropriate. - **D**: This is incorrect as Databricks does provide notification capabilities. - **E**: MLflow Model Registry Webhooks are for model lifecycle events, not job failure notifications. **Reference**: [Databricks Job Notifications Documentation](https://docs.databricks.com/en/workflows/jobs/job-notifications.html)
Author: Keng Suppaseth
Ultimate access to all questions.
No comments yet.
Which of the following approaches should be used to send the Databricks Job owner an email in the case that the Job fails?
A
Manually programming in an alert system in each cell of the Notebook
B
Setting up an Alert in the Job page
C
Setting up an Alert in the Notebook
D
There is no way to notify the Job owner in the case of Job failure
E
MLflow Model Registry Webhooks