
Answer-first summary for fast verification
Answer: Setting up an Alert in the Job page
## Explanation The correct answer is **B. Setting up an Alert in the Job page**. ### Why this is correct: 1. **Job-level alerts**: Databricks provides built-in alerting capabilities at the Job level, allowing you to configure email notifications for various job states including failure. 2. **Job page configuration**: You can set up alerts directly in the Job configuration page under the "Notifications" section. 3. **Automated notification**: This approach automatically sends notifications to the job owner when the job fails, without requiring manual programming. ### Why other options are incorrect: - **A. Manually programming in an alert system in each cell of the Notebook**: This is inefficient and error-prone. While technically possible, it's not the recommended approach as Databricks provides built-in alerting features. - **C. Setting up an Alert in the Notebook**: Alerts are configured at the Job level, not the Notebook level. Notebooks don't have built-in alerting features for job failures. - **D. There is no way to notify the Job owner in the case of Job failure**: This is incorrect - Databricks provides multiple ways to notify job owners of failures. - **E. MLflow Model Registry Webhooks**: This is for MLflow model lifecycle events, not for job failure notifications. ### How to set up job alerts in Databricks: 1. Navigate to the Job configuration page 2. Go to the "Notifications" section 3. Add email addresses to receive notifications 4. Configure which events trigger notifications (e.g., job start, success, failure) 5. Save the job configuration This built-in feature ensures reliable, centralized alerting without the need for custom code in notebooks.
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