DVA-C02 practice question · Deployment
A large CloudFormation template is becoming difficult to maintain because it defines dozens of unrelated resources in…
A large CloudFormation template is becoming difficult to maintain because it defines dozens of unrelated resources in one file. What CloudFormation feature helps break it into smaller, reusable, composable templates?
- ANested stacks
- BStack policies
- CDeletion protection
- DTermination protection alone, with no restructuring
Show the answer and explanation
Correct answer: A) Nested stacks
Why each option is right or wrong
- A) Correct. Nested stacks let you reference other CloudFormation templates as resources within a parent stack, breaking a large template into smaller, focused, and independently reusable components.
- B) Incorrect. Stack policies control which update actions are allowed on specific resources; they don't help decompose a large template into smaller pieces.
- C) Incorrect. Deletion protection prevents a stack from being accidentally deleted; it has nothing to do with breaking up a large template.
- D) Incorrect. Termination protection is the same concept as deletion protection and doesn't restructure or modularize a template.
- Exam domain
- Deployment · 24% of DVA-C02
- Question type
- Multiple choice (one answer)
Related DVA-C02 questions
- A team's buildspec.yml, committed to the source repository, holds a third-party API token in plain text under…Deployment
- A team wants their internal Node.js library packages, shared across several projects, hosted privately with versioning…Deployment
- A pipeline in CodePipeline in Account A has a CodeDeploy action that deploys into Account B.Deployment
- A CodeBuild project builds a container image from a CodeCommit repository and pushes it to Amazon ECR.Deployment
All 67 free DVA-C02 questions by domain · 15 sample questions on one page
Practise the full DVA-C02 exam
This question is one of a small free sample from the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.
Worth reading: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.