A method for troubleshooting rounds
You will not know the answer to every troubleshooting question, and you do not need to. The round is scored on method. This is a five-step method that works on any incident, with the sentences to say at each step.
The five steps
- Scope. Who is affected, since when, and how badly?
- Stabilise. Is there a safe action that reduces harm right now?
- Hypothesise. What is the most likely cause, given what changed?
- Test. Which single command or graph would confirm or rule that out?
- Communicate. Tell the incident channel what you know, what you are doing and when you will update next.
Questions to ask first
- What changed recently? A deploy, a configuration change, a certificate, a traffic pattern.
- Is it all users or some? One region, one host, one customer, one endpoint.
- When did it start, and was the start sudden or gradual?
- What do the errors look like: refused, timed out, or a wrong answer?
Sudden usually means a change or a hard limit being hit. Gradual usually means a leak or growth. One host points at that machine; one region points at the network or a regional dependency; everyone points at a shared dependency or a global change.
Mitigate before you diagnose
Users being harmed matters more than your curiosity. If a deploy went out ten minutes before the errors began, roll it back first and investigate afterwards. Other safe mitigations are taking one bad host out of the load balancer, shifting traffic away from one region, or adding capacity. Say what evidence you are preserving before you act, for example a heap dump or the logs from the bad host.
One hypothesis at a time
Use one sentence shape for every step: "I think it is X. If so, command Y will show Z. If it does not, I will look at W next." It turns guessing into testing, and it gives the interviewer something to write down each time you speak.
Weak and strong answers
Common mistakes
- Restarting first. It destroys the evidence and the problem returns.
- Running a destructive command, such as deleting files, without saying what it will do.
- Chasing root cause while users are still affected.
- Changing two things at once, so you cannot tell which one helped.
- Going quiet. Five silent minutes look the same as being lost.
- Declaring victory without checking that the user-facing symptom is gone.