- A
Network Protection
Network Protection prevents outbound connections to malicious endpoints, providing network-layer blocking managed via Defender for Endpoint.
- B
Attack Surface Reduction rules
Why wrong: Attack Surface Reduction rules reduce vulnerability by blocking risky local processes (e.g., macro execution), not network connections.
- C
Session control in Defender for Cloud Apps
Why wrong: Session control in Defender for Cloud Apps applies to cloud app sessions, not system-level network connections.
- D
Windows Firewall with Advanced Security
Why wrong: Windows Firewall with Advanced Security can block connections but is not centrally managed through Microsoft 365 Defender; policies must be configured via Group Policy or PowerShell.
Quick Answer
The correct answer is Network Protection. This feature blocks outbound connections to command-and-control servers at the network layer by leveraging the Windows Filtering Platform (WFP) to inspect traffic in real time, preventing compromised devices from phoning home to C2 infrastructure. On the MS-102 exam, this scenario tests your understanding of Microsoft Defender for Endpoint’s network-layer controls versus host-based firewall rules or application controls—a common trap is choosing Windows Defender Firewall, which requires per-device configuration and lacks centralized C2 threat intelligence. Network Protection is centrally managed via Microsoft 365 Defender policies, making it the only option that meets both the network-layer and centralized management requirements. A quick memory tip: think “Network Protection = Network Layer + C2 Blocking,” and remember that the “P” in Protection stands for “Phoning home prevention.”
MS-102 Practice Question: Manage security and threats by using Microsoft Defender XDR
This MS-102 practice question tests your understanding of manage security and threats by using microsoft defender xdr. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. A key principle to apply: network Protection is a component of Microsoft Defender for Endpoint.. 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 security administrator needs to block outbound network connections from a compromised Windows device to command-and-control servers. The solution must work at the network layer and be centrally managed via Microsoft 365 Defender. Which feature should the administrator enable?
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
Network Protection
Network Protection in Microsoft Defender for Endpoint blocks outbound connections to command-and-control (C2) servers at the network layer by inspecting traffic using the Windows Filtering Platform (WFP). It is centrally managed via Microsoft 365 Defender policies and does not require per-device firewall rule configuration, making it the correct choice for this scenario.
Key principle: Network Protection is a component of Microsoft Defender for Endpoint.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Network Protection
Why this is correct
Network Protection prevents outbound connections to malicious endpoints, providing network-layer blocking managed via Defender for Endpoint.
Related concept
Network Protection is a component of Microsoft Defender for Endpoint.
- ✗
Attack Surface Reduction rules
Why it's wrong here
Attack Surface Reduction rules reduce vulnerability by blocking risky local processes (e.g., macro execution), not network connections.
- ✗
Session control in Defender for Cloud Apps
Why it's wrong here
Session control in Defender for Cloud Apps applies to cloud app sessions, not system-level network connections.
- ✗
Windows Firewall with Advanced Security
Why it's wrong here
Windows Firewall with Advanced Security can block connections but is not centrally managed through Microsoft 365 Defender; policies must be configured via Group Policy or PowerShell.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates confuse 'network layer blocking' with Windows Firewall, but the question specifically requires a solution centrally managed via Microsoft 365 Defender, which Network Protection fulfills through the Defender for Endpoint security configuration.
Detailed technical explanation
How to think about this question
Network Protection uses the Windows Filtering Engine (WFE) to intercept all outbound TCP/UDP traffic and compares destination IPs and domains against Microsoft's cloud-based threat intelligence feed. It can block connections even when the traffic is encrypted (e.g., HTTPS to a C2 server) by inspecting the Server Name Indication (SNI) or IP address, and it operates before the application layer, ensuring no data exfiltration occurs. In a real-world scenario, if a device is infected with a Cobalt Strike beacon, Network Protection can block the beacon's outbound HTTP/HTTPS callbacks without requiring a signature update.
KKey Concepts to Remember
- Network Protection is a component of Microsoft Defender for Endpoint.
- It blocks connections to malicious IP addresses and domains at the network layer.
- Network Protection uses Microsoft's threat intelligence to identify malicious endpoints.
- It is centrally managed through the Microsoft 365 Defender portal.
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
Network Protection is a component of Microsoft Defender for Endpoint.
Real-world example
How this comes up in practice
A healthcare organisation deploys an application with a public-facing web tier and a private database tier. The database subnet has no public IP and only accepts connections from the web tier's security group. Questions like this test whether you can design cloud network isolation using VNets/VPCs, subnets, and security group rules.
What to study next
Got this wrong? Here's your next step.
Review network Protection is a component of Microsoft Defender for Endpoint., then practise related MS-102 questions on the same topic to reinforce the concept.
- →
Manage security and threats by using Microsoft Defender XDR — study guide chapter
Learn the concepts, then practise the questions
- →
Manage security and threats by using Microsoft Defender XDR practice questions
Targeted practice on this topic area only
- →
All MS-102 questions
975 questions across all exam domains
- →
Microsoft 365 Administrator MS-102 study guide
Full concept coverage aligned to exam objectives
- →
MS-102 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related MS-102 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Deploy and manage a Microsoft 365 tenant practice questions
Practise MS-102 questions linked to Deploy and manage a Microsoft 365 tenant.
Implement and manage Microsoft Entra identity and access practice questions
Practise MS-102 questions linked to Implement and manage Microsoft Entra identity and access.
Manage security and threats by using Microsoft Defender XDR practice questions
Practise MS-102 questions linked to Manage security and threats by using Microsoft Defender XDR.
Manage compliance by using Microsoft Purview practice questions
Practise MS-102 questions linked to Manage compliance by using Microsoft Purview.
Manage users, groups, licensing, and support practice questions
Practise MS-102 questions linked to Manage users, groups, licensing, and support.
Implement and manage identity and access in Microsoft Entra ID practice questions
Practise MS-102 questions linked to Implement and manage identity and access in Microsoft Entra ID.
MS-102 fundamentals practice questions
Practise MS-102 questions linked to MS-102 fundamentals.
MS-102 scenario practice questions
Practise MS-102 questions linked to MS-102 scenario.
MS-102 troubleshooting practice questions
Practise MS-102 questions linked to MS-102 troubleshooting.
Practice this exam
Start a free MS-102 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 MS-102 question test?
Manage security and threats by using Microsoft Defender XDR — This question tests Manage security and threats by using Microsoft Defender XDR — Network Protection is a component of Microsoft Defender for Endpoint..
What is the correct answer to this question?
The correct answer is: Network Protection — Network Protection in Microsoft Defender for Endpoint blocks outbound connections to command-and-control (C2) servers at the network layer by inspecting traffic using the Windows Filtering Platform (WFP). It is centrally managed via Microsoft 365 Defender policies and does not require per-device firewall rule configuration, making it the correct choice for this scenario.
What should I do if I get this MS-102 question wrong?
Review network Protection is a component of Microsoft Defender for Endpoint., then practise related MS-102 questions on the same topic to reinforce the concept.
What is the key concept behind this question?
Network Protection is a component of Microsoft Defender for Endpoint.
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 MS-102
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. A security administrator needs to block outbound network connections from a compromised Windows device to a known malicious IP address. The solution should be configured in Microsoft Defender for Endpoint and must work at the network layer, not relying on a user-installed client. Which feature should the administrator enable?
medium- A.Attack surface reduction (ASR) rules
- B.Custom detection rules (advanced hunting)
- ✓ C.Network protection
- D.Web protection (web threat protection)
Why C: Option C, Network protection, is correct because it is a Microsoft Defender for Endpoint feature that blocks outbound connections to malicious IP addresses and domains at the network layer, using the Windows Filtering Platform (WFP) to enforce policies without requiring a user-installed client. This ensures the block applies system-wide, even if the device is compromised, as it operates before the TCP/IP stack processes the connection.
Last reviewed: Jun 11, 2026
This MS-102 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 MS-102 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.