Microsoft

MS-102 Free Practice Questions

This is the free Microsoft MS-102 practice question bank — 210 of 417 total questions, each with a full explanation, free to read with no signup required. Updated 2026-04-24.

Every answer is verified against official Microsoft documentation — see our methodology.

Question 1

Overview - Fabrikam, Inc. is an electronics company that produces consumer products. Fabrikam has 10,000 employees worldwide. Fabrikam has a main office in London and branch offices in major cities in Europe, Asia, and the United States. Existing Environment - Active Directory Environment - The network contains an Active Directory forest named fabrikam.com. The forest contains all the identities used for user and computer authentication. Each department is represented by a top-level organizational unit (OU) that contains several child OUs for user accounts and computer accounts. All users authenticate to on-premises applications by signing in to their device by using a UPN format of . Fabrikam does NOT plan to implement identity federation. Network Infrastructure - Each office has a high-speed connection to the Internet. Each office contains two domain controllers. All domain controllers are configured as DNS servers. The public zone for fabrikam.com is managed by an external DNS server. All users connect to an on-premises Microsoft Exchange Server 2016 organization. The users access their email by using Outlook Anywhere, Outlook on the web, or the Microsoft Outlook app for iOS. All the Exchange servers have the latest cumulative updates installed. All shared company documents are stored on a Microsoft SharePoint Server farm. Requirements - Planned Changes - Fabrikam plans to implement a Microsoft 365 Enterprise subscription and move all email and shared documents to the subscription. Fabrikam plans to implement two pilot projects: • Project1: During Project1, the mailboxes of 100 users in the sales department will be moved to Microsoft 365. • Project2: After the successful completion of Project1, Microsoft Teams will be enabled in Microsoft 365 for the sales department users. Fabrikam plans to create a group named UserLicenses that will manage the allocation of all Microsoft 365 bulk licenses. Technical Requirements - Fabrikam identifies the following technical requirements: • All users must be able to exchange email messages successfully during Project1 by using their current email address. • Users must be able to authenticate to cloud services if Active Directory becomes unavailable. • A user named User1 must be able to view all DLP reports from the Microsoft Purview compliance portal. • Microsoft 365 Apps for enterprise applications must be installed from a network share only. • Disruptions to email access must be minimized. Application Requirements - Fabrikam identifies the following application requirements: • An on-premises web application named App1 must allow users to complete their expense reports online. App1 must be available to users from the My Apps portal. • The installation of feature updates for Microsoft 365 Apps for enterprise must be minimized. Security Requirements - Fabrikam identifies the following security requirements: • After the planned migration to Microsoft 365, all users must continue to authenticate to their mailbox and to SharePoint sites by using their UPN. • The membership of the UserLicenses group must be validated monthly. Unused user accounts must be removed from the group automatically. • After the planned migration to Microsoft 365, all users must be signed in to on-premises and cloud-based applications automatically. • The principle of least privilege must be used. You are evaluating the required processes for Project1. You need to recommend which DNS record must be created while adding a domain name to the tenant for the project. Which DNS record should you recommend?

A. name server (NS)
B. host (A)
C. mail exchanger (MX)
D. host information (HINFO)
Show Answer
Correct Answer: C
Explanation:
When adding a custom domain to a Microsoft 365 tenant for an Exchange Online migration, you must create an MX record to route email for the domain to Microsoft 365 and allow mail flow during and after Project1. This ensures users can continue to send and receive email using their existing email addresses while mailboxes are moved, with minimal disruption.

Question 1

You have a Microsoft 365 E5 subscription that contains a Windows 11 device named Device1 and a user named User1. User1 works at a branch office and reports slow connections to Microsoft 365 services. You need to ensure that User1 can test the connections by running the Microsoft 365 network connectivity test tool on Device1. The solution must follow the principle of least privilege To which group should you add User1 for Device1?

