
Ultimate access to all questions.
The development team at a company is planning to create an AWS CloudFormation template. Their objective is to automatically populate the AWS Region variable during the deployment process to streamline operations and avoid manual input errors.
What is the MOST operationally efficient method to detect and set the Region in which the CloudFormation template is being deployed?
A
Create an AWS Lambda-backed custom resource for Region and let the desired value be populated at the time of deployment by the Lambda
B
Use the AWS::Region pseudo parameter
C
Create a CloudFormation parameter for Region and let the desired value be populated at the time of deployment
D
Set up a mapping containing the key and the named values for all AWS Regions and then have the CloudFormation template auto-select the desired value