AWS Certified Developer Associate DVA-C01 – Question121

A developer is creating an AWS CloudFormation template for an application. The application includes an Amazon RDS database. The password to be set for the resource's MasterUserPassword property is already stored in AWS Secrets Manager.
How can the developer reference the value of the password in the CloudFormation template?

A.
Use a parameter in the CloudFormation template with the same name of the secret.
B. Use the ssm dynamic reference by specifying the name of the secret and its version.
C. Use the secretsmanager dynamic reference by specifying the appropriate reference-key segment.
D. Use the ssm-secure dynamic reference by specifying the name of the secret and its version.

Correct Answer: C