
Answer-first summary for fast verification
Answer: Deploy an Amazon RDS Proxy to manage database connections, directing queries through the proxy.
The correct answer is D. Amazon RDS Proxy is designed to sit between your applications and the database to pool and share database connections. This reduces the number of concurrent connections to the database, thus preventing the 'too many connections' error. This solution requires the least operational effort as RDS Proxy handles connection management automatically, making it suitable for applications like AWS Lambda functions that may create many database connections simultaneously.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
An AWS Lambda function queries an Amazon Aurora MySQL DB instance, resulting in a 'too many connections' error during testing. What is the least operationally intensive solution?
A
Implement a read replica for the DB instance, directing queries to the replica instead of the primary.
B
Transition data to Amazon DynamoDB.
C
Enable Multi-AZ deployment for the Aurora MySQL DB instance.
D
Deploy an Amazon RDS Proxy to manage database connections, directing queries through the proxy.
No comments yet.