Stakeholders must be told when a drift metric exceeds a threshold. How do you set that up?
- Exam domain
- MLOps44% of the exam
- Difficulty
- Medium
- In this mock
- 22 questions on this domainPractise this domain
Why the exam asks this
Objective in the exam guide: Design and configure alerting mechanisms to notify stakeholders when drift metrics exceed predefined thresholds.
Alerting on drift thresholds is named.
Why B is the answer
Create a Databricks SQL alert on the drift metrics table with the threshold and notification destinations
SQL alerts query the metric tables on a schedule and notify destinations such as email or Slack when a condition is met.
Remember: SQL alerts on metric tables.
How it works
Metric tables plus SQL alerts give automated notification.
In detail
- SQL alert on metric table.
- Notification destinations.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Ask stakeholders to check the dashboard every morning and decide for themselves whether drift is too high todayWrongMost tempting
Manual checks get skipped.
Why it tempts: Dashboards feel like monitoring.
B. Create a Databricks SQL alert on the drift metrics table with the threshold and notification destinationsRight
SQL alerts on metric tables.
C. Print a warning in the training notebookWrong
Notebook prints reach no one.
D. Rename the table when drift is highWrong
Renaming signals nothing.
Use case
An illustrative scenario, not a real incident.
Illustrative: a PSI above 0.25 on income notifies the model owner on Slack.
See it in different ways
sequenceDiagram participant P0 as Drift metrics table participant P1 as SQL alert participant P2 as Stakeholders P1-->>P0: scheduled query P1->>P2: notify when above threshold
How to read this chart
- 1. Drift metrics table gets a reply from SQL alert: "scheduled query".
- 2. SQL alert sends "notify when above threshold" to Stakeholders.
stateDiagram-v2 state "OK" as s0 state "Triggered" as s1 [*] --> s0 s0 --> s1: metric above threshold s1 --> s0: metric back below
How to read this chart
- It starts at "OK".
- From "OK", "metric above threshold" moves it to "Triggered".
- From "Triggered", "metric back below" moves it to "OK".