MS-102 Manage compliance by using Microsoft Purview Practice Question
A compliance officer needs to automatically apply a sensitivity label that encrypts documents in SharePoint Online when the documents contain a custom regex pattern (e.g., employee ID). The labeling must occur automatically without requiring user interaction. Which two Microsoft Purview components must be configured? (Select the option that correctly identifies both components.)
⚠ Common exam trap
Candidates often forget that auto-labeling policies require a sensitive info type (SIT) as the detection condition. A custom regex pattern must be defined as a custom SIT; the label and policy alone cannot detect it. Also, DLP policies do not apply sensitivity labels—they only detect and protect/block.
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
✓
An auto-labeling policy and a sensitivity label with encryption configured
Auto-labeling in Microsoft Purview requires three elements: (1) a custom sensitive info type (SIT) defined with the regex pattern (e.g., employee ID), (2) a sensitivity label configured with encryption, and (3) an auto-labeling policy that uses the SIT as a condition to apply the label without user interaction. Option A is incomplete because it omits the custom SIT needed to detect the regex pattern; without it, the auto-labeling policy has no condition to match. Option D includes the SIT and label but lacks the auto-labeling policy, so it cannot apply labels automatically. The question's framing as 'two components' is flawed; the correct set is the SIT, the label, and the auto-labeling policy.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
An auto-labeling policy and a sensitivity label with encryption configured
Why this is correct
Correct. An auto-labeling policy automatically applies the sensitivity label to documents matching the custom regex pattern, and the sensitivity label with encryption provides the required protection.
- ✗
Data Loss Prevention (DLP) policy and a sensitivity label
Why it's wrong here
DLP policies do not apply labels; they can trigger actions like blocking, but labeling is done by auto-labeling policies.
- ✗
retention label and an auto-labeling policy
Why it's wrong here
Retention labels are for lifecycle management, not encryption. The requirement specifically needs encryption.
- ✗
sensitive info type and a sensitivity label
Why it's wrong here
Incorrect. While a sensitive info type defines the custom regex pattern and a sensitivity label provides encryption, an auto-labeling policy is essential to automatically apply the label without user interaction. Option D lacks this policy, so it is insufficient.
Go deeper
Related to this question
Learn chapter
Compliance Score and Improvement Actions
Key term
SharePoint Online
SharePoint Online is a cloud-based collaboration platform from Microsoft that lets teams create, store, organize, and share content securely from anywhere.
Key term
Policy
A policy is a set of rules or guidelines that defines how an organization manages, secures, and operates its IT systems and services.
About these practice questions
One of 712 original MS-102 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
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.