
Answer-first summary for fast verification
Answer: Insert a manual approval action between the test actions and deployment actions of the pipeline., Update the pipeline to invoke an AWS Lambda function that calls the REST API for the penetration testing tool.
To accommodate the QA team's request to inspect the build artifact and run manual penetration tests, the DevOps engineer should implement the following actions: 1. Insert a manual approval action between the test actions and deployment actions of the pipeline (Option A). This allows the QA team to review the artifacts before proceeding to the production deployment. 2. Update the pipeline to invoke an AWS Lambda function that calls the REST API for the penetration testing tool (Option E). While Lambda has a default timeout limit of 15 minutes, it can be sufficient for initial penetration testing phases. If these tests are expected to exceed this limit, other arrangements might need to be considered, but calling the REST API via Lambda is a standard approach for automating such tasks.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A DevOps engineer has set up an automated web service deployment process using AWS CodePipeline. The pipeline includes the following stages: 1. Compilation of the deployment artifact and unit testing through an AWS CodeBuild project. 2. Deployment to staging Amazon EC2 instances using a CodeDeploy deployment group. 3. Deployment to production EC2 instances using another CodeDeploy deployment group. The QA team has requested the ability to inspect the build artifact before it is deployed to the production environment. They intend to use an internal penetration testing tool for manual tests, which is triggered by a REST API call. What should the DevOps engineer do to accommodate this request?
A
Insert a manual approval action between the test actions and deployment actions of the pipeline.
B
Modify the buildspec.yml file for the compilation stage to require manual approval before completion.
C
Update the CodeDeploy deployment groups so that they require manual approval to proceed.
D
Update the pipeline to directly call the REST API for the penetration testing tool.
E
Update the pipeline to invoke an AWS Lambda function that calls the REST API for the penetration testing tool.
No comments yet.