Integrate automated testing into CI/CD pipelines.
4 practice questions under this official exam objective (DOP-C02) — each with the community-verified answer, a full option-by-option explanation and instant feedback.
Use native Git in CodeBuild to clone, test, then create and push a Git tag when the tests pass
Cloning the CodeCommit repository with native Git and running the unit tests, then creating a Git tag and pushing it back to the repository when the t
Add an ECS deploy stage, output imagedefinitions.json, and run connectivity checks from a Lambda action stage
The integration tests must confirm that the new service endpoint is reachable and that API methods return successful responses, and this must be done
Write CDK assertions tests and set the CodeBuild build phase OnFailure property to ABORT
The requirement is that unit tests run in the pipeline and that deployment proceeds only if no test fails. Writing tests with the AWS CDK assertions m
Enable ECR enhanced scanning and use EventBridge with Lambda to reject images with HIGH or CRITICAL findings
The pipeline must block deployment of images carrying HIGH or CRITICAL findings in either operating system packages or language packages, and the chec