AWS Certified SysOps Administrator – Associate — Question 106
A SysOps administrator has created an Amazon EC2 instance using an AWS CloudFormation template in the us-east-1 Region. The administrator finds that this template has failed to create an EC2 instance in the us-west-2 Region.
What is one cause for this failure?
Answer options
- A. Resource tags defined in the CloudFormation template are specific to the us-east-1 Region.
- B. The Amazon Machine Image (AMI) ID referenced in the CloudFormation template could not be found in the us-west-2 Region.
- C. The cfn-init script did not run during resource provisioning in the us-west-2 Region.
- D. The IAM user was not created in the specified Region.
Correct answer: B
Explanation
The correct answer is B because AMI IDs are region-specific and the template may reference an AMI ID that does not exist in the us-west-2 Region. Option A is incorrect since resource tags do not affect the creation of instances in different regions. Option C is not the cause of failure as cfn-init is not critical for the instance launch process itself. Option D is also incorrect, as IAM user creation does not prevent EC2 instance creation in a different region.