DVA-C02 exam dumps

DVA-C02 practice question 315 of 399

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

DVA-C02 Question 315

Single answer

You are working on deploying a new version of your application hosted on an Amazon ECS cluster. The application is critical, and you need to minimize downtime while ensuring that users experience the new version gradually. Which deployment strategy should you choose in this scenario?

  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 for scenarios where you want to minimize downtime and gradually introduce a new version of an application to users. It allows for controlled traffic shifting to the new version, enabling testing and monitoring before full rollout. Other strategies like Blue/Green and Rolling do not inherently provide gradual exposure to users, and All-at-once deployment can lead to significant downtime.

  • A. Incorrect.

    Blue/Green deployment involves creating a separate environment (blue and green) and switching traffic between them, which does not align with the need to gradually roll out the changes to users.

  • B. Incorrect.

    Rolling deployment updates a subset of the application instances at a time until all instances are updated, but it does not inherently allow for gradual user exposure to the new version.

  • C. Correct.

    Canary deployment gradually shifts a small percentage of traffic to the new version, monitoring its performance before increasing the traffic, which minimizes downtime and aligns with the requirements of the scenario.

  • D. Incorrect.

    All-at-once deployment updates all instances at the same time, leading to potential downtime and no gradual exposure to the new version, making it unsuitable for this scenario.

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