DVA-C02 Question 246
Single answerYour team is managing a microservices-based application and wants to automate the deployment process across multiple environments such as development, staging, and production. The solution should support blue/green deployments and allow rollback in case of issues. Which AWS service is best suited for this requirement?
- A
AWS CodeDeploy
- B
AWS Elastic Beanstalk
- C
AWS CloudFormation
- D
AWS OpsWorks
Show answer and explanation
Correct answer: A
Explanation
AWS CodeDeploy is the most suitable service for this use case because it is specifically designed for automating application deployments and supports advanced deployment strategies like blue/green deployments and rollback capabilities. The other options, while valuable for different purposes, do not provide the same level of support for application deployment automation and advanced deployment strategies.
- A. Correct.
AWS CodeDeploy is a deployment service that automates application deployments to a variety of compute services, such as Amazon EC2, AWS Lambda, and on-premises servers. It supports advanced deployment strategies such as blue/green deployments and rollback capabilities, making it ideal for this scenario.
- B. Incorrect.
AWS Elastic Beanstalk is a Platform as a Service (PaaS) that helps deploy and manage applications in the cloud but does not natively support advanced deployment strategies like blue/green deployment or rollback mechanisms without additional configuration.
- C. Incorrect.
AWS CloudFormation is an Infrastructure as Code (IaC) tool used to provision and manage AWS resources. While you can define deployment processes in CloudFormation templates, it is not specifically designed to handle application deployments or support blue/green deployments directly.
- D. Incorrect.
AWS OpsWorks is a configuration management service that helps configure and manage applications using Chef or Puppet. It is not designed for automating application deployments or supporting advanced deployment strategies like blue/green deployments.