AWS Certified Developer – Associate — Question 207
An AWS Elastic Beanstalk application needs to be deployed in multiple regions and requires a different Amazon Machine Image (AMI) in each region.
Which AWS CloudFormation template key can be used to specify the correct AMI for each region?
Answer options
- A. Parameters
- B. Outputs
- C. Mappings
- D. Resources
Correct answer: C
Explanation
The correct answer is C, Mappings, as this key allows you to define specific values based on conditions such as region. The other options do not serve this purpose: A (Parameters) is used for input values, B (Outputs) is for returning information after stack creation, and D (Resources) defines the resources to be created.