0
0
Microservicessystem_design~5 mins

Canary deployment in Microservices - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a canary deployment?
A canary deployment is a way to release a new version of software to a small group of users first. This helps check if the new version works well before giving it to everyone.
Click to reveal answer
beginner
Why use canary deployments in microservices?
Canary deployments reduce risk by testing new changes on a small part of the system. If problems happen, only a few users are affected, making it easier to fix.
Click to reveal answer
intermediate
How does traffic routing work in canary deployments?
Traffic routing sends a small percentage of user requests to the new version while the rest go to the old version. This split helps monitor the new version's performance safely.
Click to reveal answer
intermediate
What metrics should be monitored during a canary deployment?
Important metrics include error rates, response times, system load, and user experience feedback. Monitoring these helps decide if the new version is stable.
Click to reveal answer
intermediate
What is the difference between canary deployment and blue-green deployment?
Canary deployment releases new software to a small group gradually, while blue-green deployment switches all users from old to new version at once using two separate environments.
Click to reveal answer
What is the main goal of a canary deployment?
ATest new software on a small user group before full release
BDeploy software to all users at the same time
CKeep two versions running without traffic splitting
DRollback software without monitoring
In canary deployment, how is user traffic typically handled?
ATraffic is split between old and new versions
BAll traffic goes to the new version immediately
CTraffic is stopped during deployment
DTraffic is routed randomly without control
Which metric is NOT commonly monitored during canary deployment?
AResponse times
BNumber of developers
CUser feedback
DError rates
What happens if the canary deployment shows problems?
AThe old version is deleted immediately
BThe new version is released to all users
CThe new version is rolled back
DNo action is taken
Which deployment strategy switches all users at once between two environments?
ACanary deployment
BA/B testing
CRolling deployment
DBlue-green deployment
Explain how canary deployment helps reduce risk during software releases.
Think about how testing on few users first can protect the whole system.
You got /4 concepts.
    Describe the key differences between canary deployment and blue-green deployment.
    Focus on how users experience the new version in each strategy.
    You got /3 concepts.