AWS Certified Database – Specialty — Question 5

A clothing company uses a custom ecommerce application and a PostgreSQL database to sell clothes to thousands of users from multiple countries. The company is migrating its application and database from its on-premises data center to the AWS Cloud. The company has selected Amazon EC2 for the application and Amazon RDS for PostgreSQL for the database. The company requires database passwords to be changed every 60 days. A Database Specialist needs to ensure that the credentials used by the web application to connect to the database are managed securely.
Which approach should the Database Specialist take to securely manage the database credentials?

Answer options

Correct answer: C

Explanation

Option C is the correct answer because AWS Secrets Manager is specifically designed to manage and rotate credentials securely, ensuring that the application retrieves the latest credentials automatically. Options A and D involve manual updates and potential security risks by storing credentials in less secure locations. Option B is not suitable since it requires every ecommerce user to have individual database user credentials, complicating management and security.