Ground truth labels for a churn model arrive two weeks after each prediction. You want to track the model's precision and recall in production over time. What do you set up?
- Exam domain
- Implement machine learning model lifecycle and operations25–30% of the exam
- Difficulty
- Hard
- In this mock
- 22 questions on this domainPractise this domain
Why the exam asks this
Objective in the exam guide: Monitor performance metrics of models deployed to production.
Drift says something changed; performance says whether it matters. The exam checks you know what performance monitoring needs.
Why C is the answer
Model performance monitoring that joins predictions with the ground truth data
Model performance monitoring computes metrics such as precision and recall by comparing collected predictions with ground truth once it arrives.
Remember: Accuracy-type metrics in production need ground truth joined to predictions.
How it works
Model performance monitoring measures metrics such as accuracy, precision and recall in production.
It needs ground truth: the real outcome for each prediction, joined by an ID.
Because labels often arrive late, it is paired with drift monitoring, which needs no labels.
Clues in the question
The words that point to the answer, and what each one tells you.
- Precision and recall in production
- Performance monitoring.
- Labels arrive two weeks later
- Join them when they arrive.
In detail
- Collect production inference data so predictions can be matched to labels later.
- Drift monitoring is still useful as an early warning before labels arrive.
Side by side with look-alikes
| Monitor | Needs labels? | Tells you |
|---|---|---|
| Model performance monitoring with ground truth | Yes | Actual precision and recall |
| Data drift | No | Inputs changed |
| Prediction drift | No | Outputs changed |
| Endpoint metrics | No | Latency and errors |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A larger instance type for the endpointWrong
Instance size changes latency, not accuracy metrics.
B. Hyperparameter tuning on the production modelWrong
Tuning trains new models; it does not measure the deployed one.
C. Model performance monitoring that joins predictions with the ground truth dataRight
Accuracy-type metrics in production need ground truth joined to predictions.
D. Data drift monitoring onlyWrongMost tempting
Drift detects input change; it cannot compute precision or recall.
Why it tempts: Drift monitoring is the standard production monitor and needs no labels. But it cannot compute precision or recall.
In practice
- Include a correlation ID in each logged prediction, so labels can be joined to it later.
Use case
An illustrative scenario, not a real incident.
A telecom joins predictions with churn outcomes weekly; recall drops from 0.78 to 0.61, which triggers retraining.
See how it works
flowchart LR
P["Logged predictions with correlation ID"] --> J["Join on correlation ID"]
G["Ground truth arriving later"] --> J
J --> M["Precision and recall per week"]
M --> A{"Below threshold?"}
A -->|Yes| AL["Alert or retrain"]How to read this chart
- "Logged predictions with correlation ID" leads to "Join on correlation ID".
- "Ground truth arriving later" leads to "Join on correlation ID".
- "Join on correlation ID" leads to "Precision and recall per week".
- "Precision and recall per week" leads to "Below threshold?".
- At "Below threshold?": if "Yes", go to "Alert or retrain".