DOP-C02 exam dumps

DOP-C02 practice question 60 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 60

Single answer

Your organization is deploying a new microservices-based application using Amazon ECS with Fargate. The application has multiple services that must be updated without downtime, as they are critical for business operations. You are tasked with designing a deployment strategy that ensures zero downtime during updates while minimizing the risk of introducing faulty changes. Which deployment strategy should you implement?

  1. A

    Blue/Green deployment using AWS CodeDeploy with Amazon ECS

  2. B

    Rolling deployment with a fixed percentage of tasks updated at a time

  3. C

    All-at-once deployment across all ECS tasks

  4. D

    Recreate deployment strategy, terminating all running tasks and starting new ones

Show answer and explanation

Correct answer: A

Explanation

Blue/Green deployment is the most suitable strategy for ensuring zero downtime and minimizing risk during updates in critical applications. It allows you to test the new version in a separate environment before routing traffic to it, and provides a straightforward rollback mechanism if issues arise. While other strategies may reduce downtime or ease deployment, they do not guarantee zero downtime or safe rollback capabilities like Blue/Green deployment.

  • A. Correct.

    Blue/Green deployment is ideal for zero-downtime updates as it creates a new environment (green) while keeping the current environment (blue) running, allowing for easy rollback in case of issues.

  • B. Incorrect.

    Rolling deployment updates tasks gradually but may lead to partial downtime or traffic being served by a mix of old and new versions, increasing the risk of inconsistent behavior.

  • C. Incorrect.

    All-at-once deployment replaces all tasks immediately, which can cause downtime and is not suitable for critical applications requiring zero downtime.

  • D. Incorrect.

    Recreate deployment strategy terminates all tasks before starting new ones, leading to significant downtime and higher risk during the update process.

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