A. Power Users
B. Network Configuration Operators
C. Users
D. Administrators
Show Answer
Correct Answer: D
Explanation:
The Microsoft 365 network connectivity test tool requires the user to run it on a Windows device where they have local administrative permissions, as documented by Microsoft. Among the options provided, only the local Administrators group guarantees those permissions. Network Configuration Operators and Users do not have sufficient rights, and Power Users is deprecated. Therefore, adding User1 to the Administrators group on Device1 is required despite the least-privilege requirement.

Question 2

You have a Microsoft 365 tenant. You plan to manage incidents in the tenant by using the Microsoft Defender XDR. Which Microsoft service source will appear on the Incidents page of the Microsoft Defender portal?

A. Azure Web Application Firewall
B. Microsoft Sentinel
C. Microsoft Defender for Cloud Apps
D. Microsoft Purview
Show Answer
Correct Answer: C
Explanation:
Microsoft Defender XDR aggregates security signals and incidents from the Defender suite (such as Defender for Endpoint, Defender for Office 365, Defender for Identity, and Defender for Cloud Apps). Among the options given, only Microsoft Defender for Cloud Apps is a native Defender XDR source that appears on the Incidents page. Azure WAF, Microsoft Sentinel, and Microsoft Purview do not generate incidents directly in Defender XDR.

Question 2

HOTSPOT - Your network contains an on-premises Active Directory Domain Services (AD DS) domain. The domain contains a user named User1. You have a Microsoft Entra tenant that contains a user named User2. You plan to use Microsoft Entra Cloud Sync to sync the AD DS domain and the Microsoft Entra tenant. You need to ensure that User1 can install Microsoft Entra Cloud Sync in the domain, and User2 can configure Microsoft Entra Cloud Sync in the tenant. The solution must follow the principle of least privilege. To which group should you add User1, and which role should you assign to User2? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for MS-102 question 2
Show Answer
Correct Answer: User1: Enterprise Admins User2: Hybrid Identity Administrator
Explanation:
Installing Microsoft Entra Cloud Sync requires on-premises permissions to create and manage service accounts and configuration across the forest, which is satisfied by Enterprise Admins with least privilege among the options. Configuring Cloud Sync in the tenant requires the Hybrid Identity Administrator role, which is the minimal role designed for hybrid identity and sync management.

Question 3

You have a Microsoft 365 subscription that contains a Microsoft Entra tenant named contoso.com. The tenant includes a user named User1. You plan to use Microsoft Entra ID Protection. You need to ensure that User1 can review the list in Microsoft Entra ID Protection of users flagged for risk. The solution must use the principle of least privilege. To which role should you add User1?

A. Compliance Administrator
B. User Administrator
C. Security Administrator
D. Global Administrator
Show Answer
Correct Answer: C
Explanation:
Reviewing users flagged for risk in Microsoft Entra ID Protection requires permissions to view security and identity protection data. Among the listed options, **Security Administrator** is the least-privileged role that provides access to Identity Protection reports and risky user information. Global Administrator is excessive, and Compliance Administrator or User Administrator do not grant the required Identity Protection visibility.

Question 3

Your network contains an on-premises Active Directory Domain Services (AD DS) domain. The domain contains two organizational units (OUs) named OU1 and OU2 and the users shown in the following table. You have a Microsoft Entra tenant. You plan to sync the domain with the Microsoft Entra tenant by using Microsoft Entra Connect Sync. You need to ensure that only users in the sales and marketing departments sync with the tenant. The solution must minimize administrative effort. What should you configure in Microsoft Entra Connect?

A. OU-based filtering
B. domain-based filtering
C. group-based filtering
D. attribute-based filtering
Show Answer
Correct Answer: D
Explanation:
The requirement is to synchronize only users in the Sales and Marketing departments while minimizing administrative effort. OU-based or domain-based filtering would require restructuring or maintaining users in specific OUs, and group-based filtering would require ongoing group membership management. Attribute-based filtering can directly use an existing attribute such as the Department attribute, making it the simplest and least administrative approach.

Question 4

