DVA-C02 exam dumps

DVA-C02 practice question 245 of 399

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

DVA-C02 Question 245

Single answer

A developer wants to deploy an application to an Amazon ECS cluster with zero downtime. Which AWS service feature can be used to achieve this?

  1. A

    AWS CodePipeline with a blue/green deployment strategy

  2. B

    Elastic Load Balancing with a weighted target group routing configuration

  3. C

    Amazon ECS rolling updates

  4. D

    AWS CodeDeploy with an in-place deployment strategy

Show answer and explanation

Correct answer: A

Explanation

AWS CodePipeline with a blue/green deployment strategy is ideal for zero-downtime deployments. It creates a new environment for the updated application version and validates it before switching traffic, ensuring seamless updates without service interruption. Other options either do not guarantee zero downtime or are less suited for a complete deployment strategy.

  • A. Correct.

    This option is correct. AWS CodePipeline can be configured with a blue/green deployment strategy, which ensures zero downtime by creating a new environment for the updated application version and switching traffic to it once validated.

  • B. Incorrect.

    While Elastic Load Balancing with weighted target group routing can help with traffic distribution, it is more suited for gradual traffic shifting rather than a full deployment strategy like blue/green deployments.

  • C. Incorrect.

    Amazon ECS rolling updates do not guarantee zero downtime as they may involve replacing tasks in the service sequentially, which can lead to brief interruptions.

  • D. Incorrect.

    AWS CodeDeploy's in-place deployment strategy updates instances in place, which can lead to downtime during the deployment process.

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