
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 where you can configure email notifications for job failures. 2. **Job owner notifications**: When you set up alerts in the Job page, you can specify email addresses to receive notifications when the job fails, succeeds, or times out. 3. **Centralized configuration**: This approach is centralized and doesn't require manual programming in each notebook cell. ### 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. - **C. Setting up an Alert in the Notebook**: Alerts are configured at the Job level, not at the Notebook level in Databricks. - **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. - **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 Jobs page in Databricks 2. Click on your job 3. Go to the "Settings" tab 4. Scroll to the "Notifications" section 5. Configure email alerts for "On failure", "On success", or "On timeout" This built-in feature ensures job owners are automatically notified when their jobs fail without requiring manual intervention or custom code.
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