SOA-C02 Question 141
Single answerAn organization wants to deploy a new version of its web application hosted on Amazon ECS with minimal downtime while ensuring that only a small percentage of users are exposed to the new version initially. Which deployment strategy should the organization use?
- A
Rolling deployment
- B
Blue/green deployment
- C
Canary deployment
- D
All-at-once deployment
Show answer and explanation
Correct answer: C
Explanation
A canary deployment is the best strategy for this scenario because it allows the organization to deploy the new version with minimal downtime while exposing only a small percentage of users to the new version initially. This provides an opportunity to monitor the new version for any issues before rolling it out to all users.
- A. Incorrect.
In a rolling deployment, tasks are replaced incrementally, but this doesn’t allow for testing the new version with only a small percentage of users before the full rollout.
- B. Incorrect.
In a blue/green deployment, the new version is deployed to an entirely separate environment, and traffic is switched over all at once, which doesn’t meet the requirement to expose only a small percentage of users initially.
- C. Correct.
A canary deployment allows you to expose a small percentage of users to the new version initially and gradually increase the traffic to the new version, meeting the requirement of minimal downtime and controlled exposure.
- D. Incorrect.
An all-at-once deployment updates all tasks at once, causing downtime and exposing all users to the new version immediately, which doesn’t meet the requirement.