MS-102 Manage compliance by using Microsoft Purview Practice Question
A compliance administrator needs to automatically apply a retention label to documents in a SharePoint Online site that contain the keyword 'Project Alpha'. The label should retain the documents for 5 years and then delete them. Which two Microsoft Purview features must be configured to achieve this? (Choose two.)
⚠ Common exam trap
Many candidates confuse trainable classifiers with keyword-based sensitive info types, assuming machine learning is needed for any content detection, when in fact a simple keyword dictionary is sufficient and more appropriate for fixed terms.
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
✓
Auto-labeling policy for SharePoint Online
An auto-labeling policy for SharePoint Online (option B) is required because it can automatically apply a retention label to documents based on conditions such as the presence of specific keywords. The sensitive info type with a keyword dictionary (option D) defines the condition by creating a custom sensitive information type that matches the exact phrase 'Project Alpha', which the auto-labeling policy then uses to trigger the label application.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Trainable classifiers
Why it's wrong here
Trainable classifiers leverage machine learning to recognize content by pattern, context, and meaning, not by exact string matching. They must be trained on seeded examples and are best for subjective document types like contracts or invoices. A specific project name like 'Project Alpha' is a literal keyword, which trainable classifiers are not designed to detect, so they cannot reliably apply the 2-year retention label.
- ✓
Auto-labeling policy for SharePoint Online
Why this is correct
Auto-labeling policy for SharePoint Online is the correct feature because it uses conditions (like sensitive info types or trainable classifiers) to automatically apply a retention label to matching documents. To satisfy the requirement, you configure the policy with a sensitive info type that includes a keyword dictionary for 'Project Alpha', and assign the 2-year retention label. This policy runs continuously and can target all or specific SharePoint sites, providing the required automatic labeling.
- ✗
Document Fingerprinting
Why it's wrong here
Document Fingerprinting creates a hash-based template from a standard document, capturing its exact text, formatting, and layout to detect near-duplicates in DLP policies. It is not designed for single keywords or phrases that appear in unrelated forms; 'Project Alpha' has no consistent document structure to fingerprint. Therefore, it cannot be used to automatically apply a retention label based on that phrase.
- ✓
Sensitive info type with a keyword dictionary (e.g., 'Project Alpha')
Why this is correct
A sensitive info type with a keyword dictionary is a detection mechanism, not a labeling mechanism. You can define a custom sensitive info type that triggers on the keyword 'Project Alpha', but it only identifies content; it does not apply the 2-year retention label. You must reference that sensitive info type in an auto-labeling policy to perform the actual label application. As an answer choice, this is a partial solution, not the direct answer.
Go deeper
Related to this question
Learn chapter
Microsoft 365 Tenant Setup
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.
Key term
Microsoft Purview
Microsoft Purview is a unified data governance and compliance service that helps organizations discover, manage, and protect their data across on-premises, cloud, and hybrid environments.
About these practice questions
Courseiva writes every MS-102 question from scratch — 241 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 →
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.