Connect .NET Lambda Functions to Aurora
Talk it through out loud with your AI coach.
The problem
- hard
- Pro
A .NET Lambda function behind an API connects to an Aurora PostgreSQL database. During a traffic spike the database refuses new connections and the API fails, though the database CPU is low. Explain why, and how you'd fix it.
What a strong answer covers
- How Lambda's scaling model meets a database's connection limit.
- A managed service built for this problem.
- Putting a ceiling on how hard the function can push the database.
- Other ways to talk to the database or reduce load.
Common mistake: Raising the database's maximum connections, which only moves the limit and spends memory on idle connections.
Knowing this is half of it. Saying it clearly out loud is the part the coach helps you practise.
Practise it out loud