- A
EmailEvents, DeviceProcessEvents, DeviceNetworkEvents
EmailEvents does not contain attachment-specific information such as file names; EmailAttachmentInfo is required.
- B
EmailAttachmentInfo, DeviceProcessEvents, DeviceNetworkEvents
EmailAttachmentInfo provides the attachment details, DeviceProcessEvents captures the PowerShell launch, and DeviceNetworkEvents captures the network connection.
- C
EmailEvents, DeviceProcessEvents, DeviceFileEvents
DeviceFileEvents is not needed for network connection detection, and EmailEvents lacks attachment details.
- D
EmailAttachmentInfo, DeviceProcessEvents, DeviceLogonEvents
Why wrong: DeviceLogonEvents tracks user logons, which is not part of the required detection sequence.
Quick Answer
The correct tables are EmailAttachmentInfo, DeviceProcessEvents, and DeviceNetworkEvents. This is because the email attachment to process to network chain requires tracking the specific file that was attached to the email, the process it spawned, and the outbound connection it made—EmailAttachmentInfo links the email to the file, DeviceProcessEvents captures the PowerShell execution, and DeviceNetworkEvents logs the connection to the malicious IP. On the MS-102 exam, this tests your ability to map a multi-stage attack across different data sources in Advanced Hunting, a common scenario for custom detection rules. A frequent trap is choosing EmailEvents instead of EmailAttachmentInfo, but EmailEvents lacks the file-level details needed to tie the attachment to the process. Remember the chain: file, process, network—think “FPN” for File, Process, Network to recall the three tables in order.
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: advanced Hunting uses KQL for querying security data.. 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 detect when a user opens a malicious email attachment, which launches a PowerShell process, and then that PowerShell process makes an outbound connection to a known malicious IP address. Which three Advanced Hunting tables must be joined in the KQL query?
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
EmailEvents, DeviceProcessEvents, DeviceNetworkEvents
Option B is correct because the detection requires tracking the attachment that initiated the process (EmailAttachmentInfo), the PowerShell process execution (DeviceProcessEvents), and the outbound network connection to a malicious IP (DeviceNetworkEvents). EmailAttachmentInfo provides the link between the email and the file, while EmailEvents lacks file-level details needed for this chain.
Key principle: Advanced Hunting uses KQL for querying security data.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
EmailEvents, DeviceProcessEvents, DeviceNetworkEvents
Why this is correct
EmailEvents does not contain attachment-specific information such as file names; EmailAttachmentInfo is required.
Related concept
Advanced Hunting uses KQL for querying security data.
- ✓
EmailAttachmentInfo, DeviceProcessEvents, DeviceNetworkEvents
Why this is correct
EmailAttachmentInfo provides the attachment details, DeviceProcessEvents captures the PowerShell launch, and DeviceNetworkEvents captures the network connection.
Related concept
Advanced Hunting uses KQL for querying security data.
- ✓
EmailEvents, DeviceProcessEvents, DeviceFileEvents
Why this is correct
DeviceFileEvents is not needed for network connection detection, and EmailEvents lacks attachment details.
Related concept
Advanced Hunting uses KQL for querying security data.
- ✗
EmailAttachmentInfo, DeviceProcessEvents, DeviceLogonEvents
Why it's wrong here
DeviceLogonEvents tracks user logons, which is not part of the required detection sequence.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often choose EmailEvents (Option A) thinking it captures attachment details, but EmailEvents lacks the file hash and name fields needed to join to process events, while EmailAttachmentInfo is the correct table for attachment-to-process correlation.
Detailed technical explanation
How to think about this question
Under the hood, Advanced Hunting tables are optimized for specific data types: EmailAttachmentInfo stores the SHA256 hash and file name of attachments, which can be joined to DeviceProcessEvents via the SHA256 hash to trace process creation from a malicious file. DeviceNetworkEvents includes RemoteIP, RemotePort, and protocol fields (e.g., TCP), enabling detection of outbound connections to known malicious IPs. In a real-world scenario, a phishing email with a malicious .docm file spawns PowerShell via a macro; the SHA256 hash in EmailAttachmentInfo links to the process in DeviceProcessEvents, and the process's DeviceId and Timestamp join to DeviceNetworkEvents to identify the C2 connection.
KKey Concepts to Remember
- Advanced Hunting uses KQL for querying security data.
- EmailAttachmentInfo provides details on email attachments.
- DeviceProcessEvents tracks process creation and execution.
- DeviceNetworkEvents logs outbound and inbound network connections.
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
Advanced Hunting uses KQL for querying security data.
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 advanced Hunting uses KQL for querying security data., 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 — Advanced Hunting uses KQL for querying security data..
What is the correct answer to this question?
The correct answer is: EmailEvents, DeviceProcessEvents, DeviceNetworkEvents — Option B is correct because the detection requires tracking the attachment that initiated the process (EmailAttachmentInfo), the PowerShell process execution (DeviceProcessEvents), and the outbound network connection to a malicious IP (DeviceNetworkEvents). EmailAttachmentInfo provides the link between the email and the file, while EmailEvents lacks file-level details needed for this chain.
What should I do if I get this MS-102 question wrong?
Review advanced Hunting uses KQL for querying security data., then practise related MS-102 questions on the same topic to reinforce the concept.
What is the key concept behind this question?
Advanced Hunting uses KQL for querying security data.
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 →
Keep practising
More MS-102 practice questions
- A company has a hybrid identity with password hash synchronization. They want to ensure that any user whose account is d…
- A company is deploying Microsoft 365 and wants to ensure that users in the finance department have access to only the ap…
- An administrator wants to add a custom domain 'fabrikam.com' to a new Microsoft 365 tenant. What is the first step the a…
- A company wants to implement just-in-time (JIT) privileged access for the Global Administrator role in Microsoft Entra I…
- A company recently added the custom domain 'contoso.com' to their Microsoft 365 tenant. Users report that they cannot re…
- A company uses Azure AD Connect with password hash synchronization. They want to enable Azure AD Seamless Single Sign-On…
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.