Bird
0
0

You have a stack with nested stacks. When you delete the parent stack, what happens to the nested stacks?

hard📝 Application Q9 of 15
AWS - CloudFormation
You have a stack with nested stacks. When you delete the parent stack, what happens to the nested stacks?
ADeletion fails if nested stacks exist.
BNested stacks remain and must be deleted separately.
CNested stacks are detached and become independent stacks.
DNested stacks are deleted automatically along with the parent stack.
Step-by-Step Solution
Solution:
  1. Step 1: Understand nested stack deletion behavior

    Deleting a parent stack deletes all nested stacks it contains automatically.
  2. Step 2: Confirm no manual deletion needed

    Nested stacks are part of the parent stack's resources and are cleaned up together.
  3. Final Answer:

    Nested stacks are deleted automatically along with the parent stack. -> Option D
  4. Quick Check:

    Parent stack deletion removes nested stacks = A [OK]
Quick Trick: Deleting parent stack deletes nested stacks automatically [OK]
Common Mistakes:
  • Thinking nested stacks remain after parent deletion
  • Assuming nested stacks become independent
  • Believing deletion fails due to nested stacks

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes