AWS Certified Developer - Associate

AWS Certified Developer - Associate

Get started today

Ultimate access to all questions.


In an AWS serverless application with a Lambda function interfacing with an Amazon RDS PostgreSQL database, how should a developer manage and regularly rotate database user credentials using AWS Secrets Manager to maintain high availability without application downtime?




Explanation:

The correct answer is D: Implement automatic rotation with alternating users. Using AWS Secrets Manager, automatic rotation with alternating users ensures high availability and eliminates downtime during secret rotation. This strategy involves maintaining two sets of credentials and rotating the inactive set before switching to it, which allows the application to continue using the active credentials without interruption. This meets the requirement of regular password rotation, high availability, and no downtime.