Q51 — AWS DOP-C02 Ch.2
Question 51 of 100 | ← Chapter 2
A company wants to build a continuous delivery pipeline. It stores application code in a private GitHub repository. The company needs to deploy application components to Amazon Elastic Container Service (Amazon ECS), Amazon EC2, and AWS Lambda. The pipeline must support manual approval actions. Which solution meets these requirements?
- A. Use AWS CodePipeline with Amazon ECS, Amazon EC2, and Lambda as deployment providers.
- B. Use AWS CodePipeline and AWS CodeDeploy as deployment providers. ✓
- C. Use AWS CodePipeline and AWS Elastic Beanstalk as deployment providers.
- D. Use AWS CodeDeploy integrated with GitHub to deploy the application.
Correct Answer: B. Use AWS CodePipeline and AWS CodeDeploy as deployment providers.
Explanation
AWS CodePipeline is a fully managed CI/CD service that orchestrates build, test, and deployment stages—ideal for establishing a continuous delivery pipeline. AWS CodeDeploy supports deployments to Amazon ECS, Amazon EC2, and AWS Lambda, and integrates natively with CodePipeline to enable manual approval actions. Options A and C lack native support for all three targets with manual approvals; Option D omits pipeline orchestration entirely. Thus, B is correct.