
Explanation:
AWS Secrets Manager provides a secure and automated way to manage and rotate credentials. Option B is the correct approach as it involves generating a new secret in AWS Secrets Manager and configuring it to automatically rotate the credentials based on a predefined schedule. This ensures that the credentials are always up-to-date and reduces the risk of unauthorized access. Option A requires manual intervention, while options C and D do not leverage the full capabilities of AWS Secrets Manager.
Ultimate access to all questions.
No comments yet.
Your company is using AWS Secrets Manager to manage and rotate credentials for various applications. You need to create a new secret for a database that requires a username and password. Which of the following steps should you take to create and manage the secret?
A
Create a new secret in AWS Secrets Manager and manually enter the username and password.
B
Generate a new secret in AWS Secrets Manager and configure it to automatically rotate the credentials based on a predefined schedule.
C
Store the username and password in a configuration file and reference the file in the application.
D
Use an external secrets management tool to create and manage the secret.