DOP-C02 · Question #288
DOP-C02 Question #288: Real Exam Question with Answer & Explanation
Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #288. The question stem and answer options stay visible for context.
Question
A company uses the AWS Cloud Development Kit (AWS CDK) to define its application. The company uses a pipeline that consists of AWS CodePipeline and AWS CodeBuild to deploy the CDK application. The company wants to introduce unit tests to the pipeline to test various infrastructure components. The company wants to ensure that a deployment proceeds if no unit tests result in a failure. Which combination of steps will enforce the testing requirement in the pipeline? (Choose two.)
Options
- AUpdate the CodeBuild build phase commands to run the tests then to deploy the application. Set
- BUpdate the CodeBuild build phase commands to run the tests then to deploy the application. Add
- CUpdate the CodeBuild build phase commands to run the tests then to deploy the application. Add
- DCreate a test that uses the AWS CDK assertions module. Use the
- ECreate a test that uses the cdk diff command. Configure the test to fail if any resources have
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.