DOP-C02 · Question #20
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
The correct answer is A. Insert a manual approval action between the test actions and deployment actions of the pipeline. E. Update the pipeline to invoke an AWS Lambda function that calls the REST API for the. The manual approval action (A) will allow the QA team to inspect the build artifact and run their internal penetration testing tool before the deployment to the production environment proceeds. Using an AWS Lambda function (E) would provide an automated way to call the REST API o
Question
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
How the community answered
(24 responses)- A75% (18)
- B4% (1)
- C4% (1)
- D17% (4)
Explanation
The manual approval action (A) will allow the QA team to inspect the build artifact and run their internal penetration testing tool before the deployment to the production environment proceeds. Using an AWS Lambda function (E) would provide an automated way to call the REST API of the penetration testing tool. This would allow for the tests to be conducted automatically within the pipeline. This is beneficial because it ensures consistency in the testing process and could be run programmatically, reducing manual steps.
Topics
Community Discussion
No community discussion yet for this question.