CompTIA Security+ SY0-701 · Security Operations · medium

During a ransomware outbreak on three accounting workstations, the incident response team isolates the infected hosts onto a quarantine VLAN and disables their switch ports so the malware cannot spread laterally. Which phase of the Incident Response lifecycle does this action represent?

Published · Last updated · checked before publication — how we verify questions

Options

  • APreparation (establishing IR policies, playbooks, and jump-bag tooling)
  • BContainment (isolating affected endpoints to stop lateral propagation)Correct answer
  • CEradication (wiping malware binaries and reimaging compromised drives)
  • DLessons Learned (conducting a post-incident retrospective review)

Answer: B. Containment (isolating affected endpoints to stop lateral propagation)

The keyed answer, Containment, is correct. Once an incident has been detected and analyzed, the next IR phase is containment, whose goal is to limit the scope and impact of the incident before it grows. Moving infected hosts to a quarantine VLAN and disabling switch ports is a classic short-term containment action because it cuts off the network paths malware would use to spread laterally, while leaving the systems intact for forensic analysis. The underlying rule is to match the purpose of the action to the phase: stopping spread is containment, removing the cause is eradication, and returning to normal operations is recovery. The most common trap is choosing Eradication because ransomware is being dealt with. Isolation does not remove any malware; it only stops it from reaching other systems. Eradication and reimaging come afterward, once spread has been halted and evidence preserved.

Why the other options are wrong

  • A. Preparation (establishing IR policies, playbooks, and jump-bag tooling) — Preparation covers work done before any incident, such as writing policies, building playbooks, training staff, and assembling tools. The scenario describes a live outbreak being actively stopped, so it is not preparation.
  • C. Eradication (wiping malware binaries and reimaging compromised drives) — Eradication removes the root cause, for example by deleting malware, wiping or reimaging drives, and patching the exploited weakness. Quarantining hosts and disabling ports leaves the malware on the machines and only prevents its spread, so this is containment, not eradication.
  • D. Lessons Learned (conducting a post-incident retrospective review) — Lessons Learned is the post-incident review that happens after recovery, to document what happened and improve future defenses. Nothing in the scenario involves a retrospective; the team is still responding to an active outbreak.

All Security Operations questions and the topic overview →

CompTIA and Security+ are trademarks of the Computing Technology Industry Association. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by CompTIA.