exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 118 discussion

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?

  • A. Create a database user. Store the user name and password in an AWS Systems Manager Parameter Store secure string parameter. Enable rotation of the AWS Key Management Service (AWS KMS) key that is used to encrypt the parameter.
  • B. Enable IAM authentication for the database. Create a database user for use with IAM authentication. Enable password rotation.
  • C. Create a database user. Store the user name and password in an AWS Secrets Manager secret that has daily rotation enabled.
  • D. Use the EC2 user data to create a database user. Provide the user name and password in environment variables to the application.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
MrTee
Highly Voted 2 years ago
Selected Answer: C
option C: 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 requirements.
upvoted 14 times
...
sumanshu
Most Recent 3 months, 4 weeks ago
Selected Answer: C
It can automatically rotate the credentials for supported databases A) Eliminated - it does not natively support automatic credential rotation for databases.
upvoted 1 times
...
Saurabh04
8 months, 3 weeks ago
Correct Answer should be A: This approach centralizes credential management and provides secure storage. Rotation can be scheduled weekly as required by the security team1.
upvoted 1 times
...
65703c1
11 months, 1 week ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
SerialiDr
1 year, 3 months ago
Selected Answer: C
C. Create a database user. Store the user name and password in an AWS Secrets Manager secret that has daily rotation enabled: This is the correct solution. AWS Secrets Manager is specifically designed to handle secrets like database credentials, including their rotation. You can configure Secrets Manager to automatically rotate the credentials as frequently as needed (e.g., daily or weekly), which aligns with the security team's requirements.
upvoted 2 times
...
jipark
1 year, 8 months ago
Selected Answer: C
rotation key & cross account key is feature of Secret Manager https://tutorialsdojo.com/aws-secrets-manager-vs-systems-manager-parameter-store/
upvoted 2 times
...
Baba_Eni
1 year, 10 months ago
Selected Answer: C
https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_turn-on-for-other.html https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_schedule.html
upvoted 3 times
...
loctong
1 year, 11 months ago
Selected Answer: C
the keyword is "rotation"
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago