- A
Run a full antivirus scan on the host operating system.
Why wrong: A scan may not detect sophisticated ransomware and is not immediate enough.
- B
Disconnect the physical host from the network immediately.
Isolating the host stops the ransomware from spreading to other systems and buys time for remediation.
- C
Apply the latest security patches to the hypervisor software.
Why wrong: Patching does not remove an existing compromise on the host.
- D
Restore all VMs from known clean backups taken before the attack.
Why wrong: If the host is compromised, restored VMs could be re-infected immediately.
Quick Answer
The answer is to disconnect the physical host from the network immediately. This is the correct choice because the Type 2 hypervisor runs on top of a Windows Server OS, meaning the host itself is a potential pivot point; if the host is compromised, the attacker can use the virtual switch to move laterally into any VM, including the domain controller and web server. Cutting the host’s network cable stops all lateral movement and outbound command-and-control traffic, which is the essence of ransomware containment. On the CompTIA SecurityX CAS-004 exam, this scenario tests your understanding of hypervisor architecture and the critical difference between isolating a VM versus isolating the host—a common trap is to try disconnecting individual VMs, but that fails if the host is the infection vector. Remember the mnemonic “Host First, Network Last” to recall that when the hypervisor is suspect, you must sever the physical cable before anything else.
CAS-004 Security Engineering Practice Question
This CAS-004 practice question tests your understanding of security engineering. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A small business has a single physical server running multiple virtual machines (VMs) using Type 2 hypervisor software on a Windows Server host. The host is not joined to a domain. The VMs include an Active Directory domain controller, a file server, and a web server. The company recently suffered a ransomware attack that encrypted all data on the file server VM. The IT administrator restored the file server from a backup, but the ransomware returned within hours. Analysis shows that the ransomware is now spreading to other VMs. The administrator suspects that the hypervisor host itself may be compromised. Which of the following is the MOST effective immediate action to contain the spread and secure the environment?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Disconnect the physical host from the network immediately.
Option B is correct because immediately disconnecting the physical host from the network is the most effective immediate action to contain the spread of ransomware. Since the host is compromised and the Type 2 hypervisor runs on top of a Windows Server OS, the attacker can pivot from the host to any VM via the virtual switch. Cutting network connectivity stops all lateral movement and outbound command-and-control traffic, buying time for forensic analysis and remediation.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Run a full antivirus scan on the host operating system.
Why it's wrong here
A scan may not detect sophisticated ransomware and is not immediate enough.
- ✓
Disconnect the physical host from the network immediately.
Why this is correct
Isolating the host stops the ransomware from spreading to other systems and buys time for remediation.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Apply the latest security patches to the hypervisor software.
Why it's wrong here
Patching does not remove an existing compromise on the host.
- ✗
Restore all VMs from known clean backups taken before the attack.
Why it's wrong here
If the host is compromised, restored VMs could be re-infected immediately.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often choose to run antivirus scans or apply patches first, mistakenly believing these are immediate containment actions, when in reality they are slow, disruptive, and ineffective against an actively spreading ransomware outbreak on a compromised host.
Detailed technical explanation
How to think about this question
A Type 2 hypervisor (e.g., VMware Workstation, VirtualBox) runs as an application on a host OS, meaning all VM traffic traverses the host's network stack and virtual switch. If the host OS is compromised, an attacker can use ARP spoofing or packet injection to intercept VM traffic or deploy ransomware payloads directly into VM memory via shared folders or VMCI (Virtual Machine Communication Interface). Disconnecting the physical host at the switch port or unplugging the Ethernet cable ensures that even if the host is fully controlled, no new data can be encrypted or exfiltrated.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Security Engineering — study guide chapter
Learn the concepts, then practise the questions
- →
Security Engineering practice questions
Targeted practice on this topic area only
- →
All CAS-004 questions
510 questions across all exam domains
- →
CompTIA SecurityX CAS-004 study guide
Full concept coverage aligned to exam objectives
- →
CAS-004 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related CAS-004 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Scripting, Containers and Automation practice questions
Practise CAS-004 questions linked to Scripting, Containers and Automation.
Application Environment, Configuration and Security practice questions
Practise CAS-004 questions linked to Application Environment, Configuration and Security.
Governance, Risk and Compliance practice questions
Practise CAS-004 questions linked to Governance, Risk and Compliance.
Security Engineering practice questions
Practise CAS-004 questions linked to Security Engineering.
Security Architecture practice questions
Practise CAS-004 questions linked to Security Architecture.
Security Operations practice questions
Practise CAS-004 questions linked to Security Operations.
CAS-004 fundamentals practice questions
Practise CAS-004 questions linked to CAS-004 fundamentals.
CAS-004 scenario practice questions
Practise CAS-004 questions linked to CAS-004 scenario.
CAS-004 troubleshooting practice questions
Practise CAS-004 questions linked to CAS-004 troubleshooting.
Practice this exam
Start a free CAS-004 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this CAS-004 question test?
Security Engineering — This question tests Security Engineering — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Disconnect the physical host from the network immediately. — Option B is correct because immediately disconnecting the physical host from the network is the most effective immediate action to contain the spread of ransomware. Since the host is compromised and the Type 2 hypervisor runs on top of a Windows Server OS, the attacker can pivot from the host to any VM via the virtual switch. Cutting network connectivity stops all lateral movement and outbound command-and-control traffic, buying time for forensic analysis and remediation.
What should I do if I get this CAS-004 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 11, 2026
This CAS-004 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CAS-004 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.