Challenge - 5 Problems
Canary Deployment Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
What is the main purpose of a canary deployment?
Imagine you have a new version of a microservice. You want to release it carefully to avoid breaking the whole system. What is the main goal of using a canary deployment?
Attempts:
2 left
💡 Hint
Think about reducing risk by limiting exposure.
✗ Incorrect
Canary deployment releases the new version to a small subset of users first. This helps detect issues early before affecting everyone.
❓ Architecture
intermediate2:00remaining
Which component is essential for routing traffic in a canary deployment?
In a microservices system using canary deployment, which component is responsible for directing a portion of user requests to the new version while the rest go to the stable version?
Attempts:
2 left
💡 Hint
Think about how requests are distributed.
✗ Incorrect
A load balancer that supports traffic splitting can route some requests to the new version and others to the stable version, enabling canary deployment.
❓ scaling
advanced2:00remaining
How should you scale the canary version during deployment?
You start a canary deployment by sending 5% of traffic to the new version. Over time, you want to increase this percentage. What is the best practice for scaling the canary version?
Attempts:
2 left
💡 Hint
Think about risk and feedback.
✗ Incorrect
Gradually increasing traffic allows detecting problems early and reduces risk. Monitoring metrics ensures stability before full rollout.
❓ tradeoff
advanced2:00remaining
What is a tradeoff when using canary deployment compared to blue-green deployment?
Canary and blue-green deployments are both strategies to release new versions. What is a key tradeoff when choosing canary deployment over blue-green?
Attempts:
2 left
💡 Hint
Consider risk exposure and release speed.
✗ Incorrect
Canary deployment reduces risk by exposing a small group first but takes more time to complete rollout compared to blue-green which switches all users at once.
❓ estimation
expert2:00remaining
Estimate the number of users affected during a canary deployment with 10 million daily users and 1% canary traffic
Your service has 10 million daily active users. You deploy a new version using canary deployment, routing 1% of traffic to it. How many users will experience the new version daily?
Attempts:
2 left
💡 Hint
Calculate 1% of 10 million.
✗ Incorrect
1% of 10 million is 100,000 users who will see the canary version daily.