AWS Certified SysOps Administrator – Associate — Question 409
A SysOps administrator is attempting to deploy resources by using an AWS CloudFormation template. An Amazon EC2 instance that is defined in the template fails to launch and produces an InsufficientInstanceCapacity error.
Which actions should the SysOps administrator take to resolve this error? (Choose two.)
Answer options
- A. Create a separate AWS CloudFormation template for the EC2 instance.
- B. Modify the AWS CloudFormation template to not specify an Availability Zone for the EC2 instance.
- C. Modify the AWS CloudFormation template to use a different EC2 instance type.
- D. Use a different Amazon Machine Image (AMI) for the EC2 instance.
- E. Use the AWS CLI's validate-template command before creating a stack from the template.
Correct answer: B, C
Explanation
An InsufficientInstanceCapacity error occurs when AWS does not have enough physical host capacity to support the requested EC2 instance type in a specific location. To resolve this, the administrator can either remove the specific Availability Zone constraint so AWS can launch the instance in a zone with available capacity, or select a different EC2 instance type that has sufficient capacity. Validating the template, changing the AMI, or splitting the template will not resolve physical capacity constraints.