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

You are given the following sampled outputs taken at the same time:

iostat -x 1 2 (relevant line):
Device r/s w/s rkB/s wkB/s avgrq-sz await svctm %util
sda 50.0 200.0 1024.0 8192.0 45.0 25.0 2.50 62.5

vmstat 1 2:
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa st
4 0 0 50000 20000 100000 0 0 200 150 1000 2000 40 10 10 40 0

Based on these snippets, which resource is currently the most likely bottleneck and why? What immediate action would you take and what additional metrics or commands would you collect to confirm your diagnosis?

MediumTechnical
64 practiced

Explain how you would determine whether a latency regression is caused by increased contention (locks) versus increased garbage collection in a JVM service. Which metrics and tooling would you use and what patterns would confirm each hypothesis?

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.

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

A slow-burning degradation has increased P99 latency by 10% over four weeks; SLOs are still technically within limits but customer complaints have risen. Telemetry gaps make root cause unclear. Describe an investigative roadmap with prioritized experiments, data backfill strategies, temporary mitigations, and a long-term plan to prevent recurrence and improve observability.

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.