- A
DeviceNetworkEvents and DeviceProcessEvents.
DeviceNetworkEvents contains outbound connections with remote IPs; DeviceProcessEvents contains process start details including command line. Joining on DeviceId and timestamp enables correlation.
- B
DeviceEvents and DeviceLogonEvents.
Why wrong: DeviceEvents includes various events but not process creation details, and DeviceLogonEvents is for sign-in events, not process or network events.
- C
DeviceProcessEvents and DeviceFileEvents.
DeviceFileEvents is for file creation/modification, which is not directly relevant to network connections or process command lines.
- D
DeviceNetworkEvents and DeviceRegistryEvents.
Why wrong: DeviceRegistryEvents tracks registry changes, not process creation, so this join would not detect the required process start.
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. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. A key principle to apply: deviceNetworkEvents tracks outbound and inbound network connections.. 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 analyst is creating a custom detection rule in Microsoft 365 Defender Advanced Hunting. The rule should trigger when a device makes an outbound connection to a known malicious IP address, and within 10 minutes, a process with suspicious command-line arguments is started on the same device. Which two Advanced Hunting tables must be joined using a KQL query to create this detection?
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
DeviceNetworkEvents and DeviceProcessEvents.
Option A is correct because the detection rule requires correlating outbound network connections (DeviceNetworkEvents) with process creation events (DeviceProcessEvents) on the same device within a 10-minute window. The KQL query would join these two tables on the DeviceId field and use a time filter to ensure the process event occurs within 10 minutes after the network event, enabling the detection of post-connection malicious activity.
Key principle: DeviceNetworkEvents tracks outbound and inbound network connections.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
DeviceNetworkEvents and DeviceProcessEvents.
Why this is correct
DeviceNetworkEvents contains outbound connections with remote IPs; DeviceProcessEvents contains process start details including command line. Joining on DeviceId and timestamp enables correlation.
Related concept
DeviceNetworkEvents tracks outbound and inbound network connections.
- ✗
DeviceEvents and DeviceLogonEvents.
Why it's wrong here
DeviceEvents includes various events but not process creation details, and DeviceLogonEvents is for sign-in events, not process or network events.
- ✓
DeviceProcessEvents and DeviceFileEvents.
Why this is correct
DeviceFileEvents is for file creation/modification, which is not directly relevant to network connections or process command lines.
Related concept
DeviceNetworkEvents tracks outbound and inbound network connections.
- ✗
DeviceNetworkEvents and DeviceRegistryEvents.
Why it's wrong here
DeviceRegistryEvents tracks registry changes, not process creation, so this join would not detect the required process start.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Microsoft often tests the misconception that DeviceEvents (which includes security alerts) can substitute for DeviceNetworkEvents, but DeviceEvents lacks the granular outbound connection details needed for IP-based detection rules.
Detailed technical explanation
How to think about this question
Under the hood, the Advanced Hunting schema in Microsoft 365 Defender uses DeviceNetworkEvents to log outbound connections with fields like RemoteIP, RemotePort, and Protocol, while DeviceProcessEvents captures ProcessCommandLine, FileName, and ProcessId. A KQL join on DeviceId with a where clause on Timestamp (e.g., | where TimeGenerated between (NetworkTime .. NetworkTime + 10m)) ensures temporal proximity. In real-world scenarios, this pattern detects post-exploitation behavior like a reverse shell connecting to a C2 server, followed by a malicious script execution (e.g., PowerShell with encoded commands).
KKey Concepts to Remember
- DeviceNetworkEvents tracks outbound and inbound network connections.
- DeviceProcessEvents records process creation, termination, and command-line arguments.
- Advanced Hunting uses KQL to query and join multiple data tables.
- Correlation across tables requires joining on common identifiers like DeviceId and time-based conditions.
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
DeviceNetworkEvents tracks outbound and inbound network connections.
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 deviceNetworkEvents tracks outbound and inbound network connections., 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 — DeviceNetworkEvents tracks outbound and inbound network connections..
What is the correct answer to this question?
The correct answer is: DeviceNetworkEvents and DeviceProcessEvents. — Option A is correct because the detection rule requires correlating outbound network connections (DeviceNetworkEvents) with process creation events (DeviceProcessEvents) on the same device within a 10-minute window. The KQL query would join these two tables on the DeviceId field and use a time filter to ensure the process event occurs within 10 minutes after the network event, enabling the detection of post-connection malicious activity.
What should I do if I get this MS-102 question wrong?
Review deviceNetworkEvents tracks outbound and inbound network connections., then practise related MS-102 questions on the same topic to reinforce the concept.
What is the key concept behind this question?
DeviceNetworkEvents tracks outbound and inbound network connections.
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 30, 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.