DVA-C02 · Question #260
DVA-C02 Question #260: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #260. The question stem and answer options stay visible for context.
Question
A developer is building a new application that will be deployed on AWS. The developer has created an AWS CodeCommit repository for the application. The developer has initialized a new project for the application by invoking the AWS Cloud Development Kit (AWS CDK) cdk init command. The developer must write unit tests for the infrastructure as code (IaC) templates that the AWS CDK generates. The developer also must run a validation tool across all constructs in the CDK application to ensure that critical security configurations are activated. Which combination of actions will meet these requirements with the LEAST development overhead? (Choose two.)
Options
- AUse a unit testing framework to write custom unit tests against the cdk.out file that the AWS CDK
- BUse the CDK assertions module to integrate unit tests with the application. Run the unit tests in a
- CUse the CDK runtime context to set key-value pairs that must be present in the cdk.out file that
- DWrite a script that searches the application for specific key configuration strings. Configure the
- EUse the CDK Aspects class to create custom rules to apply to the CDK application. Fall the stack
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-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.