Bird
0
0

You want to reuse infrastructure code across projects with minimal changes. Which tool helps best?

hard📝 Application Q9 of 15
AWS - CloudFormation
You want to reuse infrastructure code across projects with minimal changes. Which tool helps best?
ACloudFormation nested stacks for reuse
BTerraform nested stacks for reusable code
CCloudFormation does not support reuse
DTerraform cannot reuse code
Step-by-Step Solution
Solution:
  1. Step 1: Understand CloudFormation reuse features

    CloudFormation supports nested stacks to reuse templates within templates.
  2. Step 2: Compare Terraform reuse options

    Terraform uses modules for reuse, but nested stacks are a CloudFormation feature.
  3. Final Answer:

    CloudFormation nested stacks enable reusable infrastructure code -> Option A
  4. Quick Check:

    Reusable code in CloudFormation = nested stacks [OK]
Quick Trick: CloudFormation uses nested stacks; Terraform uses modules [OK]
Common Mistakes:
  • Thinking CloudFormation lacks reuse
  • Confusing modules with nested stacks
  • Assuming Terraform cannot reuse code

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes