SAP-C02 exam dumps

SAP-C02 practice question 388 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 388

Select 3

A company is developing a new web application and wants to implement a CI/CD pipeline to deploy updates with minimal downtime. The application is hosted on Amazon ECS using an Application Load Balancer (ALB). The company requires a deployment strategy where traffic is gradually shifted to the new version, allowing for rollback if issues are detected. Which combination of actions can meet these requirements?

  1. A

    Use AWS CodeDeploy with a blue/green deployment configuration for ECS.

  2. B

    Configure the ECS service to use a rolling update deployment strategy.

  3. C

    Set the ALB to perform weighted routing between the old and new versions during deployment.

  4. D

    Use AWS CodePipeline to orchestrate the deployment process with a blue/green strategy.

  5. E

    Manually update the ECS service to replace the old task definitions with the new ones.

Show answer and explanation

Correct answers: A, C, D

Explanation

To meet the company's requirements for minimal downtime and rollback capabilities, a blue/green deployment strategy is the best choice. AWS CodeDeploy supports blue/green deployments for ECS, allowing gradual traffic shifting and rollback if issues arise. Weighted routing with an ALB is essential for traffic shifting between the old and new versions. AWS CodePipeline can orchestrate the entire process, integrating with CodeDeploy and other AWS services. A rolling update or manual update approach does not provide the required level of automation, traffic control, or rollback capabilities.

  • A. Correct.

    Correct. AWS CodeDeploy supports blue/green deployments for ECS, enabling gradual traffic shifting and rollback capabilities.

  • B. Incorrect.

    Incorrect. A rolling update strategy replaces tasks incrementally but does not allow traffic shifting or rollback in the same controlled way as blue/green deployments.

  • C. Correct.

    Correct. Weighted routing with the ALB is a key mechanism for gradually shifting traffic between task sets during a blue/green deployment.

  • D. Correct.

    Correct. AWS CodePipeline can be used to orchestrate the CI/CD process, including integrating CodeDeploy to implement a blue/green deployment strategy.

  • E. Incorrect.

    Incorrect. Manually updating the ECS service lacks automation, rollback capabilities, and traffic shifting, which are required for this use case.

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