DVA-C02 · Question #723
A developer is building an AWS SAM template for an application. The developer needs to configure values that change depending on the target AWS Region of the SAM template. The developer must…
The correct answer is B. Use the Mappings section in the AWS SAM template to create a Region map that lists the E. Configure the Conditions section in the AWS SAM template. Use the Fn::Equals function to. Use Mappings to define Region-specific values and retrieve them with Fn::FindInMap during Use Conditions with Fn::Equals (typically against a parameter like EnvType) to control whether resources are created for a given environment.
Question
A developer is building an AWS SAM template for an application. The developer needs to configure values that change depending on the target AWS Region of the SAM template. The developer must configure resources in the template to exist depending on the target deployment application environment. Which solutions will meet these requirements? (Choose two.)
Options
- AUse the Transform section in the AWS SAM template to associate the Regions with the
- BUse the Mappings section in the AWS SAM template to create a Region map that lists the
- CConfigure the Parameters section in the AWS SAM template. Use the Fn::ForEach function to
- DConfigure the Outputs section in the AWS SAM template. Use the Export field to extract the
- EConfigure the Conditions section in the AWS SAM template. Use the Fn::Equals function to
How the community answered
(47 responses)- A9% (4)
- B70% (33)
- C4% (2)
- D17% (8)
Explanation
Use Mappings to define Region-specific values and retrieve them with Fn::FindInMap during Use Conditions with Fn::Equals (typically against a parameter like EnvType) to control whether resources are created for a given environment.
Community Discussion
No community discussion yet for this question.