Free AWS Certified Developer Associate DVA-C02 Practice Question

A developer needs to ensure that the credentials used by a serverless function to connect to a database are stored securely and are not exposed in plain text. What is the recommended method for managing the credentials to maximize security?

  • Hardcode the credentials directly into the code base that is part of the serverless function.

  • Encrypt the credentials manually and include them as part of the serverless function's environment variables.

  • Leverage a secrets manager to handle the credentials and retrieve them dynamically within the serverless function.

  • Place the encrypted credentials in a cloud storage service bucket and retrieve them via the serverless function.

This question's topic:
AWS Certified Developer Associate DVA-C02 / 
Security
Your Score:

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