Q37 — AWS DVA-C02 Ch.1
Question 37 of 100 | ← Chapter 1
A developer is using AWS CloudFormation to deploy an application in the AWS cloud. The application connects to an existing Amazon RDS database. The RDS database hostname is stored as plaintext in AWS Systems Manager Parameter Store. The developer wants to incorporate the database hostname into the CloudFormation template to initialize the application when the stack is created. How should the developer reference the parameter containing the database hostname?
- A. Use an ssm dynamic reference. ✓
- B. Use the Ref intrinsic function.
- C. Use the Fn::ImportValue intrinsic function.
- D. Use an ssm-secure dynamic reference.
Correct Answer: A. Use an ssm dynamic reference.
Explanation
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html