DVA-C02 exam dumps

DVA-C02 practice question 208 of 399

AWS Certified Developer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DVA-C02 Question 208

Single answer

You are developing a serverless application that runs on AWS Lambda and needs to access a database. The database credentials must be securely stored and rotated automatically to enhance security. Which AWS service should you use to achieve this?

  1. A

    AWS Secrets Manager

  2. B

    Amazon S3

  3. C

    AWS Systems Manager Parameter Store

  4. D

    AWS Key Management Service (KMS)

Show answer and explanation

Correct answer: A

Explanation

AWS Secrets Manager is the appropriate service for securely storing and automatically rotating secrets such as database credentials. While AWS Systems Manager Parameter Store can also securely store secrets, it does not support automatic rotation, which is required in this scenario. Other options like Amazon S3 and AWS KMS are not designed for secrets management.

  • A. Correct.

    AWS Secrets Manager is designed specifically for securely storing, managing, and automatically rotating secrets such as database credentials, making it the ideal service for this use case.

  • B. Incorrect.

    Amazon S3 is a storage service and is not designed for securely managing secrets or credentials.

  • C. Incorrect.

    AWS Systems Manager Parameter Store can store parameters securely, but it does not provide automatic rotation of secrets, which is a key requirement in this scenario.

  • D. Incorrect.

    AWS Key Management Service (KMS) is used for managing encryption keys, not for storing or rotating secrets like database credentials.

Timed practice exam

Take a DVA-C02 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam