DOP-C02 exam dumps

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

Single answer

Your company is deploying a web application that consists of containerized microservices running on Amazon ECS with the Fargate launch type. You need to implement a deployment strategy that minimizes downtime while ensuring that the new version of the service is tested before completely replacing the old version. Which deployment strategy should you implement?

  1. A

    Blue/Green deployment using AWS CodeDeploy

  2. B

    Rolling update using ECS service configuration

  3. C

    Canary deployment using AWS Lambda

  4. D

    Recreate deployment using ECS service configuration

Show answer and explanation

Correct answer: A

Explanation

Blue/Green deployment is ideal for scenarios where downtime must be minimized, and the new version of the service needs to be tested before a complete rollout. AWS CodeDeploy supports Blue/Green deployments for ECS services, making it the best choice in this case.

  • A. Correct.

    Blue/Green deployment using AWS CodeDeploy is the correct option because it allows you to shift traffic between the old and new versions of the service, ensuring zero downtime and the ability to test the new version before full deployment.

  • B. Incorrect.

    Rolling update using ECS service configuration gradually replaces old tasks with new tasks. While it minimizes downtime, it does not allow for testing the new version before completely replacing the old version.

  • C. Incorrect.

    Canary deployment using AWS Lambda is not applicable for ECS services as it is designed for serverless environments like AWS Lambda, not containerized workloads.

  • D. Incorrect.

    Recreate deployment using ECS service configuration stops all old tasks before starting new ones, leading to downtime and no testing period for the new version.

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