DOP-C02 exam dumps

DOP-C02 practice question 354 of 411

AWS Certified DevOps Engineer - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

DOP-C02 Question 354

Single answer

Your company runs a large-scale e-commerce platform on AWS, and you are tasked with optimizing the deployment process for a critical application to ensure zero downtime during updates. The application is hosted on Amazon ECS using the Fargate launch type. You need to implement a deployment strategy that minimizes risk and ensures traffic is routed to the new version only after health checks pass. Which deployment strategy should you choose?

  1. A

    Recreate deployment strategy

  2. B

    Rolling update deployment strategy

  3. C

    Blue/Green deployment strategy using AWS CodeDeploy

  4. D

    Canary deployment strategy using AWS App Runner

Show answer and explanation

Correct answer: C

Explanation

The Blue/Green deployment strategy is the best choice for achieving zero downtime during updates in Amazon ECS using the Fargate launch type. It creates a separate environment for the new version, validates it with health checks, and only switches traffic after successful validation. This approach minimizes risk and ensures a seamless deployment process, meeting the requirements specified in the scenario.

  • A. Incorrect.

    The Recreate deployment strategy stops the current version before starting the new one, causing downtime. This does not meet the requirement for zero downtime.

  • B. Incorrect.

    The Rolling update deployment strategy updates tasks incrementally but does not guarantee a full rollback or traffic routing control if issues occur. While it minimizes downtime, it does not fully eliminate risk during updates.

  • C. Correct.

    The Blue/Green deployment strategy using AWS CodeDeploy creates two separate environments, blue (current version) and green (new version). Traffic is only routed to the green environment after health checks pass, ensuring zero downtime and minimal risk.

  • D. Incorrect.

    Canary deployment strategy gradually shifts traffic to the new version, but AWS App Runner is not relevant to Amazon ECS Fargate environments. This option is not applicable.

Timed practice exam

Take a DOP-C02 practice test under exam conditions

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

Start timed exam