passdrill
AWS SAA-C03 · RDS, DynamoDB & Databases · Card 005/014 medium

A serverless application uses AWS Lambda functions that each open a new connection to an RDS MySQL database on every invocation, and during traffic spikes the database frequently runs out of available connections. Which change addresses this without redesigning the application's connection logic?

  1. Place Amazon RDS Proxy in front of the database and have the functions connect through it
  2. Increase the Lambda function's memory allocation
  3. Switch the database from RDS to DynamoDB on-demand mode
  4. Enable RDS storage autoscaling on the DB instance
Next card → Shuffle