Monitoring, Logging, Analysis, Remediation, and Performance Optimization

An AWS Lambda application opens many short-lived connections to an RDS for PostgreSQL instance, causing connection failures during traffic spikes. Database CPU and storage utilization remain low; which change BEST addresses the problem?

Show the answer

Correct answerB. Route application connections through RDS Proxy.

AWhy not this: A Multi-AZ standby improves availability rather than managing application connection spikes.

BWhy this is right: Connection pooling reduces the overhead and pressure caused by many short-lived database connections.

CWhy not this: Additional storage IOPS will not address connection churn when storage utilization is low.

DWhy not this: Additional subnets do not pool connections or reduce database connection overhead.

RDS Proxy pools and reuses database connections, reducing connection churn and helping absorb connection spikes. Multi-AZ improves availability but does not pool application connections.