exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 843 discussion

Exam question from Amazon's AWS-SysOps
Question #: 843
Topic #: 1
[All AWS-SysOps Questions]

An Application team has asked a SysOps Administrator to provision an additional environment for an application in four additional regions. The application is running on more than 100 instances in us-east-1, using fully baked AMIs. An AWS CloudFormation template has been created to deploy resources in us-east-1.
What must the SysOps Administrator do to provision the application quickly?

  • A. Copy the AMI to each region using aws ec2 copy-image. Update the CloudFormation mapping to include mappings for the copied AMIs.
  • B. Create a snapshot of the running instance and 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 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.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
tiffanny
Highly Voted 2 years, 9 months ago
Ans : A
upvoted 13 times
tifoz
2 years, 9 months ago
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/copy-image.html
upvoted 1 times
...
...
vob
Highly Voted 2 years, 9 months ago
Not D. No mention of ASG. Not C. The template won't work in other regions unless modified. Not B. If you have an AMI, you would copy the AMI to another region, you would not need snapshots. Answer is A. The command exists and is correct in that you would need to update the mapping (static variable declaration of the AMI).
upvoted 9 times
...
albert_kuo
Most Recent 11 months, 2 weeks ago
Selected Answer: A
Option A is the most suitable approach for quickly provisioning the application in multiple regions. By using aws ec2 copy-image command, you can copy the existing fully baked AMI from the us-east-1 region to the four additional regions. This eliminates the need to create new AMIs manually in each region. After copying the AMI to each region, you should update the CloudFormation template's mapping section to include the mappings for the copied AMIs in the four additional regions. This allows the CloudFormation stack to use the correct AMI for each region during the deployment.
upvoted 1 times
...
gulu73
1 year, 5 months ago
Selected Answer: A
I vote for A
upvoted 1 times
...
RicardoD
2 years, 8 months ago
A is the answer
upvoted 1 times
...
abhishek_m_86
2 years, 8 months ago
A. Copy the AMI to each region using aws ec2 copy-image. Update the CloudFormation mapping to include mappings for the copied AMIs.
upvoted 2 times
...
jackdryan
2 years, 8 months ago
I'll go with A
upvoted 1 times
...
ataraxium
2 years, 8 months ago
Why not B?
upvoted 3 times
Cyril_the_Squirl
2 years, 8 months ago
It’s a tricky play on words, there’s no option to create a snapshot of the ec2 instance like option B suggests. You can only create either a launch template or an ami image from ec2.
upvoted 1 times
...
...
MFDOOM
2 years, 8 months ago
A. Copy the AMI to each region using aws ec2 copy-image. Update the CloudFormation mapping to include mappings for the copied AMIs.
upvoted 1 times
...
MegatonN
2 years, 9 months ago
AMI id is unique / region To copy AMI to on other region you need to: - create a snapshot - copy the snapshot to an other region - create a AMI from the snapshot (per region) With this new AMI id you can modify your cloudformation template and run the creation
upvoted 2 times
Tom_tank
2 years, 9 months ago
https://aws.amazon.com/blogs/aws/ec2-ami-copy-between-regions/#:~:text=You%20can%20copy%20the%20same,the%20AMI%20to%20end%20up.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...