
Ultimate access to all questions.
An e-commerce company operates an application on AWS, utilizing Amazon API Gateway to invoke AWS Lambda functions. The application's data is managed in an Amazon RDS for PostgreSQL database instance. During a recent flash sale event, the application experienced degraded performance due to a surge in API calls. Upon reviewing Amazon CloudWatch metrics, a solutions architect identified a sharp rise in Lambda invocations, database connections, and high CPU utilization on the DB instance. What measures should the solutions architect propose to enhance the application's performance under such high-traffic conditions?
A
Increase the memory allocation for the Lambda function and ensure the function closes database connections immediately after data retrieval.
B
Implement an Amazon ElastiCache for Redis cluster to cache frequently accessed data from the RDS database, reducing direct database load.
C
Establish an RDS proxy through the Lambda console and reconfigure the Lambda function to utilize this proxy endpoint for database connections.
D
Adjust the Lambda function to establish database connections outside of the function handler and verify the existence of an active connection before creating a new one.