AWS Certified Developer Associate DVA-C02 Practice Question

A developer is creating a Lambda function that will be interacting with an Amazon RDS instance. The Lambda function should not store the database credentials in the code, and the credentials might change periodically. The developer wishes to securely manage these credentials and ensure that they can be updated without redeploying the Lambda function. What is the MOST appropriate way to manage the database credentials?

  • Store the database credentials as environment variables within the Lambda function's configuration.

  • Retrieve the database credentials from AWS Secrets Manager at the start of the Lambda function's execution.

  • Embed the database credentials in the Lambda function's code and update the code when credentials change.

  • Use AWS Systems Manager Parameter Store to manually rotate and update the database credentials.

AWS Certified Developer Associate DVA-C02
Deployment
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot