A company is running a serverless application on AWS Lambda. The application stores data in an Amazon RDS for MySQL DB instance. Usage has steadily increased, and recently there have been numerous "too many connections" errors when the Lambda function attempts to connect to the database. The company already has configured the database to use the maximum max_connections value that is possible.
What should a SysOps administrator do to resolve these errors?
A . Create a read replica of the database. Use Amazon Route 53 to create a weighted DNS record that contains both databases.
B . Use Amazon RDS Proxy to create a proxy. Update the connection string in the Lambda function.
C . Increase the value in the max_connect_errors parameter in the parameter group that the database uses.
D . Update the Lambda function’s reserved concurrency to a higher value.
Answer: A
Leave a Reply