🔥 3-day streak
AWS Certified DevOps Engineer - Professional91 / 204
Question 91 of 204

A team runs a CodePipeline with Source (CodeCommit), Build (CodeBuild), and Deploy (CodeDeploy to an EC2 staging fleet) stages. They want integration tests to run against the deployed staging environment, and the pipeline must automatically stop and NOT promote to the production deployment stage if any integration test fails. The tests are executed by a separate CodeBuild project that returns a non-zero exit code on failure. Which approach best implements this requirement with the least custom code?

Reviewed for accuracy · Report an issueNext question