- A
retention label configured with a retention action
The retention label defines the retention period and action. It must be created first and then referenced in the auto-apply policy.
- B
An auto-apply retention label policy configured with a KQL query
The auto-apply policy uses a KQL query to find documents matching the phrase 'Project Alpha' and applies the specified retention label automatically.
- C
sensitivity label configured with a retention marking
Why wrong: Sensitivity labels are for classification and protection (encryption/marking), not for automating retention label application based on keywords. They do not directly trigger retention actions.
- D
Data Loss Prevention (DLP) policy with a condition matching 'Project Alpha'
Why wrong: DLP policies prevent accidental sharing of sensitive information but cannot apply retention labels. They are not used for retention lifecycle management.
Quick Answer
The answer is an auto-apply retention label policy configured with a KQL query and a retention label set to retain for 5 years then delete. The retention label defines the lifecycle rule—specifying the 5-year retention period followed by automatic deletion—while the auto-apply policy uses a Keyword Query Language (KQL) query to scan SharePoint Online documents for the exact phrase 'Project Alpha' and automatically assign that label. On the MS-102 exam, this scenario tests your understanding of how Microsoft Purview separates the label’s action (retention and deletion) from the policy’s trigger (KQL-based auto-application), a common trap where candidates mistakenly think a single component handles both. Remember the memory tip: the label is the “what” (retain and delete), and the policy is the “how” (find and apply).
MS-102 Manage compliance by using Microsoft Purview Practice Question
This MS-102 practice question tests your understanding of manage compliance by using microsoft purview. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. A key principle to apply: retention labels define retention periods and actions (e.g., delete, retain).. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A compliance officer needs to automatically apply a retention label to documents in a SharePoint Online document library that contain the exact phrase 'Project Alpha'. The label must retain the documents for 5 years and then delete them. Which two Microsoft Purview components must be configured to achieve this? (Choose two.)
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
retention label configured with a retention action
Option A is correct because a retention label configured with a retention action (retain for 5 years, then delete) defines the specific retention and disposition behavior required by the compliance officer. This label is the policy object that enforces the lifecycle rule on documents in SharePoint Online.
Key principle: Retention labels define retention periods and actions (e.g., delete, retain).
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
retention label configured with a retention action
Why this is correct
The retention label defines the retention period and action. It must be created first and then referenced in the auto-apply policy.
Related concept
Retention labels define retention periods and actions (e.g., delete, retain).
- ✓
An auto-apply retention label policy configured with a KQL query
Why this is correct
The auto-apply policy uses a KQL query to find documents matching the phrase 'Project Alpha' and applies the specified retention label automatically.
Related concept
Retention labels define retention periods and actions (e.g., delete, retain).
- ✗
sensitivity label configured with a retention marking
Why it's wrong here
Sensitivity labels are for classification and protection (encryption/marking), not for automating retention label application based on keywords. They do not directly trigger retention actions.
- ✗
Data Loss Prevention (DLP) policy with a condition matching 'Project Alpha'
Why it's wrong here
DLP policies prevent accidental sharing of sensitive information but cannot apply retention labels. They are not used for retention lifecycle management.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates confuse sensitivity labels (used for classification and protection) with retention labels (used for lifecycle management), or mistakenly think a DLP policy can apply retention actions when it only detects and blocks data sharing.
Trap categories for this question
Keyword trap
Sensitivity labels are for classification and protection (encryption/marking), not for automating retention label application based on keywords. They do not directly trigger retention actions.
Detailed technical explanation
How to think about this question
An auto-apply retention label policy uses a KQL (Keyword Query Language) query to scan document content and metadata in SharePoint Online, automatically assigning the retention label when the exact phrase 'Project Alpha' is found. The retention label itself stores the retention and disposition settings in the Microsoft 365 compliance center, and the policy schedules a timer job to evaluate and apply the label at the item level, ensuring the 5-year retention and subsequent deletion are enforced by the underlying workload (SharePoint).
KKey Concepts to Remember
- Retention labels define retention periods and actions (e.g., delete, retain).
- Auto-apply retention label policies automate label assignment based on conditions.
- KQL queries are used in auto-apply policies to identify specific content.
- Retention labels are a prerequisite for auto-apply retention label policies.
TExam Day Tips
- 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.
Key takeaway
Retention labels define retention periods and actions (e.g., delete, retain).
Real-world example
How this comes up in practice
A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
What to study next
Got this wrong? Here's your next step.
Review retention labels define retention periods and actions (e.g., delete, retain)., then practise related MS-102 questions on the same topic to reinforce the concept.
- →
Manage compliance by using Microsoft Purview — study guide chapter
Learn the concepts, then practise the questions
- →
Manage compliance by using Microsoft Purview practice questions
Targeted practice on this topic area only
- →
All MS-102 questions
975 questions across all exam domains
- →
Microsoft 365 Administrator MS-102 study guide
Full concept coverage aligned to exam objectives
- →
MS-102 practice test guide
How to use practice tests most effectively before exam day
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.
Deploy and manage a Microsoft 365 tenant practice questions
Practise MS-102 questions linked to Deploy and manage a Microsoft 365 tenant.
Implement and manage Microsoft Entra identity and access practice questions
Practise MS-102 questions linked to Implement and manage Microsoft Entra identity and access.
Manage security and threats by using Microsoft Defender XDR practice questions
Practise MS-102 questions linked to Manage security and threats by using Microsoft Defender XDR.
Manage compliance by using Microsoft Purview practice questions
Practise MS-102 questions linked to Manage compliance by using Microsoft Purview.
Manage users, groups, licensing, and support practice questions
Practise MS-102 questions linked to Manage users, groups, licensing, and support.
Implement and manage identity and access in Microsoft Entra ID practice questions
Practise MS-102 questions linked to Implement and manage identity and access in Microsoft Entra ID.
MS-102 fundamentals practice questions
Practise MS-102 questions linked to MS-102 fundamentals.
MS-102 scenario practice questions
Practise MS-102 questions linked to MS-102 scenario.
MS-102 troubleshooting practice questions
Practise MS-102 questions linked to MS-102 troubleshooting.
Practice this exam
Start a free MS-102 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this MS-102 question test?
Manage compliance by using Microsoft Purview — This question tests Manage compliance by using Microsoft Purview — Retention labels define retention periods and actions (e.g., delete, retain)..
What is the correct answer to this question?
The correct answer is: retention label configured with a retention action — Option A is correct because a retention label configured with a retention action (retain for 5 years, then delete) defines the specific retention and disposition behavior required by the compliance officer. This label is the policy object that enforces the lifecycle rule on documents in SharePoint Online.
What should I do if I get this MS-102 question wrong?
Review retention labels define retention periods and actions (e.g., delete, retain)., then practise related MS-102 questions on the same topic to reinforce the concept.
What is the key concept behind this question?
Retention labels define retention periods and actions (e.g., delete, retain).
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
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. A compliance officer needs to automatically apply a retention label to all documents in a SharePoint Online site that have not been modified for more than 3 years. The label should retain the documents for an additional 5 years, then trigger a disposition review. Which action should the officer configure in the auto-apply retention label policy?
easy- ✓ A.Configure a condition that detects 'Last Modified Date' is older than 3 years
- B.Configure a condition that detects 'Created Date' is older than 3 years
- C.Select the retention label and manually publish to the site, then use a Power Automate flow to apply the label
- D.Create a data lifecycle management policy using a query for documents created before a certain date
Why A: Option A is correct because the auto-apply retention label policy in Microsoft Purview can use a KQL-based condition to detect documents where the 'Last Modified Date' is older than 3 years. This triggers the label to retain the documents for 5 additional years and then initiate a disposition review, meeting the compliance officer's requirement exactly.
Variation 2. A compliance officer needs to automatically apply a retention label to all documents in SharePoint Online that contain the exact phrase 'Contract'. The label must retain the documents for 10 years. Which Microsoft Purview feature should the officer configure?
easy- A.retention policy applied to the entire site
- B.Data Loss Prevention (DLP) policy
- C.An auto-apply retention label using a trainable classifier
- ✓ D.An auto-apply retention label using a content query (KQL)
Why D: Option D is correct because an auto-apply retention label using a content query (KQL) allows you to define a specific keyword or phrase (e.g., 'Contract') to automatically label documents in SharePoint Online that contain that exact text. This meets the requirement to retain documents for 10 years by applying the label based on content matching, without needing a pre-trained classifier.
Variation 3. A compliance officer wants to automatically apply a retention label to documents that contain SWIFT codes (financial identifiers) when uploaded to SharePoint Online. Which two Microsoft Purview features are required for this configuration? (Choose two.)
medium- A.Sensitivity label
- ✓ B.Trainable classifier
- ✓ C.Auto-apply retention label policy
- D.Data Loss Prevention (DLP) policy
Why B: Option B is correct because a trainable classifier is required to identify content containing SWIFT codes based on pattern recognition and machine learning. Option C is correct because an auto-apply retention label policy is the mechanism that automatically assigns the retention label to documents when the classifier detects SWIFT codes in SharePoint Online.
Keep practising
More MS-102 practice questions
- A company has a hybrid identity with password hash synchronization. They want to ensure that any user whose account is d…
- A company is deploying Microsoft 365 and wants to ensure that users in the finance department have access to only the ap…
- An administrator wants to add a custom domain 'fabrikam.com' to a new Microsoft 365 tenant. What is the first step the a…
- A company wants to implement just-in-time (JIT) privileged access for the Global Administrator role in Microsoft Entra I…
- A company recently added the custom domain 'contoso.com' to their Microsoft 365 tenant. Users report that they cannot re…
- A company uses Azure AD Connect with password hash synchronization. They want to enable Azure AD Seamless Single Sign-On…
Last reviewed: Jun 11, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.