Courseiva

MS-102 Practice Question: Manage security and threats by using Microsoft Defender XDR

You are a Microsoft 365 administrator. A user reports that they received a Microsoft Teams message from an external user containing a link to a malicious website. The user clicked the link but did not enter any credentials. You need to prevent similar incidents in the future. What should you configure?

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

✓

Enable Safe Links for Microsoft Teams in Defender for Office 365.

Enabling Safe Links for Microsoft Teams in Defender for Office 365 provides time-of-click protection for links shared in Teams. Option A is wrong because blocking all external messages would hinder collaboration. Option B is wrong because Safe Attachments scans files, not links. Option D is wrong because anti-phishing policies protect against impersonation, not malicious links.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Configure a Teams messaging policy to block all messages from external users.

    Why it's wrong here

    Blocking all external messages prevents the entire category of communication, breaking legitimate partner and customer collaboration. It suits tenants with a strict no-external-contact requirement. The scenario needs malicious URLs neutralised while external messaging continues, which Safe Links in Teams provides.

  • ✗

    Enable Safe Attachments for SharePoint, OneDrive, and Microsoft Teams.

    Why it's wrong here

    Safe Attachments detonates and scans file attachments for malware; the message here contained a hyperlink, not an attachment, so nothing is inspected. It suits stopping weaponised files in SharePoint, OneDrive and Teams. Safe Links, which checks URLs at click time, addresses this scenario.

  • ✓

    Enable Safe Links for Microsoft Teams in Defender for Office 365.

    Why this is correct

    Safe Links for Microsoft Teams rewrites and detonates URLs at click time, blocking malicious destinations even after delivery. This satisfies the stem's requirement to prevent future incidents, since the threat arrived via Teams chat rather than email, where Safe Links policies for Teams specifically apply.

  • ✗

    Configure an anti-phishing policy to protect against impersonation in Teams.

    Why it's wrong here

    Anti-phishing policies address user and domain impersonation in email and Teams, matching spoofed senders rather than blocking malicious URLs. It suits detecting fake executives or domains. This incident involved a genuine external sender sharing a harmful link, which Safe Links rewrites and blocks at click time.

About these practice questions

Courseiva writes every MS-102 question from scratch — 712 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.