SOA-C02 Question 142
Single answerYour team is deploying a new version of a web application hosted on Amazon ECS using an Application Load Balancer (ALB). The goal is to minimize downtime and allow a portion of real traffic to be tested on the new version before fully rolling it out. Which deployment strategy should you use?
- A
Blue/Green Deployment
- B
Rolling Deployment
- C
Canary Deployment
- D
All-at-Once Deployment
Show answer and explanation
Correct answer: C
Explanation
Canary Deployment is the most suitable strategy for scenarios where you want to minimize risk by testing the new version with a small portion of real traffic before gradually rolling it out to all users. This aligns with the requirement in the question to minimize downtime and test with real traffic.
- A. Incorrect.
Blue/Green Deployment involves creating two separate environments (blue for the current version and green for the new version) and switching traffic entirely from one to the other. This does not match the requirement to test with only a portion of real traffic first.
- B. Incorrect.
Rolling Deployment gradually replaces old instances with new ones. While it minimizes downtime, it does not explicitly allow a portion of traffic to test the new version before full rollout.
- C. Correct.
Canary Deployment involves releasing the new version to a small subset of traffic initially and then gradually increasing the traffic to the new version, making it the best choice for testing with real traffic before full deployment.
- D. Incorrect.
All-at-Once Deployment replaces all instances with the new version simultaneously, leading to potential downtime and no opportunity to test with real traffic before the full rollout.