DVA-C02 Question 248
Single answerYou are a developer tasked with deploying a new version of your application to an EC2-based environment. The deployment process should ensure minimal downtime, allow for easy rollback in case of issues, and provide automated monitoring of deployment progress. Which AWS service and feature combination would best fit your requirements?
- A
AWS CodeDeploy with the Blue/Green deployment configuration
- B
AWS Elastic Beanstalk with the Rebuild environment feature
- C
AWS CloudFormation with the Change Sets feature
- D
AWS CodePipeline with a manual approval stage
Show answer and explanation
Correct answer: A
Explanation
AWS CodeDeploy's Blue/Green deployment configuration is designed to minimize downtime by shifting traffic between two environments. It also supports quick rollback by reverting traffic to the original environment in case of issues, making it the ideal choice for this scenario. Other options either do not minimize downtime or lack rollback capabilities during deployments.
- A. Correct.
AWS CodeDeploy with the Blue/Green deployment configuration is the correct choice as it minimizes downtime, supports easy rollback through traffic shifting, and provides monitoring during deployment.
- B. Incorrect.
AWS Elastic Beanstalk with the Rebuild environment feature is not suitable for minimizing downtime or enabling easy rollback, as it involves completely replacing the environment.
- C. Incorrect.
AWS CloudFormation with the Change Sets feature allows you to preview changes before deployment but does not specifically address downtime minimization or rollback during application deployments.
- D. Incorrect.
AWS CodePipeline with a manual approval stage adds a checkpoint in your deployment process but does not directly address downtime or rollback capabilities.