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, operational readiness for performance incidents, and restoring healthy behavior while preserving reliability. Emphasizes systematic debugging of live systems over offline experimentation.
You have the following log snippet from a backend service:
[2025-06-01T12:34:10Z] WARN request_id=abc123 duration_ms=1200 upstream=database timeout_ms=1000
[2025-06-01T12:34:11Z] WARN request_id=def456 duration_ms=1400 upstream=cache timeout_ms=500
What immediate conclusions can you draw about the type of performance problem, and what next steps would you take to validate and prioritize fixes?
Describe how to use Go's pprof to diagnose a CPU spike in a Go backend. Include commands to capture a profile, how to generate a flamegraph or web view, and one example interpretation of a hot function in the profile.
You see the following iostat sample for a problematic server (columns: rrqm/s wrqm/s r/s w/s rsec/s wsec/s await)
Device: sda
r/s: 0.1 w/s: 120 rsec/s: 0 wsec/s: 307200 await: 12.5
Interpret this data: what does it say about IO pattern and potential problem? What next diagnostic commands would you run and why?
In Kubernetes, a pod shows CPU throttling (cpu.cfs_throttled_periods increased). Describe why throttling happens, how it affects latency, and three actions you can take to investigate and mitigate the impact on the service.
Discuss advanced diagnostics for intermittent memory-corruption or native crashes in a backend service (e.g., segmentation faults). Include how you'd safely collect core dumps, correlate with metrics/traces, and strategies to find reproducible test cases.
Unlock Full Question Bank
Get access to all 48 Performance Troubleshooting & Incident Response interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.