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?
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.
Increase the database instance size to accommodate more connections.
Configure a buffering layer with a message queue to manage incoming requests.
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 and how does it work?
Open an interactive chat with Bash
How does using a connection pooler improve database performance during traffic spikes?
Open an interactive chat with Bash
What are the potential downsides of not using a connection pooler for a database?