As asked
Tell me about a time you investigated a production incident in a Go service. What symptoms did you observe, what tools did you use to diagnose it, and what did you find?
Sample answer outline
A strong answer follows STAR and names specific Go tools: pprof, trace, expvar, Prometheus metrics, or log analysis. The candidate should describe the initial symptom (high latency, OOM, goroutine count spike), the diagnostic steps (collecting a profile, reading a flame graph, checking goroutine stacks), the root cause (goroutine leak, GC pressure, lock contention), and the fix with its measured impact.
Expect these follow-ups
- How did you verify the fix actually resolved the issue rather than masking it?
- What observability would you add to prevent this class of incident in the future?