
AWS Certified Developer - Associate
Get started today
Ultimate access to all questions.
An ecommerce site using AWS Lambda and Amazon RDS for MySQL encounters 'too many connections' errors during peak order periods despite healthy RDS metrics. What action should resolve this?
An ecommerce site using AWS Lambda and Amazon RDS for MySQL encounters 'too many connections' errors during peak order periods despite healthy RDS metrics. What action should resolve this?
Explanation:
The correct answer is B: Implement RDS Proxy to efficiently manage connections in high-access environments. RDS Proxy is designed to handle a large number of database connections by pooling and reusing connections, which reduces the overhead of establishing new connections and helps mitigate the 'too many connections' error. Options A, C, and D involve either changing database settings or managing Lambda concurrency, but they do not directly address the root cause of connection saturation as effectively as using RDS Proxy.