SAP-C02 Question 150
Single answerA company is migrating its monolithic application to a microservices architecture deployed on Amazon ECS. The company has strict business requirements to minimize downtime during deployment, ensure quick rollback in case of failures, and maintain service availability. As a Solutions Architect, what deployment strategy should you recommend?
- A
Blue/Green deployment using AWS CodeDeploy with ECS
- B
Rolling update with ECS Service Scheduler
- C
All-at-once deployment using ECS
- D
Canary deployment using AWS CodeDeploy with ECS
Show answer and explanation
Correct answer: A
Explanation
Blue/Green deployment using AWS CodeDeploy with ECS is the most suitable strategy for minimizing downtime, ensuring quick rollback, and maintaining service availability. It achieves this by providing two separate environments (blue and green), allowing the traffic to be directed to the new environment only after it is verified to be stable. This approach aligns perfectly with the company's business requirements.
- A. Correct.
Blue/Green deployment using AWS CodeDeploy with ECS is the best choice to meet the business requirements. It minimizes downtime, ensures quick rollback by switching between environments, and maintains service availability.
- B. Incorrect.
Rolling update with ECS Service Scheduler updates tasks gradually but does not fully isolate new and old versions, making rollback slower in case of failures.
- C. Incorrect.
All-at-once deployment with ECS updates all tasks immediately, leading to potential downtime and no quick rollback mechanism, which does not meet the business requirements.
- D. Incorrect.
Canary deployment using AWS CodeDeploy allows controlled traffic shifting to the new version but does not minimize downtime as effectively as Blue/Green deployment.