Incident Response and Containment Questions
Managing security incidents from detection through recovery. Covers incident response process and playbooks, containment and remediation, data-breach investigation methodology, data-exfiltration detection and analysis, root-cause and post-incident analysis, and fraud and complex-attack investigation. The operational 'a compromise is happening, now what' discipline, distinct from broader production-outage incident management.
A large batch of credentials has been compromised, either through a mass phishing campaign or credential stuffing. Outline your containment and remediation plan: deciding between an immediate organization-wide password reset versus targeted resets, session revocation, MFA enrollment, hunting for other compromised accounts, and how you sequence these actions to limit both attacker access and disruption to legitimate users.
Sample Answer
Direct answer
Sequence the response to stop the attacker fastest with the least disruption: revoke active sessions everywhere first, then decide between an immediate organization-wide reset versus targeted resets based on how confidently you've scoped which accounts are actually compromised, enforce MFA for affected accounts, and keep hunting for accounts you haven't found yet.
Structured elaboration
Session revocation first. Revoking active sessions for all confirmed and suspected-compromised accounts is usually the fastest, lowest-disruption first step: it immediately cuts off an attacker's current access without requiring the user to do anything, unlike a password reset which requires the legitimate user to go through a recovery flow.
Targeted versus organization-wide reset. If you can confidently scope exactly which accounts were compromised (for example, you have a clean list of who clicked a specific phishing link, or a clear list of accounts hit by credential-stuffing based on login patterns), a targeted reset limits disruption to only those users. If the scope is uncertain, for example the phishing campaign's reach isn't fully known or the credential-stuffing attempt's success rate against reused passwords is unclear, an organization-wide reset trades broader disruption for confidence that you haven't missed anyone.
MFA enforcement. For affected accounts specifically, and ideally as a broader policy improvement coming out of this incident, enforcing MFA closes the specific gap that let a stolen password alone grant access, and should happen alongside or immediately after the reset, not as a separate later project.
Hunting for accounts you haven't found yet. Don't stop once you've handled the accounts you already know about; use the confirmed indicators (specific source IPs, timing patterns, the phishing campaign's known targets) to search more broadly for accounts showing the same pattern that weren't yet flagged.
Sequencing to limit both attacker access and user disruption. Revoke sessions immediately (low disruption, high value), decide on reset scope based on confidence (targeted if scoped well, broad if not), and roll out MFA enforcement in the same action as the reset so users aren't asked to change their password twice in one week.
For detecting credential stuffing specifically, a useful concrete signal: source IPs attempting logins across an unusually large number of distinct usernames within a short window (for example, more than ten distinct usernames from one IP in ten minutes), which is a pattern normal user behavior essentially never produces and automated credential-stuffing tools do reliably.
Worked example
A phishing campaign harvests credentials from an estimated 40 employees, but the exact list isn't fully confirmed since some employees may have entered credentials without reporting it. Given the uncertainty in scope, the team revokes active sessions organization-wide immediately (low cost, closes the door fast) and opts for an organization-wide password reset rather than a targeted one, given the risk of missing an unreported victim. MFA enforcement is rolled into the same reset flow so affected users only go through one disruptive step. In parallel, the security team searches authentication logs for any login pattern matching the phishing campaign's known timing and source IPs that wasn't already on the confirmed-victim list, finding three additional affected accounts.
Trade-offs and pitfalls
Choosing a targeted reset when your scoping confidence is actually low is the most common mistake, since it leaves compromised accounts you haven't identified yet fully accessible; the cost of a broader reset (user friction, help-desk load) is usually worth paying when scoping confidence isn't high. A second common gap is treating MFA enforcement as a follow-up project rather than bundling it into the immediate response, which leaves the same gap open for a repeat attack using freshly reset but still MFA-less credentials.
List and explain at least five indicators that should trigger escalating an incident from a Tier 1 analyst to a dedicated incident response team, or to involve legal, compliance, or privacy stakeholders. Include at least one indicator tied to potential regulatory exposure and one tied to persistence or privilege escalation.
Sample Answer
Direct answer
Escalate from Tier 1 to a dedicated incident response team when you see confirmed lateral movement or privilege escalation, plausible exposure of regulated data, evidence the attacker is actively covering their tracks, impact spanning multiple systems or business units, or anything the analyst genuinely isn't equipped to handle within their normal scope.
Structured elaboration
Five concrete escalation indicators:
- Confirmed lateral movement or privilege escalation. Once an attacker has moved beyond the initially compromised asset or gained elevated privileges, the scope and risk profile changes fundamentally, and this typically exceeds what a Tier 1 analyst is authorized or equipped to fully contain and investigate alone.
- Plausible exposure of regulated or otherwise sensitive data. Any indication that personal, financial, or health data may be involved should trigger escalation, both for the technical response and because it likely brings legal and compliance stakeholders into the picture, which is outside Tier 1's normal remit.
- Evidence of anti-forensic behavior. Log deletion, timestamp tampering, or disabling of security tooling signals a more sophisticated, motivated attacker than a routine alert, and warrants dedicated investigative attention rather than routine triage.
- Multi-system or cross-business-unit impact. An incident that spans more than the single system where it was first detected needs coordination that a Tier 1 analyst working one ticket at a time isn't positioned to provide.
- Genuine ambiguity or novelty. If the analyst has worked through the standard playbook and still can't confidently classify the alert as benign or malicious, that uncertainty itself is a reason to escalate rather than guess.
Worked example
A Tier 1 analyst investigating a routine malware alert on a single workstation notices, while pulling logs, that the same account also accessed a customer database server it doesn't normally touch, and that local event logs on the workstation show signs of having been cleared. Individually, either signal alone (unusual database access, or a routine log gap) might not warrant escalation, but together they hit two of the five indicators (data-sensitivity exposure and anti-forensic behavior), and the analyst escalates to the dedicated incident response team rather than continuing routine malware remediation on their own.
Trade-offs and pitfalls
Under-escalating (a Tier 1 analyst pushing through an incident that's actually beyond their scope, out of a desire to resolve it themselves or avoid seeming unable to handle it) is the more damaging failure mode, since it delays the specialized response an incident like this actually needs. Over-escalating everything with even a slightly unusual signal also has a cost, overwhelming the dedicated team with routine cases; clear, specific indicators like the five above, rather than a vague "escalate if it feels serious," help analysts calibrate consistently.
Design a severity classification scheme (for example Low/Medium/High/Critical, or P1-P4) for security incidents. For each level, define objective criteria based on business impact, scope, data sensitivity, and confidence of detection, so that analysts classify alerts consistently and know when to escalate.
Sample Answer
Direct answer
Build the scheme around business impact, scope, data sensitivity, and detection confidence together, not any single factor alone, so that two analysts looking at the same alert reach the same severity level and know exactly when to escalate.
Structured elaboration
A workable four-level scheme:
- Critical/P1: confirmed, active harm at scale (large-scale exfiltration confirmed, ransomware actively spreading, a business-critical system down) or any incident with regulatory notification obligations already triggered.
- High/P2: confirmed compromise with limited but real scope (a small number of hosts or accounts, contained but not yet fully understood), or high-sensitivity data plausibly but not yet confirmed exposed.
- Medium/P3: a suspicious but unconfirmed pattern requiring investigation, low business impact even in the worst case, or a confirmed low-sensitivity issue with a small blast radius.
- Low/P4: a clear false positive requiring only documentation, or an informational finding with no immediate action needed.
For each level, ground the criteria in observable facts rather than judgment alone: business impact (does this affect revenue, customer trust, or safety, and how many users), scope (how many hosts, accounts, or records are plausibly involved), data sensitivity (is regulated or otherwise high-value data plausibly in scope), and confidence of detection (is this confirmed by multiple corroborating signals, or a single, unconfirmed indicator). A high-confidence, high-impact, narrow-scope incident and a lower-confidence, high-impact, broad-scope incident might land at the same severity for different reasons, and being explicit about which factors drove the classification helps consistency across analysts and over time.
Consistency matters more than any single perfect threshold: write the criteria down with concrete examples of what qualifies at each level, review classifications periodically against actual outcomes (did a P3 later turn out to deserve P1 treatment), and adjust the written criteria based on that feedback rather than leaving classification purely to individual judgment call each time.
Worked example
Two alerts arrive on the same day. The first: a single workstation shows a known-benign false-positive pattern that EDR already tags as low-confidence, no lateral movement, no sensitive data involved: classified P4, closed with documentation only. The second: an account shows anomalous access to a database containing customer payment information, with EDR confirming an unfamiliar process actively querying that database right now: high confidence, high data sensitivity, active harm in progress, classified P1 immediately, triggering the full incident response process rather than routine analyst triage. Writing down both examples in the team's severity-classification guide, alongside the specific factors that drove each classification, helps the next analyst facing a similar pattern reach the same conclusion independently.
Trade-offs and pitfalls
A scheme that leaves severity mostly to individual judgment, with vague guidance like "use your best judgment," produces inconsistent classification between analysts and over time, which undermines trust in the severity label itself and can cause a genuinely urgent incident to be under-triaged simply because a less experienced analyst handled the initial alert. Overly rigid, purely mechanical scoring (a strict formula with no room for analyst judgment on genuinely novel situations) can also misfire on incidents that don't fit the pre-defined patterns cleanly, so the written criteria should guide judgment, not fully replace it.
During an active security incident, engineering and security stakeholders disagree on how aggressively to contain: for example, isolating a shared multi-tenant host or taking a business-critical service offline versus continuing degraded operation while investigating. Describe a decision framework that weighs business impact, SLO/error-budget position, legal and regulatory exposure, and safety, and explain how you would mediate a disagreement between teams and document the rationale afterward.
Sample Answer
Direct answer
When engineering and security disagree on how aggressively to contain, the decision should be driven by an explicit framework weighing business impact, SLO/error-budget position, legal and regulatory exposure, and safety, not by whichever team argues harder in the moment. A single accountable decision-maker (the incident commander) makes the final call, documents the reasoning, and both sides get their input recorded even when overruled.
Structured elaboration
Build the framework around four inputs, each scored or at least explicitly stated for the incident at hand:
- Business impact of containment itself. Isolating a shared multi-tenant host or taking a service offline has a direct, often immediate revenue or customer-experience cost. Quantify it if you can (affected customer count, revenue-per-minute) rather than arguing impressions.
- SLO/error-budget position. If the service already has ample error budget remaining, aggressive containment that trades some availability for security is more affordable; if the budget is nearly exhausted, the same containment action risks a second, self-inflicted incident (an SLO breach) on top of the security one.
- Legal and regulatory exposure. If regulated data is plausibly in scope, the calculus shifts hard toward containment, since regulatory and legal costs of continued exposure typically dwarf availability costs.
- Safety. Any consideration where degraded operation risks physical safety (industrial control systems, medical devices, transportation) overrides pure business-impact math; safety wins by default.
Mediating a live disagreement: as incident commander, first make each side state their position in terms of the four inputs above rather than pure risk-aversion or fear of a bad night; often "I don't want to cause an outage" and "I don't want customer data to leak" turn into the same conversation once you force both sides onto shared, comparable terms. Make the call, state it out loud along with the reasoning, and write it into the incident timeline immediately, not after the fact from memory. Disagreement that isn't resolved by data is resolved by authority, but the authority still owes both sides a documented rationale.
This applies with extra force when the security exploit is itself CAUSING the operational outage (not a separate, parallel issue): here, restoring availability and preserving forensic evidence are in direct tension over the same action. The framework doesn't change, but the "business impact of not acting" term typically dominates because the outage is already happening regardless of what you do next, so the marginal decision is almost entirely about evidence preservation versus speed of recovery.
Worked example
A multi-tenant service shows signs of a security incident affecting one tenant's workload; isolating that tenant's containers would fully contain it but breaks the service for paying customers on that tenant, and the service's error budget for the month is already 80% consumed. Security wants immediate isolation; engineering wants to keep serving traffic while investigating, citing the tight error budget and existing SLA commitments to that tenant. As incident commander, you weigh: no regulated data is confirmed in scope yet, no safety dimension applies, but the tenant's data sensitivity is moderate and the attacker's activity so far looks like reconnaissance rather than confirmed exfiltration. Given the low confirmed harm so far and the real, quantifiable cost of full isolation against an already-thin error budget, you choose a middle path: throttle and heavily monitor the tenant's specific traffic pattern rather than full isolation, with an explicit trigger (any sign of exfiltration) that immediately escalates to full isolation regardless of error-budget impact. You document this reasoning and the trigger condition in the incident log before the meeting ends.
Trade-offs and pitfalls
The failure mode to watch for is letting the loudest or most senior voice win by default rather than the documented framework; a second failure mode is treating the incident commander's decision as final and unchallengeable when new evidence should reopen it (if exfiltration is later confirmed, the earlier "throttle, don't isolate" decision should be revisited immediately, not defended out of consistency).
Design an escalation and approval matrix for containment actions during an incident: which actions (isolate an endpoint, disable a user account, block an IP) frontline analysts may take without approval, versus which (shutting down a production service, changing production firewall rules) require manager or change-board sign-off. Include severity thresholds, environment classification (dev/test/prod), and audit requirements.
Sample Answer
Direct answer
Frontline analysts should be able to take low-blast-radius, reversible containment actions (isolate a single endpoint, disable one user account, block a single IP) without approval; anything with a large blast radius or that's hard to reverse (shutting down a production service, changing production-wide firewall rules) needs manager or change-board sign-off first, except under an explicit emergency-override provision. Severity tier (low/medium/high/critical) sits alongside blast radius and reversibility in every decision: the same action can move up a tier, and require faster notification or sign-off, purely because the surrounding incident is more severe.
Structured elaboration
Build the matrix around three dimensions: severity, environment, and reversibility.
Severity thresholds. Map incident severity into four tiers that drive who can act without waiting: Low (an isolated, single-entity anomaly with no confirmed compromise) sits entirely within frontline authority; Medium (a confirmed single-host compromise with no lateral movement) still allows frontline analyst action but triggers a manager notification, not approval; High (confirmed lateral movement, a privileged-account compromise, or any containment option touching production) requires manager sign-off before acting; Critical (active, ongoing data exfiltration or multi-system compromise) is the tier the emergency-override provision exists for, since waiting for standard approval at this severity typically costs more than the risk of an emergency action taken by a senior analyst or incident commander. Severity, not just the action itself, can shift an action between tiers: blocking a single IP is no-approval at Low/Medium severity but should still get a fast manager notification at High/Critical, since a technically small action might be one piece of a much bigger incident.
No-approval actions (frontline analyst authority): isolating a single endpoint via EDR, disabling or resetting one user account, blocking a single malicious IP or domain at the perimeter. These are scoped to one entity, reversible within minutes, and low-cost if done on a false positive.
Approval-required actions (manager or change-board sign-off): taking a production service offline or degrading it, changing firewall rules that affect broad traffic patterns rather than one IP, disabling a shared service account used by multiple systems, or any action affecting a database or system with no redundant failover.
Environment classification matters independently of the action itself: the same action (say, isolating a host) that's no-approval in a dev or test environment may require at least a notification, if not approval, in production, because the blast radius of getting it wrong is categorically different.
Emergency exceptions: define in advance what qualifies as an emergency override (for example, confirmed active data exfiltration) that lets a senior analyst or the incident commander take an otherwise approval-gated action immediately, with mandatory after-the-fact review and sign-off within a short window (for example, one hour) rather than blocking on real-time approval during a fast-moving incident.
Documentation and audit requirements: every containment action, approved or not, gets logged with who took it, when, why, and what it affected; approval-gated actions additionally log who approved it and what alternative was considered. This audit trail matters both for the post-incident review and for demonstrating due diligence if the incident has legal or regulatory dimensions.
Worked example
An analyst detects a single suspicious process on one workstation. Per the matrix, they isolate that host immediately, no approval needed, and log the action. Ten minutes later, the same investigation reveals the compromise has spread to a shared authentication service used by dozens of downstream applications. Disabling that service would be far higher blast radius (breaks authentication broadly, not just for one attacker), so per the matrix this requires the on-call manager's explicit approval, obtained by phone within minutes given the severity, with the decision and rationale logged in the incident channel in real time.
Trade-offs and pitfalls
Too strict a matrix (requiring approval for almost everything) slows down exactly the fast, low-cost containment actions that should happen immediately, giving attackers more time; too loose a matrix (letting analysts take high-blast-radius actions unilaterally) risks a well-intentioned but costly overreaction to a false positive. The environment classification is easy to forget but important: treating a production action with the same casual authority as a dev-environment action is a common and costly mistake.
Unlock Full Question Bank
Get access to all 24 Incident Response and Containment interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.