nerdexam
Amazon

SCS-C02 · Question #141

A company needs to follow security best practices to deploy resources from an AWS CloudFormation template. The CloudFormation template must be able to configure sensitive database credentials. The…

The correct answer is A. Use a dynamic reference in the CloudFormation template to reference the database credentials in. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-

Submitted by femi9· Mar 6, 2026Data Protection

Question

A company needs to follow security best practices to deploy resources from an AWS CloudFormation template. The CloudFormation template must be able to configure sensitive database credentials. The company already uses AWS Key Management Service (AWS KMS) and AWS Secrets Manager. Which solution will meet the requirements?

Options

  • AUse a dynamic reference in the CloudFormation template to reference the database credentials in
  • BUse a parameter in the CloudFormation template to reference the database credentials. Encrypt
  • CUse a SecureString parameter in the CloudFormation template to reference the database
  • DUse a SecureString parameter in the CloudFormation template to reference an encrypted value in

How the community answered

(38 responses)
  • A
    79% (30)
  • B
    8% (3)
  • C
    3% (1)
  • D
    11% (4)

Explanation

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-

Topics

#CloudFormation dynamic references#Secrets Manager#database credentials#KMS encryption

Community Discussion

No community discussion yet for this question.

Full SCS-C02 Practice