
Answer-first summary for fast verification
Answer: Implement a canary deployment to gradually introduce the new version to a small subset of users.
Canary deployment is the correct choice because it allows for a partial rollout of the new version to a limited group of users, enabling performance evaluation against the current version without widespread impact in case of failure. Options B and D (Blue/Green and Red/Black deployments) involve switching all traffic to the new version at once, which could affect all users if the new version fails. Option C (Rolling update) gradually updates instances, but the impact increases as more instances are updated, potentially affecting more users over time. References: - [Canarying Releases](https://sre.google/workbook/canarying-releases/) - [Application Deployment and Testing Strategies](https://cloud.google.com/architecture/application-deployment-and-testing-strategies)
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As a member of an on-call SRE team overseeing a frontend web service application in production, you're tasked with testing a new version of the application that offers an HTTP-based API for data manipulation. The goal is to minimize the impact on users in case the new version fails. Which deployment strategy best meets this requirement?
A
Implement a canary deployment to gradually introduce the new version to a small subset of users.
B
Use a Blue/Green deployment strategy to switch all traffic from the old version to the new version at once.
C
Apply a Rolling update deployment method to update instances incrementally until all are running the new version.
D
Opt for a Red/Black deployment strategy, similar to Blue/Green, where only one version is live at any time.
No comments yet.