Courseiva

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

Drag and drop the steps to configure a compliance retention policy in Microsoft Purview in the correct order.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

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

✓

Create a retention policy → Select locations → Configure retention settings → Publish the policy

Retention policies are created in Purview, locations selected, retention settings defined, and then published.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Create a retention policy → Select locations → Configure retention settings → Publish the policy

    Why this is correct

    Creating the retention policy is the initial step in the Microsoft Purview compliance portal because it establishes the policy object that will contain the scope and rules. After the policy is initialized, you add locations (Exchange mailboxes, SharePoint sites, OneDrive accounts, Microsoft 365 Groups, and Teams) to define what content is covered. Then you configure the retention settings — whether to retain, delete, or retain-and-delete and for how long — before publishing, which saves and enforces the policy across the selected locations. This order mirrors the wizard's progression and ensures a complete, valid policy is activated.

  • ✗

    Select locations → Create a retention policy → Configure retention settings → Publish the policy

    Why it's wrong here

    Selecting locations before creating a retention policy is technically impossible because the location pickers in the Microsoft Purview portal are part of the policy-creation wizard and require an existing policy object to bind the scope. Without a policy, there is no container to store which mailboxes or sites are included; the scope is defined as an attribute of the policy, so you must create the policy first. Attempting to choose locations first would leave the selections unbound, and the portal does not expose a location picker outside the policy workflow.

  • ✗

    Configure retention settings → Create a retention policy → Select locations → Publish the policy

    Why it's wrong here

    Configuring retention settings before the policy exists is invalid because retention actions, retention periods, and the decision to retain, delete, or both are stored in a retention rule that is defined on the policy. In the wizard, the settings step appears only after the policy is created and locations are selected; in PowerShell, you must run New-RetentionCompliancePolicy before New-RetentionComplianceRule. Defining settings first would have no policy object to attach the rule to, so the settings cannot be created or persisted until the policy exists.

  • ✗

    Create a retention policy → Publish the policy → Select locations → Configure retention settings

    Why it's wrong here

    Publishing the policy before selecting locations and configuring retention settings is a logical error because 'publish' in the compliance portal finalizes and applies the policy to the content you selected. If you published an empty policy, you would be activating a policy with no scope or retention rules, which Microsoft 365 will not allow; the wizard blocks the final confirmation until locations and settings are specified. Even if you later edit the policy to add them, the initial publication would not have the intended compliance coverage, so the correct sequence is to define everything before the final publish step.

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 →

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.