AWS - CloudFormationWhat 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 typeBCloudFormation deletes the stack and creates a new oneCCloudFormation updates the EC2 instance to the new type automaticallyDCloudFormation throws an error and stops the updateCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand CloudFormation update behaviorCloudFormation applies changes by updating resources in place when possible.Step 2: Apply to instance type changeChanging instance type triggers an update to the existing EC2 instance.Final Answer:CloudFormation updates the EC2 instance to the new type automatically -> Option CQuick 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 updateAssuming changes are ignoredExpecting errors on valid updates
Master "CloudFormation" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes Advanced Security - CloudTrail for API auditing - Quiz 5medium CloudFormation - CloudFormation vs Terraform awareness - Quiz 7medium Cost Optimization - Right-sizing resources - Quiz 4medium Cost Optimization - AWS Trusted Advisor recommendations - Quiz 3easy Cost Optimization - Data transfer cost awareness - Quiz 9hard ECS and Fargate - ECS with ALB integration - Quiz 4medium EKS - kubectl configuration for EKS - Quiz 1easy EKS - kubectl configuration for EKS - Quiz 7medium Route 53 - Why DNS management matters - Quiz 3easy Serverless Architecture - Serverless vs container decision - Quiz 12easy