# Free MS-102 practice questions

> 10 free MS-102 practice questions with the correct answer and an explanation.

Page: https://devopscodelab.com/exams/microsoft-ms-102/free-practice-questions/
Practice exams: https://devopscodelab.com/exams/microsoft-ms-102/

### Question 1 of 10

A law firm needs to restore an entire OneDrive account to its state from three days ago after a ransomware incident encrypted thousands of files. The firm wants fast, point-in-time restore at scale managed from the Microsoft 365 admin center. Which solution should be used?

- A. OneDrive Restore your OneDrive by each user, combined with the second-stage recycle bin
- B. A retention policy for OneDrive accounts that keeps all content for seven years
- C. Microsoft 365 Backup, restoring the account from a restore point
- D. Microsoft Purview eDiscovery (Premium) with an export of the user's OneDrive content

**Answer:** C

**Explanation:** Microsoft 365 Backup protects OneDrive, SharePoint, and Exchange with restore points and supports large point-in-time restores managed from the admin center. The self-service OneDrive restore works per user and is not a managed, at-scale admin solution. Retention policies keep copies in the Preservation Hold library but do not roll a whole account back, and eDiscovery export produces files for review rather than restoring them in place.

### Question 2 of 10

Administrators must activate the Exchange Administrator role only when needed, provide a justification, and have the activation approved by the IT manager. Which feature should be configured?

- A. A Conditional Access policy that requires MFA for users with the Exchange Administrator role
- B. Microsoft Entra access reviews for the Exchange Administrator role, recurring every week
- C. Privileged Identity Management with eligible assignments that require approval
- D. Microsoft Entra entitlement management with an access package that contains the role

**Answer:** C

**Explanation:** PIM makes users eligible for a role and can require justification and approval for each time-bound activation. Access reviews periodically certify existing assignments but do not control just-in-time activation. A Conditional Access policy adds MFA but leaves the role permanently active, and entitlement management packages are for resources and groups rather than just-in-time activation of directory roles with approval.

### Question 3 of 10

A school district wants regional IT staff to reset passwords only for users in their own region. Users in the executive region must not be manageable by tenant-level User Administrators either. What should the administrator implement?

- A. Regional administrative units with scoped Helpdesk Administrator roles, plus a restricted management unit for executives
- B. Conditional Access policies that block regional IT staff from signing in to other regions' devices
- C. Dynamic security groups per region with the Helpdesk Administrator role assigned to each group as role-assignable groups
- D. Separate Microsoft Entra tenants per region connected through cross-tenant synchronization

**Answer:** A

**Explanation:** Administrative units scope role assignments to a subset of users, and restricted management administrative units prevent even tenant-level admins from changing their members unless they are assigned at that unit's scope. Assigning a role to a group does not limit the role's scope to a region. Separate tenants add heavy overhead, and Conditional Access controls sign-in conditions, not administrative permissions.

### Question 4 of 10 (choose 2)

A company wants to block access to Microsoft 365 from unmanaged personal devices for its sales team, while allowing them to use browser-based Outlook on the web with downloads blocked. Which two Conditional Access configurations should be used? (Choose two.)

- A. A policy for desktop and mobile clients that requires a compliant or Microsoft Entra hybrid joined device
- B. A policy that blocks all browser access and allows only the Outlook mobile app
- C. A policy that uses the Sign-in frequency session control set to one hour for browser sessions
- D. A policy for browsers that uses the Use app enforced restrictions session control for Exchange Online and SharePoint
- E. A policy that requires an approved client app for every platform, including Windows browsers

**Answer:** A, D

**Explanation:** Requiring a compliant or hybrid joined device blocks rich clients on unmanaged devices, and app enforced restrictions let Exchange Online and SharePoint offer limited, browser-only access without downloads. Sign-in frequency only forces reauthentication. Approved client app requirements apply to mobile apps, not Windows browsers, and blocking all browsers contradicts the requirement.

### Question 5 of 10

A company migrated from the legacy MFA and SSPR policies to the converged Authentication methods policy. The administrator must allow SMS only for a pilot group of frontline workers while all other users use Microsoft Authenticator. How should this be configured?

- A. In Self-service password reset, set the number of methods required to one for the pilot
- B. In the legacy per-user MFA settings, clear the text message option for all other users
- C. In the Authentication methods policy, enable SMS and target only the frontline pilot group
- D. In Conditional Access, create a policy that grants access with the SMS method only

**Answer:** C

