An application running on Amazon EC2 needs to access an Amazon RDS database without hardcoding credentials. Which AWS service should be used to securely store and retrieve the credentials?
Answer
AWS Secrets Manager
Explanation
AWS Secrets Manager is designed to securely store and automatically rotate database credentials. Parameter Store (String) does not provide automatic rotation and is not encrypted by default.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A SysOps administrator is using AWS Systems Manager Session Manager to connect to EC2 instances. Which prerequisite must be met for Session Manager to work?
View question →
A company wants to receive a notification when the CPU utilization of an EC2 instance exceeds 80% for 5 minutes. Which combination of services should be used?
View question →
A SysOps administrator needs to store application logs in a durable and cost-effective manner for long-term retention. The logs are infrequently accessed but must be retrievable within minutes. Which storage class is MOST suitable?
View question →
An application running on EC2 instances in a private subnet needs to access Amazon S3 without using the public internet. What should be configured?
View question →
A SysOps administrator must ensure that an RDS database is not publicly accessible. Which action should be taken?
View question →
A company needs to automate the creation of AMIs from EC2 instances on a weekly basis. Which service should be used?
View question →