nerdexam
AmazonAmazon

DOP-C02 · Question #455

DOP-C02 Question #455: Real Exam Question with Answer & Explanation

The correct answer is C: Create custom Level 3 (L3) constructs out of Level 2 (L2) constructs where repeatable patterns. AWS CDK recommends using Level 3 (L3) custom constructs to encapsulate reusable multi- resource infrastructure patterns (networking, compute, DB). Then, define a single set of environment-aware stacks that accept environment parameters for deployment. This ensures consistency wit

Submitted by helene.fr· Mar 6, 2026Configuration Management and Infrastructure as Code

Question

A company is using the AWS Cloud Development Kit (AWS CDK) to develop a microservices- based application. The company needs to create reusable infrastructure components for three environments: development, staging, and production. The components must include networking resources, database resources, and serverless compute resources. The company must implement a solution that provides consistent infrastructure across environments while offering the option for environment-specific customizations. The solution also must minimize code duplication. Which solution will meet these requirements with the LEAST development overhead?

Options

  • ACreate custom Level 1 (L1) constructs out of Level 2 (L2) constructs where repeatable patterns
  • BCreate custom Level 1 (L1) constructs out of Level 2 (L2) constructs where repeatable patterns
  • CCreate custom Level 3 (L3) constructs out of Level 2 (L2) constructs where repeatable patterns
  • DCreate custom Level 3 (L3) constructs out of Level 2 (L2) constructs where repeatable patterns

Explanation

AWS CDK recommends using Level 3 (L3) custom constructs to encapsulate reusable multi- resource infrastructure patterns (networking, compute, DB). Then, define a single set of environment-aware stacks that accept environment parameters for deployment. This ensures consistency with minimal code duplication, per AWS CDK best practices and design patterns

Topics

#AWS CDK#Infrastructure as Code#Microservices#Reusability

Community Discussion

No community discussion yet for this question.

Full DOP-C02 PracticeBrowse All DOP-C02 Questions