
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company has launched an Amazon RDS for MySQL DB instance. Most of the connections to the database come from serverless applications. Application traffic to the database changes significantly at random intervals. At times of high demand, users report that their applications experience database connection rejection errors.
Which solution will resolve this issue with the LEAST operational overhead?
A
Create a proxy in RDS Proxy. Configure the users' applications to use the DB instance through RDS Proxy.
B
Deploy Amazon ElastiCache for Memcached between the users' applications and the DB instance.
C
Migrate the DB instance to a different instance class that has higher I/O capacity. Configure the users' applications to use the new DB instance.
D
Configure Multi-AZ for the DB instance. Configure the users' applications to switch between the DB instances.
Explanation:
Correct Answer: A
Why RDS Proxy is the best solution:
Connection Pooling: RDS Proxy maintains a pool of established database connections that can be shared across multiple applications. This prevents connection exhaustion during traffic spikes.
Serverless Compatibility: RDS Proxy is specifically designed to work well with serverless applications (like AWS Lambda) that can create many concurrent connections during high demand.
Least Operational Overhead: RDS Proxy is a managed service that automatically handles connection management, requiring minimal configuration and maintenance.
Connection Reuse: Instead of each application creating new connections (which can hit database connection limits), RDS Proxy reuses existing connections efficiently.
Why other options are incorrect:
B. Amazon ElastiCache for Memcached:
C. Migrate to higher I/O capacity instance:
D. Configure Multi-AZ:
Key AWS Concepts: