
Answer-first summary for fast verification
Answer: Utilize the ssm dynamic reference.
The correct answer is A: Utilize the ssm dynamic reference. Within AWS CloudFormation templates, dynamic references can be used to retrieve values stored in AWS Systems Manager Parameter Store at the time the stack is created or updated. The ssm dynamic reference is appropriate for plaintext parameters, making it the correct choice to reference the RDS database hostname stored in AWS Systems Manager Parameter Store. Other options like using the Ref intrinsic function or Fn::ImportValue are not suitable for this use case. The ssm-secure dynamic reference is specifically used for secure string parameters, not plaintext values.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
When deploying an application using AWS CloudFormation that requires a connection to an existing Amazon RDS database, and the RDS database hostname is stored as plaintext in AWS Systems Manager Parameter Store, how should the developer reference this hostname within the CloudFormation template for application initialization?
A
Utilize the ssm dynamic reference.
B
Employ the Ref intrinsic function.
C
Leverage the Fn::ImportValue intrinsic function.
D
Implement the ssm-secure dynamic reference.