
Answer-first summary for fast verification
Answer: Canary deployment
Canary deployment is the best strategy in this scenario because it allows the new version to be rolled out incrementally to a small subset of users first. This minimizes the number of users affected if issues arise, as only the initial subset (e.g., 1-5% of traffic) is exposed. If problems are detected, the deployment can be halted or rolled back before affecting the entire user base. Blue/green deployments (A) switch all traffic at once, risking widespread impact if issues occur. Rolling deployments (C) replace instances incrementally but lack precise traffic control, potentially exposing more users over time. Recreate deployments (D) cause downtime and affect all users, making them unsuitable.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You have an application running in production. When deploying a new version, some issues only surface after the application receives live user traffic. You want to minimize both the impact and the number of affected users.
Which deployment strategy should you use?
A
Blue/green deployment
B
Canary deployment
C
Rolling deployment
D
Recreate deployment
No comments yet.