AWS Certified SysOps Administrator – Associate — Question 348
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, D
Explanation
Amazon Machine Images (AMIs) are region-specific, so referencing a us-west-2 AMI ID in eu-west-1 will cause the stack creation to fail. Additionally, if the template requests AWS services or specific resource types that have not yet been launched in the eu-west-1 region, the deployment will fail. IAM users are global resources and not region-bound, and CloudFormation is fully capable of provisioning new resources from scratch.