Skip to main content

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)

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.