A team wants to compare a new model against the current one on real users, measuring business results, with traffic split between them. What should it use?
- Exam domain
- Operating, Monitoring, and Securing ML and AI Solutions24% of the exam
- Difficulty
- Medium
- In this mock
- 21 questions on this domainPractise this domain
Why the exam asks this
Task 4.1: Monitor ML and AI model inference and performance.
Objective in the exam guide: Skill 4.1.4: Monitor model performance in production by using A/B testing.
Offline metrics do not always predict business results. A/B testing on live traffic is how teams prove a new model helps.
Why C is the answer
Production variants with weighted traffic for an A/B test
Production variants split live traffic by weight, so each model's real-world results can be compared.
Remember: Measure real user outcomes of two models: A/B test with production variants.
How it works
A SageMaker endpoint can host several production variants and split traffic between them by weight.
Each variant serves real users, so business metrics such as click-through can be compared.
Shadow tests differ: users see only the current model, so they compare predictions, not user outcomes.
Clues in the question
The words that point to the answer, and what each one tells you.
- On real users, measuring business results
- Users must see both models.
- Traffic split
- Weighted production variants.
In detail
- A shadow test is for risk-free comparison; an A/B test measures real user outcomes.
- Pipeline and data-processing errors should be monitored alongside the test.
Side by side with look-alikes
| Method | Users see new model? | Measures |
|---|---|---|
| A/B with production variants | Some do | Business outcomes |
| Shadow test | No | Prediction quality, latency |
| Offline evaluation | No | Historical metrics |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Offline evaluation on last year's data onlyWrong
Offline data cannot show live user behavior.
B. Replacing the current model for everyoneWrong
Replacing for everyone removes the comparison.
C. Production variants with weighted traffic for an A/B testRight
Measure real user outcomes of two models: A/B test with production variants.
D. A shadow test, where users see only the current modelWrongMost tempting
In a shadow test users never see the new model, so user outcomes cannot be compared.
Why it tempts: Shadow tests also use live traffic, so they seem equivalent. But users never see the new model, so business results cannot be measured.
In practice
- Decide the success metric and test length before starting.
Use case
An illustrative scenario, not a real incident.
A team sends 10% of traffic to the new recommender and compares click-through for two weeks.
See how it works
flowchart LR U["Users"] --> E["Endpoint"] E -->|"90%"| A["Variant A: current"] E -->|"10%"| B["Variant B: new"] A --> M["Compare business metrics"] B --> M
How to read this chart
- "Users" leads to "Endpoint".
- At "Endpoint": if "90%", go to "Variant A: current"; if "10%", go to "Variant B: new".
- "Variant A: current" leads to "Compare business metrics".
- "Variant B: new" leads to "Compare business metrics".