Q10 — AWS DOP-C02 Ch.2
Question 10 of 100 | ← Chapter 2
A company wants to establish a continuous delivery pipeline. The company stores application code in a private GitHub repository and needs to deploy application components to Amazon Elastic Container Service (Amazon ECS), Amazon EC2, and AWS Lambda. The pipeline must support manual approval actions.
- A. Use AWS CodePipeline integrated with Amazon ECS, Amazon EC2, and AWS Lambda as deployment providers.
- B. Use AWS CodePipeline with AWS CodeDeploy as the deployment provider. ✓
- C. Use AWS CodePipeline with AWS Elastic Beanstalk as the deployment provider.
- D. Use AWS CodeDeploy integrated with GitHub to deploy the application.
Correct Answer: B. Use AWS CodePipeline with AWS CodeDeploy as the deployment provider.
Explanation
The scenario requires a continuous delivery pipeline that pulls code from a private GitHub repository and deploys to Amazon ECS, Amazon EC2, and AWS Lambda, while supporting manual approvals. AWS CodePipeline is a fully managed continuous delivery service that automates build, test, and deployment stages. AWS CodeDeploy is a deployment service capable of deploying applications to Amazon ECS, EC2 instances, and Lambda functions. Combining AWS CodePipeline and AWS CodeDeploy satisfies all requirements—including manual approval actions. Therefore, option B is correct.