DOP-C02 · Question #20
DOP-C02 Question #20: Real Exam Question with Answer & Explanation
Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #20. The question stem and answer options stay visible for context.
Question
A DevOps engineer has automated a web service deployment by using AWS CodePipeline with the following steps: 1. An AWS CodeBuild project compiles the deployment artifact and runs unit tests. 2. An AWS CodeDeploy deployment group deploys the web service to Amazon EC2 instances in the staging environment. 3. A CodeDeploy deployment group deploys the web service to EC2 instances in the production environment. The quality assurance (QA) team requests permission to inspect the build artifact before the deployment to the production environment occurs. The QA team wants to run an internal penetration testing tool to conduct manual tests. The tool will be invoked by a REST API call. Which combination of actions should the DevOps engineer take to fulfill this request? (Choose two.)
Options
- AInsert a manual approval action between the test actions and deployment actions of the pipeline.
- BModify the buildspec.yml file for the compilation stage to require manual approval before
- CUpdate the CodeDeploy deployment groups so that they require manual approval to proceed.
- DUpdate the pipeline to directly call the REST API for the penetration testing tool.
- EUpdate the pipeline to invoke an AWS Lambda function that calls the REST API for the
Unlock DOP-C02 to see the answer
You've previewed enough free DOP-C02 questions. Unlock DOP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.