- A
Delete the virtual machine immediately to stop the ransomware.
Why wrong: Deleting the VM destroys evidence and may not stop lateral movement if other machines are already affected.
- B
Disable the public IP address and apply an NSG rule to block all inbound/outbound traffic to the server's subnet.
This network isolation prevents lateral movement while preserving the VM for forensic analysis.
- C
Change the local administrator password on the VM.
Why wrong: Changing the password does not stop the ransomware process or network communication.
- D
Move the VM to a different virtual network and subnet.
Why wrong: Moving the VM does not block existing network connections and is not immediate.
Quick Answer
The answer is to disable the public IP address and apply an NSG rule blocking all inbound and outbound traffic to the server's subnet. This is the most immediate containment action because it severs all network paths to and from the compromised Azure VM while preserving the disk for forensic analysis, effectively isolating the VM without destroying evidence. On the SC-200 exam, this scenario tests your understanding of incident response prioritization—specifically that containment must stop lateral movement without compromising data integrity, a key distinction from destructive or ineffective actions like deleting the VM or changing passwords. A common trap is choosing to move the VM to a different subnet, but that fails to block traffic from the original IP address, allowing the ransomware to continue spreading. Remember the memory tip: “Block the path, keep the disk”—the fastest way to isolate compromised Azure VMs using network security groups is to cut all traffic at the subnet level while leaving the resource intact for investigation.
SC-200 Respond to security incidents Practice Question
This SC-200 practice question tests your understanding of respond to security incidents. 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.
Your organization uses Microsoft Sentinel and Microsoft Defender for Cloud. A critical server in Azure was compromised by ransomware. The incident response team needs to ensure that no other resources in the same resource group are affected. What is the most immediate containment action?
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
Disable the public IP address and apply an NSG rule to block all inbound/outbound traffic to the server's subnet.
Option A is correct because disabling the public IP and applying a network security group (NSG) block isolates the server while preserving the disk. Option B is wrong because deleting the VM destroys evidence. Option C is wrong because moving the VM to a different subnet does not prevent lateral movement from the original IP. Option D is wrong because changing the administrator password does not stop ransomware from running.
Key principle: Count usable hosts — not total addresses — and remember that the network and broadcast addresses are not available to hosts in standard IPv4 subnets.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Delete the virtual machine immediately to stop the ransomware.
Why it's wrong here
Deleting the VM destroys evidence and may not stop lateral movement if other machines are already affected.
- ✓
Disable the public IP address and apply an NSG rule to block all inbound/outbound traffic to the server's subnet.
- ✗
Change the local administrator password on the VM.
Why it's wrong here
Changing the password does not stop the ransomware process or network communication.
- ✗
Move the VM to a different virtual network and subnet.
Why it's wrong here
Moving the VM does not block existing network connections and is not immediate.
Common exam traps
Common exam trap: usable hosts are not the same as total addresses
Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.
Detailed technical explanation
How to think about this question
Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.
KKey Concepts to Remember
- CIDR notation defines the prefix length.
- Block size helps identify subnet boundaries.
- Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
- The required host count determines the smallest suitable subnet.
TExam Day Tips
- Write the block size before choosing the subnet.
- Check whether the question asks for hosts, subnets or a specific address range.
- Do not confuse /24, /25, /26 and /27 host counts.
Key takeaway
Count usable hosts — not total addresses — and remember that the network and broadcast addresses are not available to hosts in standard IPv4 subnets.
Real-world example
How this comes up in practice
An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.
What to study next
Got this wrong? Here's your next step.
Review block sizes, usable host formulas (2^n − 2), and how to find network and broadcast addresses for /24 through /30. Then practise related SC-200 subnetting questions on CIDR, address ranges, and subnet selection.
- →
Respond to security incidents — study guide chapter
Learn the concepts, then practise the questions
- →
Respond to security incidents practice questions
Targeted practice on this topic area only
- →
All SC-200 questions
1,639 questions across all exam domains
- →
Microsoft Security Operations Analyst SC-200 study guide
Full concept coverage aligned to exam objectives
- →
SC-200 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related SC-200 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Manage a security operations environment practice questions
Practise SC-200 questions linked to Manage a security operations environment.
Respond to security incidents practice questions
Practise SC-200 questions linked to Respond to security incidents.
Perform threat hunting practice questions
Practise SC-200 questions linked to Perform threat hunting.
Mitigate threats using Microsoft Defender XDR practice questions
Practise SC-200 questions linked to Mitigate threats using Microsoft Defender XDR.
Mitigate threats using Microsoft Defender for Cloud practice questions
Practise SC-200 questions linked to Mitigate threats using Microsoft Defender for Cloud.
Mitigate threats using Microsoft Sentinel practice questions
Practise SC-200 questions linked to Mitigate threats using Microsoft Sentinel.
SC-200 fundamentals practice questions
Practise SC-200 questions linked to SC-200 fundamentals.
SC-200 scenario practice questions
Practise SC-200 questions linked to SC-200 scenario.
SC-200 troubleshooting practice questions
Practise SC-200 questions linked to SC-200 troubleshooting.
Practice this exam
Start a free SC-200 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 SC-200 question test?
Respond to security incidents — This question tests Respond to security incidents — CIDR notation defines the prefix length..
What is the correct answer to this question?
The correct answer is: Disable the public IP address and apply an NSG rule to block all inbound/outbound traffic to the server's subnet. — Option A is correct because disabling the public IP and applying a network security group (NSG) block isolates the server while preserving the disk. Option B is wrong because deleting the VM destroys evidence. Option C is wrong because moving the VM to a different subnet does not prevent lateral movement from the original IP. Option D is wrong because changing the administrator password does not stop ransomware from running.
What should I do if I get this SC-200 question wrong?
Review block sizes, usable host formulas (2^n − 2), and how to find network and broadcast addresses for /24 through /30. Then practise related SC-200 subnetting questions on CIDR, address ranges, and subnet selection.
What is the key concept behind this question?
CIDR notation defines the prefix length.
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 →
Same concept, more angles
1 more ways this is tested on SC-200
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. Your organization uses Microsoft Sentinel and Microsoft Defender for Cloud. During an incident, you need to automatically disable a compromised Azure VM from the network. Which playbook action should you use?
hard- A.Apply an Azure Policy to deny network changes.
- B.Create an Azure Firewall rule to block the VM's IP.
- ✓ C.Add a rule to the VM's network security group to deny all traffic.
- D.Remove the VM's role assignment from Azure RBAC.
Why C: Option A is correct because you can use Azure Network Security Group to deny all inbound/outbound traffic to the VM. Option B is wrong because Azure RBAC does not affect network access. Option C is wrong because Azure Policy does not apply runtime network controls. Option D is wrong because Azure Firewall rules are not VM-specific.
Last reviewed: Jun 21, 2026
This SC-200 practice question is part of Courseiva's free Microsoft 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 SC-200 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.