AWS Certified SysOps Administrator – Associate (legacy) — Question 513
A SysOps Administrator has an AWS CloudFormation template of the company's existing infrastructure in us-west-2. The Administrator attempts to use the template to launch a new stack in eu-west-1, but the stack only partially deploys, receives an error message, and then rolls back.
Why would this template fail to deploy? (Choose two.)
Answer options
- A. The template referenced an IAM user that is not available in eu-west-1
- B. The template referenced an Amazon Machine Image (AMI) that is not available in eu-west-1
- C. The template did not have the proper level of permissions to deploy the resources
- D. The template requested services that do not exist in eu-west-1
- E. CloudFormation templates can be used only to update existing services
Correct answer: B, C
Explanation
Amazon Machine Images (AMIs) are regional resources, meaning an AMI ID valid in us-west-2 will not exist in eu-west-1, leading to a deployment failure. Additionally, the AWS CloudFormation service (or the IAM role assumed during execution) must have the necessary permissions to create the declared resources; insufficient permissions will cause the stack creation to fail and roll back. IAM users are global, and CloudFormation is fully capable of provisioning brand-new resources, making the other options incorrect.