DOP-C02 · Question #503
DOP-C02 Question #503: 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. Custom Level 3 constructs are designed to encapsulate higher-level, reusable infrastructure patterns (such as a standard VPC + database + serverless components) while still allowing configuration inputs for environment-specific differences. Using a single set of stacks parameteri
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
Custom Level 3 constructs are designed to encapsulate higher-level, reusable infrastructure patterns (such as a standard VPC + database + serverless components) while still allowing configuration inputs for environment-specific differences. Using a single set of stacks parameterized by environment name keeps deployments consistent across development, staging, and production and minimizes code duplication because the same stacks and reusable constructs are reused with different environment-specific values.
Topics
Community Discussion
No community discussion yet for this question.