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
59 practiced

Describe the steps and considerations for diagnosing a production service whose memory usage grows steadily and is correlated with specific API requests. Include how you'd collect evidence, minimize customer impact, and decide between restarting vs fixing the code.

EasyTechnical
61 practiced

You need to quickly determine whether a database is the bottleneck for a slow API. Describe three lightweight checks you can perform without changing application code, and one safe, immediate mitigation if the DB is overloaded.

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.

HardTechnical
63 practiced

A service uses three cache layers: in-process memory, local disk cache, and a remote object store. Occasionally requests spike from low ms to hundreds of ms. Design experiments and telemetry to determine which cache layer is responsible for spikes and how to attribute each request's latency to a specific layer, including how you would instrument the request path and what sampling strategy you would use to keep overhead acceptable.

MediumTechnical
52 practiced

After a deploy, your service's p95 latency jumps 40% and holds there. Walk through how you would investigate: what telemetry and traces you would check first, what experiments you would run (including load tests and fault injection) to narrow the cause down to CPU, GC, network, or a downstream dependency, and how you would decide between rolling back the deploy and shipping a targeted fix.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.