Diagnosing post-deployment performance issues is a matter of using metrics and logs to pinpoint the bottleneck quickly, stabilizing production with a rollback if needed, then fixing and redeploying the root cause.
After a release, Grafana showed a sustained CPU spike traced back to a new endpoint doing a database call inside a loop; the team rolled back immediately, then fixed the query into a single batched call before redeploying.
A concise interview answer is
I'd use Prometheus and Grafana to find exactly where response times degraded, which usually points to something like a CPU spike or a bad query. If it's serious, I roll back first to stabilize production, then fix and test the root cause before redeploying, and keep watching the metrics afterward to confirm it's really fixed.
Last updated: 16 July 2026
Previous question: How can containerization (using Docker) improve your deployment process?
Next question: Explain the concept of blue-green deployment and its advantages.