exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 10 discussion

A SysOps administrator is troubleshooting an AWS CloudFormation template whereby multiple Amazon EC2 instances are being created. The template is working in us-east-1, but it is failing in us-west-2 with the error code:
AMI [ami-12345678] does not exist
How should the Administrator ensure that the AWS CloudFormation template is working in every region?

  • A. Copy the source region's Amazon Machine Image (AMI) to the destination region and assign it the same ID.
  • B. Edit the AWS CloudFormation template to specify the region code as part of the fully qualified AMI ID.
  • C. Edit the AWS CloudFormation template to offer a drop-down list of all AMIs to the user by using the AWS::EC2::AMI::ImageID control.
  • D. Modify the AWS CloudFormation template by including the AMI IDs in the ג€Mappingsג€ section. Refer to the proper mapping within the template for the proper AMI ID.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
Goozian
Highly Voted 7 months, 1 week ago
Selected Answer: D
Parameters: EnvironmentType: Description: The environment type Type: String Default: test AllowedValues: - prod - test ConstraintDescription: must be a prod or test Mappings: RegionAndInstanceTypeToAMIID: us-east-1: test: "ami-8ff710e2" prod: "ami-f5f41398" us-west-2: test: "ami-eff1028f" prod: "ami-d0f506b0" ...other regions and AMI IDs... Resources: ...other resources... Outputs: TestOutput: Description: Return the name of the AMI ID that matches the region and environment type keys Value: !FindInMap [RegionAndInstanceTypeToAMIID, !Ref "AWS::Region", !Ref EnvironmentType]
upvoted 11 times
...
Finger41
Highly Voted 2 years, 11 months ago
Selected Answer: D
D - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/mappings-section-structure.html
upvoted 6 times
...
64rl0
Most Recent 7 months, 3 weeks ago
Selected Answer: D
Answer is D
upvoted 1 times
...
NAVADIYA
1 year, 6 months ago
D. Modify the AWS CloudFormation template by including the AMI IDs in the ג€Mappingsג€ section. Refer to the proper mapping within the template for the proper AMI ID.
upvoted 1 times
...
nolly222
1 year, 8 months ago
Selected Answer: D
ddddddddd
upvoted 1 times
...
gasgasjb
2 years, 4 months ago
Selected Answer: D
D. Mappings Section.
upvoted 2 times
jipark
1 year, 8 months ago
"Refer To" is key word
upvoted 1 times
...
...
michaldavid
2 years, 4 months ago
Selected Answer: D
ddddddddd
upvoted 1 times
...
Liongeek
2 years, 5 months ago
Ans: D
upvoted 1 times
...
Surferbolt
2 years, 6 months ago
Selected Answer: D
D. I may be wrong in the details, but if I recall correctly, AMI IDs are different for different Region, and Mappings in CloudFormation template can solve the problem described.
upvoted 3 times
...
Mecdrox
3 years ago
Selected Answer: D
I vote D. Mappings is the solution.
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago