Rocket Interview Question

How do you troubleshoot a bottleneck on the backend? And how do you optimize it?