DOP-C02 exam dumps

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

Select 2

You are managing a microservices-based application hosted in AWS. The application uses Amazon ECS for container orchestration and AWS Lambda for serverless processing. The team wants to implement a deployment strategy that minimizes downtime and ensures new versions can be rolled back quickly if issues are detected. For the ECS services, the team wants to gradually shift traffic to the new version of the containers. For Lambda, they want to test the new version with a small percentage of live traffic before a full rollout. Which combination of deployment strategies should you choose?

  1. A

    Use a rolling update deployment strategy for the ECS services and Canary deployment for the Lambda functions.

  2. B

    Use a blue/green deployment strategy for the ECS services and Linear deployment for the Lambda functions.

  3. C

    Use a canary deployment strategy for both the ECS services and the Lambda functions.

  4. D

    Use a blue/green deployment strategy for the ECS services and Canary deployment for the Lambda functions.

  5. E

    Use a rolling update deployment strategy for the ECS services and Linear deployment for the Lambda functions.

Show answer and explanation

Correct answers: A, D

Explanation

The scenario requires deployment strategies that minimize downtime and allow quick rollback. For ECS, both rolling updates and blue/green deployments are suitable for gradual traffic shifting and rollback. For Lambda, Canary deployment is the correct choice as it enables testing a small percentage of traffic before a full rollout. Therefore, the correct combinations are rolling updates with Canary deployment or blue/green deployment with Canary deployment.

  • A. Correct.

    Correct: Rolling updates for ECS allow gradual replacement of tasks, minimizing downtime, and Canary deployment for Lambda enables testing new versions with a small percentage of traffic before full rollout.

  • B. Incorrect.

    Incorrect: Blue/green deployment for ECS is not necessary in this scenario as rolling updates already meet the requirement of gradual traffic shifting. Linear deployment for Lambda does not align with the need to test with a small percentage of traffic initially.

  • C. Incorrect.

    Incorrect: Canary deployment for ECS services is not a recognized deployment strategy. ECS typically uses rolling updates or blue/green deployments.

  • D. Correct.

    Correct: Blue/green for ECS ensures zero downtime and easy rollback in case of issues. Canary deployment for Lambda matches the requirement to test with a small percentage of live traffic before full rollout.

  • E. Incorrect.

    Incorrect: While rolling updates for ECS is valid, Linear deployment for Lambda gradually increases traffic but does not start with a small percentage, making it unsuitable for this scenario.

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