DVA-C02 · Question #724
A company uses AWS CodeDeploy to deploy a web application from an Amazon ECR repository to an Amazon EC2 instance. The company needs to update the application and the deployment to avoid downtime…
The correct answer is B. Configure CodeDeploy to deploy from the ECR repository to Amazon ECS with the Fargate. By switching CodeDeploy to deploy from Amazon ECR to Amazon ECS with the Fargate launch type and using a blue/green deployment strategy, the company can achieve zero-downtime deployments. ECS Fargate manages the infrastructure, and CodeDeploy’s blue/green deployment ensures…
Question
A company uses AWS CodeDeploy to deploy a web application from an Amazon ECR repository to an Amazon EC2 instance. The company needs to update the application and the deployment to avoid downtime that affects users during the deployment. Which solution will meet this requirement with the LEAST amount of operational overhead?
Options
- ADeploy the application to AWS App Runner with a manual deployment strategy. Create a manual
- BConfigure CodeDeploy to deploy from the ECR repository to Amazon ECS with the Fargate
- CCreate an AWS CloudFormation stack that deploys the application to AWS Elastic Beanstalk. Use
- DConfigure CodeDeploy to deploy the application to Amazon EKS. Use an in-place deployment
How the community answered
(35 responses)- A6% (2)
- B66% (23)
- C11% (4)
- D17% (6)
Explanation
By switching CodeDeploy to deploy from Amazon ECR to Amazon ECS with the Fargate launch type and using a blue/green deployment strategy, the company can achieve zero-downtime deployments. ECS Fargate manages the infrastructure, and CodeDeploy’s blue/green deployment ensures seamless traffic shifting with minimal operational overhead.
Community Discussion
No community discussion yet for this question.