DVA-C02 exam dumps

DVA-C02 practice question 247 of 399

AWS Certified Developer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DVA-C02 Question 247

Single answer

You are developing a web application and need to automate the deployment process across multiple environments (e.g., development, staging, production). You also want to leverage blue/green deployment strategies to minimize downtime and ensure safe rollbacks if issues occur. Which AWS service or feature would best meet these requirements?

  1. A

    AWS CodeDeploy

  2. B

    AWS Elastic Beanstalk

  3. C

    AWS CloudFormation

  4. D

    Amazon EC2 Auto Scaling

Show answer and explanation

Correct answer: A

Explanation

AWS CodeDeploy is the most suitable service for automating application deployments with advanced strategies like blue/green and rollback capabilities. While other services like Elastic Beanstalk and CloudFormation are useful for infrastructure management and simplifying deployments, they do not provide the level of deployment control and flexibility required in this scenario. EC2 Auto Scaling is unrelated to application deployment.

  • A. Correct.

    AWS CodeDeploy is designed specifically for automating application deployments to various compute services like EC2, Lambda, or on-premises servers. It also supports advanced deployment strategies like blue/green and rolling updates, making it the best choice for the scenario described.

  • B. Incorrect.

    AWS Elastic Beanstalk simplifies application deployment and management but does not provide advanced deployment strategies like blue/green natively. It is more suitable for managing the entire application stack with minimal configuration rather than fine-tuned deployment processes.

  • C. Incorrect.

    AWS CloudFormation helps manage infrastructure as code and automate resource provisioning but does not specialize in application deployment strategies like blue/green. It is not the best fit for automating deployments with rollback capabilities.

  • D. Incorrect.

    Amazon EC2 Auto Scaling is primarily used for automatically scaling EC2 instances based on defined policies. It does not provide application deployment capabilities or support for blue/green deployments.

Timed practice exam

Take a DVA-C02 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam