SAP-C02 exam dumps

SAP-C02 practice question 389 of 678

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

SAP-C02 Question 389

Single answer

Your team is using AWS CodePipeline to automate deployments for a web application hosted on Amazon ECS. The application requires zero downtime during updates. Which deployment strategy should you select in AWS CodeDeploy to meet this requirement?

  1. A

    Rolling deployment

  2. B

    Blue/Green deployment

  3. C

    All-at-once deployment

  4. D

    Canary deployment

Show answer and explanation

Correct answer: B

Explanation

Blue/Green deployment is the most suitable strategy for achieving zero downtime. It ensures that the current environment (blue) remains operational while the new environment (green) is prepared. Traffic is only routed to the green environment once it is verified to be fully functional, eliminating downtime and minimizing risk.

  • A. Incorrect.

    Rolling deployment updates a subset of instances at a time, but it may cause partial downtime or impact users if there are issues during the update.

  • B. Correct.

    Blue/Green deployment creates a separate environment (green) for the new version and switches traffic from the old environment (blue) to the new one, ensuring zero downtime.

  • C. Incorrect.

    All-at-once deployment replaces all instances with the new version simultaneously, which can cause downtime during the update process.

  • D. Incorrect.

    Canary deployment deploys the new version to a small percentage of instances first and gradually increases the scope. However, during the initial phase, both versions may coexist, potentially causing partial downtime.

Timed practice exam

Take a SAP-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