Your network contains an Active Directory domain named adatum.com that is synced to a Microsoft Entra tenant. The domain contains 100 user accounts. The city attribute for all the users is set to the city where the user resides. You need to modify the value of the city attribute to the three-letter airport code of each city. What should you do?

A. From Azure Cloud Shell, run the Get-ADUser and Set-ADUser cmdlets.
B. From Azure Cloud Shell, run the Get-MsolUser and Set-Msoluser cmdlets.
C. From Windows PowerShell on a domain controller, run the Get-MgUser and Update-MgUser cmdlets.
D. From Active Directory Administrative Center, select the Active Directory users, and then modify the Properties settings.
Show Answer
Correct Answer: D
Explanation:
The city attribute is mastered in the on‑premises Active Directory and synchronized to Microsoft Entra. Therefore, the change must be made in on‑prem AD. Azure Cloud Shell cannot manage on‑prem AD attributes, and Microsoft Graph/Msol cmdlets cannot modify synced attributes. Using Active Directory Administrative Center to bulk‑edit user properties updates the attribute correctly at the source.

Question 4

Your network contains an on-premises Active Directory Domain Services (AD DS) forest. You have a Microsoft Entra tenant. You implement Microsoft Entra Connect Sync. The synchronization fails to complete. You review the logs and discover the following error message: "We found an issue with the service account that is used to run Microsoft Entra Connect Sync". You need to ensure that the synchronization completes successfully. The solution must minimize administrative effort. What should you do?

A. From the Microsoft Entra admin center, reset the password of the Microsoft Entra Connect Sync account.
B. From PowerShell, run the Repair-AADCloudSyncToolsAccount cmdlet.
C. From Active Directory Users and Computers, reset the password or the ADSync service account.
D. From PowerShell, run the Set-ADSyncScheduler cmdlet.
Show Answer
Correct Answer: C
Explanation:
The error refers to the service account used by Microsoft Entra Connect Sync (the on‑premises ADSync service account). For Entra Connect Sync, the quickest and supported fix is to reset the password of the ADSync service account in Active Directory Users and Computers and let the service resume, or re-enter it if prompted. The Repair-AADCloudSyncToolsAccount cmdlet applies to Entra Cloud Sync, not Entra Connect Sync, and the other options do not address the on‑prem service account issue.

Question 5

You have a Microsoft 365 tenant - You plan to manage incidents in the tenant by using the Microsoft Defender XDR. Which Microsoft service source will appear on the Incidents page of the Microsoft Defender portal?

A. Azure Information Protection
B. Microsoft Defender for Identity
C. Azure Web Application Firewall
D. Microsoft Sentinel
Show Answer
Correct Answer: B
Explanation:
The Incidents page in Microsoft Defender XDR aggregates incidents from integrated Defender workloads. Microsoft Defender for Identity is a core Defender service whose alerts and incidents appear in the Microsoft Defender portal. Azure Information Protection, Azure Web Application Firewall, and Microsoft Sentinel do not surface as incident sources in Defender XDR.

Question 5

Your on-premises network contains an Active Directory Domain Services (AD DS) domain. You have a Microsoft 365 E5 subscription. You plan to implement Microsoft Entra Connect Sync and use Microsoft Entra ID Protection. You need to configure Microsoft Entra Connect Sync to ensure that Microsoft Entra ID Protection can detect leaked credentials. What should you select?

A. Password writeback
B. Password Hash Synchronization
C. Configure Hybrid Microsoft Entra join
D. Pass-through authentication
E. Enable single sign-on
Show Answer
Correct Answer: B
Explanation:
Microsoft Entra ID Protection can detect leaked credentials only when password hashes are available in Microsoft Entra ID. Enabling Password Hash Synchronization allows Entra ID to analyze sign-in attempts against known leaked credential databases. Other options (pass-through authentication, password writeback, hybrid join, or SSO) do not provide the password hash needed for leaked credential detection.

$19

Get all 417 questions with detailed answers and explanations

  • Instant download HTML + PDF delivered the moment payment clears.
  • Secure Stripe checkout we never see or store your card details.
  • 7-day refund if files are defective see our refund policy.