D2: AWS CDK Deep Dive
AWS Certified DevOps Engineer – Professional exam practice questions · 10 flashcards
Question
CDK app structure?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 AWS CDK Deep Dive practice questions and answers
- CDK app structure?App → Stacks → Constructs.
- L1 constructs?Cfn* resources mapping 1:1 to CloudFormation.
- L2 constructs?Higher-level with sensible defaults and helper methods (grant*).
- L3 constructs (patterns)?Multi-resource architectures (e.g. ApplicationLoadBalancedFargateService).
- CDK Pipelines?Self-mutating CI/CD pipelines that deploy CDK apps across stages/accounts.
- cdk bootstrap for cross-account?Bootstrap target accounts with --trust for pipeline account.
- CDK context?Cached environment lookups (cdk.context.json) for deterministic synth.
- CDK testing?Assertions library for fine-grained and snapshot tests of synthesized templates.
- cdk-nag?Rule packs checking constructs for security/compliance best practices.
- Scenario: enforce every bucket is encrypted across CDK app. Feature?CDK Aspects (or cdk-nag).