nerdexam
Amazon

DVA-C02 · Question #133

A developer is writing an application for a company. The application will be deployed on Amazon EC2 and will use an Amazon RDS for Microsoft SQL Server database. The company's security team requires t

The correct answer is C. Create a database user. Store the user name and password in an AWS Secrets Manager secret. Create a database user. Store the user name and password in an AWS Secrets Manager secret that has daily rotation enabled. This will allow the developer to securely store the database credentials and automatically rotate them at least weekly to meet the company's security

Submitted by klara.se· Mar 5, 2026Security

Question

A developer is writing an application for a company. The application will be deployed on Amazon EC2 and will use an Amazon RDS for Microsoft SQL Server database. The company's security team requires that database credentials are rotated at least weekly. How should the developer configure the database credentials for this application?

Options

  • ACreate a database user. Store the user name and password in an AWS Systems Manager
  • BEnable IAM authentication for the database. Create a database user for use with IAM
  • CCreate a database user. Store the user name and password in an AWS Secrets Manager secret
  • DUse the EC2 user data to create a database user. Provide the user name and password in

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    12% (4)
  • C
    79% (26)
  • D
    3% (1)

Explanation

Create a database user. Store the user name and password in an AWS Secrets Manager secret that has daily rotation enabled. This will allow the developer to securely store the database credentials and automatically rotate them at least weekly to meet the company's security

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice