InterviewStack.io LogoInterviewStack.io

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.

MediumTechnical
57 practiced

An internal service has experienced increased p99 latency spikes. Walk through the investigative steps you would take: which telemetry to examine, experiments you would run (load, profiling, fault injection), potential fixes across code, resources, network and configuration, and how you would prioritize short-term mitigations versus long-term architecture work.

MediumTechnical
52 practiced

After a deploy your service p95 latency increased by 40%. Describe a step-by-step decomposition of the investigation you would perform: what metrics to check, how to narrow down the responsible component, profiling approaches (cpu/memory/thread), and how to validate a potential rollback or fix. Mention tools you would use in a typical cloud environment.

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.

MediumTechnical
63 practiced

You observe a 30% increase in 95th-percentile latency for a core service after a library upgrade. Walk through how you would investigate the regression, choose between rollback and patching, and craft a communication plan to customers and internal stakeholders.

HardTechnical
48 practiced

A search service is experiencing high tail latency under load. Describe a systematic debugging and optimization plan: what metrics to collect, tools to use (profilers, tracing), likely culprits (GC, lock contention, I/O), and concrete optimizations (index tuning, batching, asynchronous work). Explain how you'd validate improvements.

That is every published Performance Troubleshooting & Incident Response question for Software Engineer so far. Browse the other topics in this category, or practice this one interactively.