Bird
0
0

What is the expected result when you update an AWS CloudFormation stack with a changed instance type in the template?

medium📝 service behavior Q5 of 15
AWS - CloudFormation
What is the expected result when you update an AWS CloudFormation stack with a changed instance type in the template?
ACloudFormation ignores the change and keeps the old instance type
BCloudFormation deletes the stack and creates a new one
CCloudFormation updates the EC2 instance to the new type automatically
DCloudFormation throws an error and stops the update
Step-by-Step Solution
Solution:
  1. Step 1: Understand CloudFormation update behavior

    CloudFormation applies changes by updating resources in place when possible.
  2. Step 2: Apply to instance type change

    Changing instance type triggers an update to the existing EC2 instance.
  3. Final Answer:

    CloudFormation updates the EC2 instance to the new type automatically -> Option C
  4. Quick Check:

    Stack update modifies resources = CloudFormation updates the EC2 instance to the new type automatically [OK]
Quick Trick: CloudFormation updates resources in place when possible [OK]
Common Mistakes:
  • Thinking stack is deleted on update
  • Assuming changes are ignored
  • Expecting errors on valid updates

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes