Challenge - 5 Problems
Canary Release Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
Understanding Canary Release Purpose
Why is a canary release used when updating machine learning models in production?
Attempts:
2 left
💡 Hint
Think about minimizing risk when introducing changes.
✗ Incorrect
A canary release gradually exposes the new model to a small user group. This helps detect issues early without affecting all users.
💻 Command Output
intermediate2:00remaining
Interpreting Traffic Routing Command Output
You run a command to route traffic to the new model version in a canary release. What is the output of this command?
MLOps
kubectl rollout status deployment/model-v2
kubectl patch service model-service -p '{"spec":{"selector":{"version":"v2"}}}'Attempts:
2 left
💡 Hint
Check for success messages and correct patch syntax.
✗ Incorrect
The command confirms the new model deployment is ready and updates the service selector to route traffic to the new version.
🔀 Workflow
advanced3:00remaining
Correct Order of Canary Release Steps
Arrange the steps in the correct order for performing a canary release of a new ML model version.
Attempts:
2 left
💡 Hint
Think about deploying first, then routing traffic, then monitoring.
✗ Incorrect
The canary release starts by deploying the new version, then routing a small traffic portion, monitoring results, and finally adjusting traffic or rolling back.
❓ Troubleshoot
advanced2:00remaining
Identifying Issue in Canary Release Traffic Routing
After deploying a new model version with a canary release, users report no change in predictions. What is the most likely cause?
Attempts:
2 left
💡 Hint
If users see no change, check where traffic is going.
✗ Incorrect
If traffic routing is not updated, all user requests go to the old model, so predictions remain unchanged.
✅ Best Practice
expert2:30remaining
Best Practice for Canary Release Rollback
During a canary release, monitoring detects a significant drop in model accuracy. What is the best immediate action?
Attempts:
2 left
💡 Hint
When performance drops, safety first.
✗ Incorrect
Rolling back quickly to the stable version prevents poor user experience and allows time to fix the new model.