Incident response lifecycle

Prepare → identify → contain → eradicate → recover → learn. Containment before eradication is the instinct interviewers listen for.

About 29 min read3-question knowledge check

The mental model

Incident response is the discipline of acting correctly under pressure and incomplete information — a pre-agreed sequence you follow *because* the middle of a breach is exactly when instinct leads you astray. The lifecycle (Prepare → Identify → Contain → Eradicate → Recover → Learn) exists so that when the pager goes off at 2am and you have half the facts, you already know the next right move. The single instinct the whole field is built around, and the one interviewers listen for above all else: containment before eradication. Stop the bleeding before you try to cure the patient.

The analogy that sticks: a kitchen fire. Preparation is having the extinguisher mounted, everyone knowing where it is, and having practised. Identification is smelling smoke and confirming it is a real fire, not burnt toast. Containment is closing the door to the room and cutting the gas — you stop the fire *spreading* before you know exactly what started it. Eradication is putting the fire out and finding the frayed wire that caused it. Recovery is repairing the room and reopening the kitchen, watching for reignition. Learning is the post-mortem: why was the wire frayed, why did no one smell it sooner, what do we change. The fatal mistake — the one that turns a contained incident into a disaster — is running to find the frayed wire (eradication/forensics) while the fire spreads, because you wanted to understand it fully before acting.

Why this dominates blue-team interviews: under-pressure judgment is hard to fake and easy to test. An interviewer gives you a scenario with incomplete information and watches whether you contain first or narrate beautiful forensics while the attacker keeps working; whether you preserve evidence while containing; whether you can state a negative finding with the evidence that supports it; and whether you treat the post-mortem as blameless improvement or as finding someone to fire. The lifecycle is the vocabulary; the judgment is the hire.

The full lesson continues with 15 more sections
  • Deep dive
  • Internal architecture
  • Real-world use cases
  • Best practices
  • Common mistakes
  • Performance
  • Security
  • Production troubleshooting
  • Advantages & disadvantages
  • Alternatives
  • Interview expectations
  • Interview questions
  • Facts to remember
  • Cheat sheet
  • Quick revision