Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can a developer securely store and automatically rotate database credentials for an application running on Amazon EC2, without hardcoding them into the application code?
A
By using IAM roles with database access permissions attached to EC2 instances.
B
By utilizing AWS Secrets Manager to store and retrieve credentials.
C
By encrypting credentials in an S3 bucket and downloading them during EC2 instance launch.
D
By storing credentials in a DynamoDB table and updating them with a Lambda function triggered by CloudWatch Events.