When creating a CloudFormation stack, an EC2 instance resource fails with an InsufficientInstanceCapacity error. Which steps should the SysOps administrator take to fix this? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: Update the CloudFormation template so the EC2 resource does not hard-code a specific Availability Zone., Change the EC2 instance type in the CloudFormation template to use an alternative instance type..
Why this is the answer
An InsufficientInstanceCapacity error indicates that AWS does not currently have enough available capacity for the requested instance type in the specified Availability Zone. To resolve this, you can either remove the hard-coded Availability Zone from the CloudFormation template, allowing AWS to launch the instance in any available zone with capacity, or change the instance type to one that has available capacity. Splitting resources into separate templates or selecting a different AMI will not address the capacity issue. The validate-template command checks for syntax errors, not resource availability.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed