DVA-C02 exam dumps

DVA-C02 practice question 313 of 399

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

DVA-C02 Question 313

Single answer

You are deploying a new version of your application on Amazon ECS using an Application Load Balancer. The application is critical and must maintain availability during deployment. You also want to verify the new version works as expected with a small portion of traffic before fully rolling it out. Which deployment strategy should you choose?

  1. A

    Blue/Green Deployment

  2. B

    Rolling Deployment

  3. C

    Canary Deployment

  4. D

    All-at-once Deployment

Show answer and explanation

Correct answer: C

Explanation

Canary Deployment is the best choice when you need to maintain availability and test the new version with a small portion of traffic before fully rolling it out. This strategy minimizes risks while ensuring the new version works as expected before scaling up.

  • A. Incorrect.

    Blue/Green Deployment involves deploying the new version to a completely separate environment (blue and green) and switching traffic between them. While it ensures zero downtime, it does not gradually route a small portion of traffic to the new version for testing.

  • B. Incorrect.

    Rolling Deployment gradually replaces instances of the old version with the new version, maintaining availability. However, it does not allow for explicit testing of the new version with a small, controlled portion of traffic.

  • C. Correct.

    Canary Deployment routes a small, controlled percentage of traffic to the new version initially, allowing you to verify its behavior before gradually increasing the traffic. This fits the requirement of testing the new version with minimal risk.

  • D. Incorrect.

    All-at-once Deployment replaces all instances of the application with the new version at the same time. This does not meet the requirement of gradual testing or maintaining availability.

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