easyMultiple Choice
Querying Network Connections with DeviceNetworkEvents
A security analyst is investigating a suspicious process on an endpoint and needs to see all network connections initiated by that process. The analyst knows the ProcessId and DeviceName. Which advanced hunting table in Microsoft 365 Defender should the analyst query to retrieve network connection details associated with this process?
Quick Answer
The answer is the DeviceNetworkEvents table. This table is the correct choice because it is specifically designed in Microsoft 365 Defender to capture all network connection events, including source and destination IPs, ports, protocols, and the initiating process ID (ProcessId). By querying DeviceNetworkEvents with the known ProcessId and DeviceName, you can retrieve every network connection initiated by that suspicious process, directly linking process behavior to network activity. On the SC-200 exam, this tests your ability to map investigative goals to the correct advanced hunting schema—a common trap is confusing DeviceNetworkEvents with DeviceProcessEvents, which logs process creation but not network flows. Remember the memory tip: “Network events need network tables”—if you need connection details, skip process tables and go straight to DeviceNetworkEvents.
⚠ Common exam trap
It's easy for candidates to confuse DeviceProcessEvents (which shows process creation) with DeviceNetworkEvents (which shows network activity), assuming process events include network details, but Microsoft Defender XDR separates these concerns into distinct tables for granular hunting.
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
The DeviceNetworkEvents table in Microsoft 365 Defender is specifically designed to capture network connection events, including source and destination IP addresses, ports, protocols, and the initiating process ID (ProcessId). By querying this table with the known ProcessId and DeviceName, the analyst can retrieve all network connections initiated by that process, making it the correct choice for this investigation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
DeviceProcessEvents
Why it's wrong here
DeviceProcessEvents records process creation, command lines and parent-child relationships, not socket activity. It would be the right table for tracing how a suspicious process was launched, but network connections initiated by that ProcessId are held in DeviceNetworkEvents.
- ✓
DeviceNetworkEvents
Why this is correct
DeviceNetworkEvents records each connection initiated on a device, capturing the initiating ProcessId, DeviceName, remote IP, port and protocol. Filtering on the known ProcessId and DeviceName returns exactly the process's outbound and inbound network activity, which no other hunting table provides at that granularity.
- ✗
DeviceEvents
Why it's wrong here
DeviceEvents holds miscellaneous endpoint telemetry such as file, registry and script events, not the network connection schema. It would be correct for questions about process injection or file creation, but connection details require DeviceNetworkEvents, which records RemoteIP, RemotePort and the initiating ProcessId.
- ✗
IdentityLogonEvents
Why it's wrong here
IdentityLogonEvents covers authentication activity in Microsoft Entra ID and identity providers, such as sign-ins and logon failures. It would answer questions about compromised accounts, but endpoint socket connections tied to a ProcessId and DeviceName are recorded in DeviceNetworkEvents.
Go deeper
Related to this question
About these practice questions
Courseiva writes every SC-200 question from scratch — 1,303 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way 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. A security analyst is investigating a malware incident and has identified a specific parent process ID (PID) on an endpoint. The analyst wants to retrieve all outbound network connections made by any child processes spawned by this parent process. Which advanced hunting table should the analyst query to get the network connection details, including the destination IP and the child process ID?
medium- A.DeviceProcessEvents
- ✓ B.DeviceNetworkEvents
- C.DeviceEvents
- D.IdentityNetworkEvents
Why B: DeviceNetworkEvents is the correct table because it specifically captures outbound network connections, including destination IP addresses and process IDs (PID). By filtering on the parent process ID and then joining or filtering on child process IDs, the analyst can trace all network connections initiated by child processes spawned from the identified parent PID.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.