RDS performance monitoring: SOA-C03 study notes and practice questions
What to know about RDS performance monitoring for the SOA-C03 exam, from the Monitoring, Logging, Analysis, Remediation, and Performance Optimization domain (22% of the exam guide), then 1 free question to test it. Part of the SOA-C03 study guide.
A pet insurer's claims intake uses AWS Lambda functions that write to an Amazon RDS for PostgreSQL DB instance.
During a marketing campaign, thousands of functions ran at once and the database rejected new connections with too many clients errors, although CPU stayed below 40 percent.
The team wants to absorb these bursts without changing the database engine or the instance size.
What should a CloudOps engineer do?
Choose one answer.
AA. Create a read replica and point half of the Lambda functions at it so that connections are split across two instances.
BB. Raise max_connections in the DB parameter group to the highest value allowed so that the instance accepts every connection.
CC. Put an RDS Proxy in front of the DB instance and have the Lambda functions connect to the proxy endpoint instead.
DD. Turn on Performance Insights and find the SQL statements that hold connections the longest, then tune them.
C. Right: Correct. RDS Proxy keeps a pool of database connections and shares them among many clients. Bursts of short-lived Lambda connections are multiplexed onto fewer database connections. Learn more: Amazon RDS Proxy (opens in a new tab)
Serverless clients open many short-lived connections, and with low CPU the limit is connections, not compute. RDS Proxy pools and reuses connections so that bursts reach the database as a manageable number. Read replicas cannot take writes, a higher max_connections risks memory, and Performance Insights diagnoses rather than fixes.
Thousands of short Lambda connections land on the proxy, and the database sees a small pool it can handle.
Want more on RDS performance monitoring? The 5 full-length practice sets have 6 more RDS performance monitoring questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →