hardmultiple choiceObjective-mapped

A security analyst is investigating a potential attack where a user received a malicious email with an HTML attachment. The HTML file, when opened, fetched a JavaScript payload from a remote server that then dropped a binary on the user's machine and executed it. The analyst wants to create a custom detection rule in Microsoft 365 Defender Advanced Hunting that alerts when an email contains an HTML attachment with an external link, and that attachment is opened, causing a process creation. Which two tables should the analyst join in the KQL query to correlate the email attachment with the resulting process?

Question 1hardmultiple choice
Full question →

A security analyst is investigating a potential attack where a user received a malicious email with an HTML attachment. The HTML file, when opened, fetched a JavaScript payload from a remote server that then dropped a binary on the user's machine and executed it. The analyst wants to create a custom detection rule in Microsoft 365 Defender Advanced Hunting that alerts when an email contains an HTML attachment with an external link, and that attachment is opened, causing a process creation. Which two tables should the analyst join in the KQL query to correlate the email attachment with the resulting process?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

EmailAttachmentInfo and DeviceProcessEvents

Correct. Join these tables on the SHA256 hash of the attachment to link the email attachment to a specific process that was created after the attachment was opened.

B

Distractor review

EmailEvents and DeviceProcessEvents

Incorrect. EmailEvents does not have attachment file details; it only contains email-level properties like subject and sender.

C

Distractor review

EmailAttachmentInfo and DeviceFileEvents

Incorrect. DeviceFileEvents logs file creation and modification, not process creation. The requirement is to detect the process that was executed, not the file drop.

D

Distractor review

EmailUrlInfo and DeviceProcessEvents

Incorrect. EmailUrlInfo logs URLs in email bodies, not HTML attachments. The scenario involves an attachment, not a URL directly in the email body.

Common exam trap

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Technical deep dive

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • 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.

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.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

Question 1

A company recently added the custom domain 'contoso.com' to their Microsoft 365 tenant. Users report that they cannot receive external email sent to their new domain addresses. The administrator confirmed that the domain status shows 'Active' in the Microsoft 365 admin center. What is the most likely cause of this issue?

Question 2

A company has 500 users across Sales, Marketing, and IT departments. User objects are synced from on-premises Active Directory to Microsoft Entra ID using Azure AD Connect. Each department requires different Microsoft 365 license plans (e.g., Sales needs E3, Marketing needs Business Premium, IT needs E5). The administrator wants to automatically assign the appropriate license based on the department attribute without manual intervention. Which approach should the administrator use?

Question 3

A company has purchased 1000 Microsoft 365 E5 licenses and wants to automatically assign licenses to users based on their department attribute, which is synchronized from on-premises Active Directory. The department attribute is stored in Azure AD. Which automated method should the administrator use to achieve this?

Question 4

A company has just purchased Microsoft 365 Business Standard and added the custom domain 'fabrikam.com' to the tenant. They want to verify domain ownership. Which DNS record type must they add to their DNS provider?

Question 5

A company plans to migrate their email from an on-premises Exchange server to Exchange Online. They want to ensure that during the migration, mail sent to users who have already been migrated is delivered to Exchange Online, while mail for non-migrated users is delivered to on-premises. Which type of domain configuration should they use?

Question 6

A company has registered the custom domain 'contoso.com' and wants to host email for the subdomain 'sales.contoso.com' in Exchange Online. They have already verified the root domain. What additional step is required?

FAQ

Questions learners often ask

What does this MS-102 question test?

Read the scenario before looking for a memorised answer.

What is the correct answer to this question?

The correct answer is: EmailAttachmentInfo and DeviceProcessEvents — This scenario requires correlating email attachment events with process creation events. The EmailAttachmentInfo table contains information about email attachments, including file names and SHA256 hashes. The DeviceProcessEvents table contains process creation events on devices. By joining these tables on the file hash (or file name), the analyst can track when a specific attachment leads to a process. Option A is correct. Option B is incorrect because EmailEvents lacks attachment details; it only has email metadata. Option C is incorrect because DeviceFileEvents captures file creation/modification, not process creation. Option D is incorrect because EmailUrlInfo is for URLs in email bodies, not attachments.

What should I do if I get this MS-102 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.