SAP-C02 Question 166
Select 3A company wants to implement a CI/CD pipeline to deploy its containerized applications on Amazon ECS. The company requires automated testing during deployment and wants to minimize downtime during application updates by using a blue/green deployment strategy. Which combination of AWS services and features should be used to meet these requirements?
- A
AWS CodePipeline for orchestrating the CI/CD pipeline
- B
AWS CodeBuild for running automated tests
- C
Amazon ECS with the rolling update deployment type
- D
AWS CodeDeploy with Amazon ECS for blue/green deployments
- E
Amazon CloudWatch Logs for monitoring deployment progress
Show answer and explanation
Correct answers: A, B, D
Explanation
The company needs a CI/CD pipeline with automated testing and a blue/green deployment strategy to minimize downtime. AWS CodePipeline orchestrates the process, AWS CodeBuild runs automated tests, and AWS CodeDeploy integrates with ECS to perform blue/green deployments. While monitoring tools like CloudWatch Logs are helpful, they are not part of the core services needed to implement the required pipeline.
- A. Correct.
Correct: AWS CodePipeline is a suitable service for orchestrating a CI/CD pipeline. It integrates with other AWS services like CodeBuild, CodeDeploy, and ECS to automate the pipeline process.
- B. Correct.
Correct: AWS CodeBuild can be used to run automated tests as part of the CI/CD pipeline, ensuring application quality before deployment.
- C. Incorrect.
Incorrect: The rolling update deployment type doesn't fully support blue/green deployments, which are required by the company to minimize downtime.
- D. Correct.
Correct: AWS CodeDeploy integrates with Amazon ECS to perform blue/green deployments, allowing for seamless traffic shifting and rollback capabilities.
- E. Incorrect.
Incorrect: While Amazon CloudWatch Logs is useful for monitoring deployment progress, it is not directly involved in enabling the CI/CD pipeline or blue/green deployment strategy.