Topic 1 Question 341
A developer is deploying an application in the AWS Cloud by using AWS CloudFormation. The application will connect to an existing Amazon RDS database. The hostname of the RDS database is stored in AWS Systems Manager Parameter Store as a plaintext value. The developer needs 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 that contains the database hostname?
Use the ssm dynamic reference.
Use the Ref intrinsic function.
Use the Fn::ImportValue intrinsic function.
Use the ssm-secure dynamic reference.
ユーザの投票
コメント(6)
- 正解だと思う選択肢: A
As it is the DB hostname and not sensitive credentials I think ssm dynamic is the correct answer. Option D - is for secure string whereas this parameter is currently stored in plain text. For option C, I opted against this because for an import value, I believe there needs to be an export value from another template. The question didn't state that anything else was created via CF template. Option B - I understand to be used to reference another resource block that is in the same YAML template.
👍 6DeaconStJohn2024/03/26 A since the question stated that the value is just plain text, not a secureString type
👍 3be1dca82024/04/11- 正解だと思う選択肢: D👍 1KarBiswa2024/03/22
シャッフルモード