**Explanation:** The Authentication methods policy can enable each method for specific groups, so SMS can be scoped to the pilot group. Legacy MFA settings are deprecated after the migration and do not scope methods by group. SSPR method counts do not enable or disable SMS for sign-in, and Conditional Access grants cannot pick individual methods except through authentication strengths.

### Question 6 of 10

A company has three on-premises AD DS forests that have no trust relationships with each other after a series of acquisitions. It wants to synchronize users from all three forests into one Microsoft Entra tenant with the LEAST on-premises infrastructure and high availability. Which solution should be used?

- A. Microsoft Entra Cloud Sync with at least two provisioning agents per forest
- B. Microsoft Entra Connect Sync on one server, with a staging-mode server in each forest
- C. Active Directory Federation Services farms in each forest federated with Microsoft Entra ID
- D. Three separate Microsoft Entra Connect Sync servers, one installed per forest

**Answer:** A

**Explanation:** Cloud Sync supports multiple disconnected forests using lightweight agents, and installing more than one agent per forest gives high availability with configuration held in the cloud. Connect Sync needs network connectivity to every forest from one server and staging servers do not export. Multiple Connect Sync servers syncing to one tenant is not a supported topology, and AD FS provides authentication, not synchronization.

### Question 7 of 10

The security team wants an alert when Defender for Endpoint detects a device that is missing a critical security update and is also exposed to an actively exploited vulnerability. Which data source should feed the custom detection?

- A. DeviceNetworkEvents joined with DeviceInfo for exposed devices
- B. IdentityLogonEvents joined with IdentityInfo
- C. CloudAppEvents joined with AlertEvidence
- D. DeviceTvmSoftwareVulnerabilities with exploit data

**Answer:** D

**Explanation:** DeviceTvmSoftwareVulnerabilities lists vulnerabilities per device, and combining it with vulnerability knowledge base data such as exploit availability identifies actively exploited exposures. DeviceNetworkEvents and DeviceInfo describe connections and device properties but not missing updates or CVEs. Identity and cloud app tables do not contain device vulnerability data.

### Question 8 of 10

An administrator wants recipients of quarantined phishing messages to see the message in quarantine and request release, but not release it themselves. What should be configured?

- A. A Tenant Allow/Block List block entry for the sender with a 30-day expiration
- B. A Safe Links policy that blocks users from clicking through to the original URL
- C. An anti-malware policy that notifies the recipient when a message is quarantined
- D. A quarantine policy that allows only request release, assigned in anti-phishing

**Answer:** D

**Explanation:** Quarantine policies define what users can do with quarantined messages, including only requesting release, and they are assigned in protection policies such as anti-phishing. Safe Links and the Tenant Allow/Block List do not control quarantine permissions. Anti-malware notifications no longer control what users can do with their quarantined messages.

### Question 9 of 10

An analyst confirms that a laptop is communicating with an attacker's command-and-control server. The analyst wants to stop the attack from spreading while keeping the connection to Defender for Endpoint for investigation. Which response action should be taken?

- A. Isolate the device
- B. Run an antivirus scan
- C. Collect an investigation package
- D. Restrict app execution

**Answer:** A

**Explanation:** Device isolation cuts the device off from the network except for the Defender for Endpoint service, stopping lateral movement while investigation continues. A scan does not stop network communication. Restricting app execution blocks unsigned apps but leaves the network open, and collecting a package gathers forensic data without containment.

### Question 10 of 10

The company wants to stop Microsoft 365 Copilot from summarizing or using files labeled Highly Confidential in its responses. What should be configured?

- A. A retention policy for the Microsoft 365 Copilot interactions location
- B. A Conditional Access policy that blocks the Microsoft 365 Copilot app
- C. A DLP policy for the Microsoft 365 Copilot location using the label as a condition
- D. A Defender for Cloud Apps session policy for Microsoft 365 Copilot

**Answer:** C

**Explanation:** DLP policies for the Microsoft 365 Copilot location can exclude items with specified sensitivity labels from being processed in Copilot responses. Retention for Copilot interactions governs how long prompts and responses are kept. Blocking Copilot entirely is too broad, and a session policy does not exclude labeled content from Copilot processing.

Ready for a timed run? Take the free 15-question MS-102 mini exam: https://devopscodelab.com/app/exams/microsoft-ms-102/mini/

DevOpsCode Lab is not affiliated with Microsoft. MS-102 and related names are trademarks of their owners. We write every question ourselves; these are not real exam questions.
