
Explanation:
Option A is the correct answer.
Amazon Machine Images (AMIs) are regional resources. If an AMI is created in us-east-1, it cannot be directly referenced or used to launch instances in other Regions. The AMI must first be copied to the target Regions. After copying the AMI to the other four Regions, the most operationally efficient way to reuse the AWS CloudFormation template is to add an Mappings section. The Mappings block allows the template to automatically look up the correct AMI ID based on the Region in which the stack is being deployed.
Option B is highly inefficient because taking a snapshot, copying the snapshot, and recreating the AMI requires multiple manual steps when copy-image does this natively.
Option C will fail because the us-east-1 AMI ID does not exist in the other regions.
Option D is incorrect because Auto Scaling groups are bound to a single Region and cannot span across multiple AWS Regions.
Ultimate access to all questions.
Question 4.
A company asks a SysOps administrator to provision an additional environment for an application in four additional AWS Regions. The application is running on more than 100 Amazon C2 instances in the us-east-1 Region, using fully configured Amazon Machine Images (AMIs). The company has an AWS CloudFormation template to deploy resources in us-east-1. What should the SysOps administrator do to provision the application in the MOST operationally efficient manner?
A
Copy the AMI to each Region by using the aws ec2 copy-image command. Update the CloudFormation template to include mappings for the copied AMIs.
B
Create a snapshot of the running instance. Copy the snapshot to the other Regions. Create an AMI from the snapshots. Update the CloudFormation template for each Region to use the new AMI.
C
Run the existing CloudFormation template in each additional Region based on the success of the template that is used currently in us-east-1.
D
Update the CloudFormation template to include the additional Regions in the Auto Scaling group. Update the existing stack in us-east-1.
No comments yet.