AWS Certified Solutions Architect Associate SAA-C03 Practice Question
An online retail application experiences unpredictably variable workloads, resulting in sporadic bursts of concurrent connections to its relational database. The application runs on a fleet of instances which autoscale according to demand. Which is the most effective solution to manage these connection bursts while maintaining optimal database performance?
Configure a buffering layer with a message queue to manage incoming requests.
Increase the database instance size to accommodate more connections.
Incorporate a managed database connection pooler to efficiently handle the surges in traffic.
Scale the database by adding more read replicas to distribute the traffic.
The deployment of a managed database connection pooler in this context is the most effective solution. It helps in absorbing connection spikes, thereby maintaining database performance without exhausting its connection limit. AWS provides a service specifically for this purpose, allowing applications to pool database connections and resulting in increased efficiency for managing bursts of connections and ensuring the health and responsiveness of the database. This solution stands out because it preserves compute resources and maintains high database availability without requiring changes to the application. Other options like creating a buffering layer with a queue or enhancing compute resources of the database instance address different aspects of the problem but do not provide a direct solution for managing connection bursts as efficiently.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a managed database connection pooler?
Open an interactive chat with Bash
What is Amazon RDS Proxy and how does it help with database connection management?
Open an interactive chat with Bash
Why are other options like scaling the database or adding read replicas not ideal for managing connection bursts?