Courseiva

Block Outgoing Emails with Credit Card Numbers Using DLP Policy Tip

A company must ensure that all outgoing emails containing credit card numbers are blocked from being sent to external recipients. When a user attempts to send such an email, it should be blocked immediately, and the user should see a policy tip explaining the rule. Which Microsoft Purview solution should the administrator configure?

Quick Answer

The answer is a Data Loss Prevention (DLP) policy in Microsoft Purview. This is correct because DLP policies are purpose-built to detect sensitive data like credit card numbers in transit and enforce real-time actions, such as blocking outgoing emails and displaying a policy tip to the user, all without requiring manual labeling. On the MS-102 exam, this scenario tests your understanding of how to configure Exchange Online mail flow rules within a DLP policy using built-in sensitive info types, with a common trap being confusion with Microsoft Defender for Office 365 or retention policies, which do not offer the same blocking and policy tip functionality. Remember the key distinction: DLP policies are the only solution that can both block the message and show a policy tip immediately upon detection. A useful memory tip is "DLP: Detect, Lock, Prompt" — it detects sensitive data, locks the message from being sent, and prompts the user with a policy tip.

⚠ Common exam trap

Watch out — candidates often confuse sensitivity labels with DLP because both involve 'protection,' but sensitivity labels require manual or automatic classification and do not perform real-time content inspection or blocking of outbound emails based on sensitive data patterns.

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

✓

Data Loss Prevention (DLP) policy

A Data Loss Prevention (DLP) policy is the correct solution because it is specifically designed to detect sensitive information, such as credit card numbers, in transit (email) and enforce real-time actions like blocking the message and displaying a policy tip to the user. DLP policies in Microsoft Purview can be configured with conditions that match credit card number patterns using built-in sensitive info types, and the action 'Block messages' with a policy tip notification is available for Exchange Online mail flow. This ensures immediate blocking and user notification without requiring any manual labeling or classification.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Data Loss Prevention (DLP) policy

    Why this is correct

    DLP policies inspect outbound email content in Exchange Online and block messages containing sensitive data such as credit card numbers, satisfying the immediate-blocking requirement. Policy tips display in Outlook, giving the sender the required explanation of why the message was stopped.

  • ✗

    Sensitivity labels

    Why it's wrong here

    Sensitivity labels classify and protect content through encryption and markings, but they do not inspect outbound mail for card numbers or block delivery. They tempt because labels are the correct choice when users must manually or automatically classify documents and apply persistent protection that travels with the file.

  • ✗

    Retention labels

    Why it's wrong here

    Retention labels govern how long content is kept or deleted; they cannot inspect message content or block transmission. They tempt because labels are the correct choice when the requirement is to retain or dispose of items on a schedule, such as keeping financial records for seven years.

  • ✗

    Communication compliance

    Why it's wrong here

    Communication compliance detects and reviews potentially inappropriate messages after they are sent, using supervised review workflows; it neither blocks transport nor displays policy tips. It tempts because it is the correct choice when compliance officers must review flagged internal communications for harassment or regulatory breaches.

Go deeper

Related to this question

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

Same concept, more angles

3 more ways this is tested on MS-102

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. Your company is implementing Microsoft Purview Data Loss Prevention (DLP) to protect credit card numbers in emails. Which THREE actions can a DLP policy take when a match is found?

easy
  • A.Delete the email from the recipient's inbox.
  • B.Encrypt the email automatically.
  • ✓ C.Allow the user to override the block with a business justification.
  • ✓ D.Send a notification to the user with a policy tip.
  • ✓ E.Block the email from being sent.

Why C: Option C is correct because Microsoft Purview DLP policies can be configured with user override capabilities, allowing users to provide a business justification to bypass a block action when a sensitive information match is detected. Option D is correct because DLP policies can display policy tips to users in supported workloads like Outlook, notifying them that their email contains sensitive content and explaining the policy that triggered the match. Option E is correct because blocking the email from being sent is a core DLP enforcement action that prevents the message containing credit card numbers from leaving the organization. Option A is incorrect because DLP policies do not retroactively delete emails from a recipient's inbox; they act at send time or at rest through retention/retention labels, not as a DLP match action. Option B is incorrect because DLP policies do not automatically encrypt emails as a match action; encryption is handled through sensitivity labels, Azure Information Protection, or Exchange mail flow rules, not DLP policy actions.

Variation 2. Your company has a Microsoft 365 E5 subscription. You need to prevent users from sharing files containing credit card numbers with external users. What should you configure?

medium
  • A.A retention policy for SharePoint sites.
  • B.An information barrier policy.
  • C.A sensitivity label with encryption.
  • ✓ D.A DLP policy that blocks sharing of content with sensitive info type.

Why D: A Data Loss Prevention (DLP) policy in Microsoft 365 can detect sensitive information types such as credit card numbers and block sharing with external users. DLP policies are designed to prevent accidental or intentional sharing of sensitive data across Exchange, SharePoint, OneDrive, and Teams, making it the correct control for this requirement.

Variation 3. A compliance officer needs to prevent users from sharing confidential documents with external users outside the organization. The policy should block sharing via email attachments or sharing links from SharePoint Online. Which Microsoft Purview solution should be configured?

medium
  • A.Sensitivity labels
  • ✓ B.Data Loss Prevention (DLP)
  • C.Retention policies
  • D.Information barriers

Why B: Data Loss Prevention (DLP) in Microsoft Purview is designed to identify, monitor, and automatically protect sensitive information across Exchange Online, SharePoint Online, and OneDrive for Business. By creating a DLP policy with a rule that blocks sharing of confidential documents via email attachments or sharing links to external users, the compliance officer can enforce the required restriction. DLP policies can inspect content for sensitive data types (e.g., credit card numbers, custom confidential labels) and apply actions such as blocking the sharing action or sending a notification.

You might also like

Similar MS-102 questions

Written by Johnson Ajibi, MSc IT Security

Security Systems Architect · 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.