USAA Interview Question

5. You have a web app that interacts with a backend database. The web app is experiencing latency. How do you debug it?