D3: AWS CDK & Third-Party IaC Tools
AWS Associate AWS Certified CloudOps Engineer – Associate exam practice questions · 10 flashcards
Question
What is the AWS CDK?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 AWS CDK & Third-Party IaC Tools practice questions and answers
- What is the AWS CDK?Framework to define infrastructure in TypeScript, Python, Java, etc., synthesized into CloudFormation templates.
- cdk synth?Generates the CloudFormation template.
- cdk deploy?Deploys the stack via CloudFormation.
- cdk bootstrap?Provisions resources (S3 bucket, IAM roles) CDK needs in an account/Region.
- What are CDK constructs?Reusable cloud components: L1 (raw CFN), L2 (intent-based defaults), L3 (patterns).
- cdk diff?Shows differences between deployed stack and local code.
- What is Terraform?HashiCorp's open-source IaC tool using HCL and providers, including AWS.
- Terraform state?File tracking managed resources; store remotely (e.g. S3 with locking) for teams.
- Why use Git for IaC?Version control, code review, history and CI/CD triggers.
- Error: CDK deploy fails with 'bootstrap stack not found'. Fix?Run cdk bootstrap in that account/Region.