Performance Troubleshooting & Incident Response Questions

Diagnosing and resolving performance problems in production, often under time pressure. Covers latency and slowdown investigation, reproducing and narrowing performance regressions, reading live diagnostic evidence (logs, thread dumps, resource and network captures), runbooks and automated remediation for recurring incidents, restoring healthy behavior while preserving reliability, and communicating status and escalation decisions mid-incident. Emphasizes systematic debugging of live systems over offline experimentation.

MediumTechnical
87 practiced

You are asked to craft a runbook for a recurring incident where CPU load spikes every hour on the hour. Write the steps to triage, temporary mitigations (one-line each), and a prioritized list of long-term investigations to find the root cause.

HardTechnical
65 practiced

A distributed service shows sporadic 5-10 second latency spikes. Metrics show brief CPU usage increases and GC pause time increases at the same times, but also an uptick in external API retries. Propose a root cause analysis plan that accounts for these mixed signals and outline how you'd isolate the true cause.

HardTechnical
55 practiced

You suspect subtle lock contention is behind p99 latency spikes at high concurrency in a performance-critical C++ service. Propose a methodology, using tools like perf and lock-profiling instrumentation, to pinpoint exactly where the contention is happening and confirm that's really the cause. Once you've confirmed it, how would you decide which fix is worth the engineering cost?

MediumTechnical
49 practiced

A Java microservice is responding slowly. You are asked to request and interpret a thread dump. What specific things do you look for in a thread dump to determine if the service is CPU bound, blocked on IO, or suffering from thread contention? Provide examples of patterns you would spot.

MediumTechnical
46 practiced

A production API's 95th percentile latency increased from 300ms to 1.2s after a recent feature rollout. The team suspects an N+1 database query regression. Describe how you would detect and verify the N+1 problem in production, propose a fix, estimate the complexity of the fix, and describe how you would test the fix before deploying to production.

Unlock Full Question Bank

Get access to all 34 Performance Troubleshooting & Incident Response interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.