Microsoft MS-102 Practice Questions with Explanations

Free Microsoft MS-102 practice questions. 50 of them, each with the correct answer, a full explanation, and the reason every other option is wrong. These are real questions from the MS-102 exam, not paraphrases, and every explanation is written out rather than just marking the right letter.

They are drawn from the same bank as the full MS-102 pack, which has 460 questions in total.

Get the full MS-102 question bank (460 questions) →

MS-102 practice questions

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 username@fabrikam.com. 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 for the project. Which DNS record should you recommend?

  • A. host (A)
  • B. host information (HINFO)
  • C. text (TXT)
  • D. pointer (PTR)
Show answer and explanation ▾

Correct answer: C

When adding a domain to Microsoft 365, TXT records are required for domain verification and to configure mail flow settings like SPF, DKIM, and DMARC. Microsoft 365 requires DNS TXT records to verify domain ownership and establish proper email authentication protocols during the migration process.

Why the other options are wrong:

  • A. Host (A) records map domain names to IP addresses but are not used for domain verification in Microsoft 365 onboarding.
  • B. HINFO records provide host information but are not part of the Microsoft 365 domain setup process.
  • D. PTR records are used for reverse DNS lookups and are not required for adding a domain to Microsoft 365.

Question 2

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 username@fabrikam.com. 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 need to ensure that all the sales department users can authenticate successfully during Project1 and Project2. Which authentication strategy should you implement for the pilot projects?

  • A. pass-through authentication
  • B. pass-through authentication and seamless SSO
  • C. password hash synchronization and seamless SSO
  • D. password hash synchronization
Show answer and explanation ▾

Correct answer: C

Password hash synchronization combined with seamless SSO is the optimal strategy for this scenario. It meets the requirement for authentication when Active Directory becomes unavailable (password hash provides fallback authentication) while seamless SSO ensures automatic sign-in to both on-premises and cloud applications. This combination provides both resilience and user experience requirements without requiring identity federation.

Why the other options are wrong:

  • A. Pass-through authentication alone does not provide fallback authentication if Active Directory becomes unavailable.
  • B. Pass-through authentication cannot function if AD is unavailable, failing the requirement for continuous authentication during AD outages.
  • D. Password hash synchronization alone does not provide the seamless SSO experience required for automatic sign-in to all applications.

Question 3

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 username@fabrikam.com. 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. Which role should you assign to User1?

  • A. Hygiene Management
  • B. Security Reader
Show answer and explanation ▾

Correct answer: B

The Security Reader role provides the minimum necessary permissions to view all DLP reports from the Microsoft Purview compliance portal without granting unnecessary administrative privileges. This aligns with the principle of least privilege specified in the security requirements.

Why the other options are wrong:

  • A. Hygiene Management role is designed for managing mail hygiene and threat policies, not for viewing DLP reports.

Question 4

Your company has a Microsoft 365 subscription. You need to identify all the users in the subscription who are licensed for Office 365 through a group membership. The solution must include the name of the group used to assign the license. What should you use?

  • A. Active users in the Microsoft 365 admin center
  • B. Reports in Microsoft Purview compliance portal
  • C. the Licenses blade in the Microsoft Entra admin center
  • D. Reports in the Microsoft 365 admin center
Show answer and explanation ▾

Correct answer: C

The Licenses blade in the Microsoft Entra admin center provides a view of all users licensed through group membership and displays which specific group is assigned to each license. This is the dedicated tool for identifying users with group-based licensing and their associated groups.

Why the other options are wrong:

  • A. Active users in the Microsoft 365 admin center shows user licensing status but does not specifically identify group-based licensing or the group names used.
  • B. Reports in Microsoft Purview compliance portal focus on compliance and security matters, not licensing information.
  • D. Reports in the Microsoft 365 admin center provide general license usage but lack the specific group membership details shown in the Licenses blade.

Question 5

You have a Microsoft 365 subscription that contains the users shown in the following table. You need to configure group-based licensing to meet the following requirements: To all users, deploy an Office 365 E3 license without the Power Automate license option. To all users, deploy an Enterprise Mobility + Security E5 license. To the users in the research department only, deploy a Power BI Pro license. To the users in the marketing department only, deploy a Visio Plan 2 license. What is the minimum number of deployment groups required?

  • A. 1
  • B. 2
  • C. 3
  • D. 4
  • E. 5
Show answer and explanation ▾

Correct answer: C

To meet all requirements with group-based licensing, you need to identify the minimum number of distinct license combinations. Group 1: All users (User1, User2, User3, User4) receive Office 365 E3 (without Power Automate) and Enterprise Mobility + Security E5. Group 2: Research department users (User2) receive Power BI Pro in addition to Group 1 licenses. Group 3: Marketing department users (User4) receive Visio Plan 2 in addition to Group 1 licenses. User3 (Human resources) receives only the licenses from Group 1. This requires a minimum of 3 groups because the licensing requirements diverge: all users share two licenses, but Research and Marketing departments each need unique additional licenses that cannot be combined into a single group without giving inappropriate licenses to other users.

Why the other options are wrong:

  • A. One group cannot satisfy the requirement since Research and Marketing departments need different additional licenses (Power BI Pro vs. Visio Plan 2).
  • B. Two groups would leave User3 in Human resources without a clear licensing path, as you'd need to handle the base licenses plus two separate department-specific groups.
  • D. Four groups would be unnecessary; you don't need separate groups for Human resources users since they only require the base licenses shared by all users.
  • E. Five groups would be excessive; there's no scenario where you need a group for each individual user when departments can be consolidated.

Question 6

You have a Microsoft 365 subscription. You view the Service health Overview as shown in the following exhibit. You need to ensure that a user named User1 can view the advisories to investigate service health issues. Which role should you assign to User1?

  • A. Message Center Reader
  • B. Reports Reader
  • C. Service Support Administrator
  • D. Compliance Administrator
Show answer and explanation ▾

Correct answer: C

Service Support Administrator is the role that grants users access to view and manage service health advisories in the Microsoft 365 admin center. This role allows User1 to view the Service health page, including all active issues and advisories (such as the 3 advisories for Exchange Online, 2 for Microsoft 365 suite, etc.) that are displayed in the exhibit. This role is specifically designed for users who need to investigate and respond to service health issues affecting their organization.

Why the other options are wrong:

  • A. Message Center Reader only allows viewing messages in the Message Center; it does not grant access to the Service health dashboard with advisories and issue details.
  • B. Reports Reader provides access to view usage reports and analytics in Microsoft 365 but does not grant permission to view service health advisories or investigate service issues.
  • D. Compliance Administrator focuses on managing compliance-related tasks and policies; it does not specifically grant access to the Service health page for investigating advisories.

Question 7

You have a Microsoft 365 subscription. You have an Azure AD tenant that contains the users shown in the following table. You configure Tenant properties as shown in the following exhibit. Which users will be contacted by Microsoft if the tenant experiences a data breach?

  • A. User1 only
  • B. User2 only
  • C. User3 only
  • D. User1 and User2 only
  • E. User2 and User3 only
Show answer and explanation ▾

Correct answer: B

In Azure AD, the Technical contact field is used for internal Azure notifications, while the Global privacy contact is the designated recipient for data breach and security incident notifications from Microsoft. User1@contoso.com is configured as the Technical contact, but the Global privacy contact field is empty (only showing a checkmark indicating the field is present but not filled). Since User2 has the Global Administrator role and no Global privacy contact is explicitly set, Microsoft will contact User2 as the default contact for data breach notifications, as Global Administrators are the fallback recipients for critical security communications when no specific privacy contact is designated.

Why the other options are wrong:

  • A. User1 is the Technical contact, not the Global privacy contact; Technical contacts receive operational notifications, not breach notifications.
  • C. User3 is a Service Support Administrator with no special designation in the tenant properties that would make them a breach notification recipient.
  • D. User1 is the Technical contact (not responsible for breach notifications) and User2 is the correct contact, but including User1 is incorrect.
  • E. User3 has no role or tenant property configuration that designates them as a breach contact; User2 alone is correct.

Question 8

Your network contains an Active Directory forest named contoso.local. You purchase a Microsoft 365 subscription. You plan to move to Microsoft 365 and to implement a hybrid deployment solution for the next 12 months. You need to prepare for the planned move to Microsoft 365. What is the best action to perform before you implement directory synchronization? More than one answer choice may achieve the goal. Select the BEST answer.

  • A. Purchase a third-party X.509 certificate.
  • B. Create an external forest trust.
  • C. Rename the Active Directory forest.
  • D. Purchase a custom domain name.
Show answer and explanation ▾

Correct answer: D

Purchasing a custom domain name is the best preparatory action before implementing directory synchronization. Microsoft 365 requires a routable domain, and having this in place ensures proper UPN formatting and mail flow configuration. While on-premises forest is contoso.local, the Microsoft 365 tenant will use a public domain like contoso.com.

Why the other options are wrong:

  • A. X.509 certificates are used for specific scenarios like certificate-based authentication but are not required before directory synchronization.
  • B. External forest trusts are not necessary for hybrid Microsoft 365 deployments using directory synchronization.
  • C. Renaming the Active Directory forest is not required or recommended before implementing hybrid Microsoft 365 solutions.

Question 9

You have a Microsoft 365 subscription. You configure a new Azure AD enterprise application named App1. App1 requires that a user be assigned the Reports Reader role. Which type of group should you use to assign the Reports Reader role and to access App1?

  • A. a Microsoft 365 group that has assigned membership
  • B. a Microsoft 365 group that has dynamic user membership
  • C. a security group that has assigned membership
  • D. a security group that has dynamic user membership
Show answer and explanation ▾

Correct answer: C

A security group with assigned membership is the correct choice for assigning roles to an Azure AD enterprise application. Security groups can be assigned roles in Azure AD applications, whereas Microsoft 365 groups are primarily for collaboration and mailbox scenarios. Assigned membership provides explicit control over role assignments.

Why the other options are wrong:

  • A. Microsoft 365 groups are designed for collaboration and team scenarios, not for role assignment to enterprise applications.
  • B. Microsoft 365 groups with dynamic membership are also not the appropriate group type for assigning application roles.
  • D. While security groups are correct, dynamic membership is less appropriate than assigned membership when you need explicit control over which users have specific application roles.

Question 10

You have a new Microsoft 365 E5 tenant. You need to enable an alert policy that will be triggered when an elevation of Microsoft Exchange Online administrative privileges is detected. What should you do first?

  • A. Enable auditing.
  • B. Enable Microsoft 365 usage analytics.
  • C. Create an Insider risk management policy.
  • D. Create a communication compliance policy.
Show answer and explanation ▾

Correct answer: A

Auditing must be enabled first before alert policies can function in Microsoft 365. Alert policies rely on the audit log to detect and trigger on specific activities such as elevation of Exchange Online administrative privileges. Without auditing enabled, the system cannot capture the events needed to trigger alerts.

Why the other options are wrong:

  • B. Microsoft 365 usage analytics are not prerequisites for creating alert policies.
  • C. Insider risk management policies are a separate compliance feature and are not required before enabling basic alert policies.
  • D. Communication compliance policies are distinct from alert policies and are not necessary prerequisites for privilege elevation alerts.

Question 11

Your network contains an on-premises Active Directory domain named contoso.com. The domain contains 1,000 Windows 10 devices. You perform a proof of concept (PoC) deployment of Microsoft Defender for Endpoint for 10 test devices. During the onboarding process, you configure Microsoft Defender for Endpoint-related data to be stored in the United States. You plan to onboard all the devices to Microsoft Defender for Endpoint. You need to store the Microsoft Defender for Endpoint data in Europe. What should you do first?

  • A. Delete the workspace.
  • B. Create a workspace.
  • C. Onboard a new device.
  • D. Offboard the test devices.
Show answer and explanation ▾

Correct answer: D

The data residency setting in Microsoft Defender for Endpoint cannot be changed after initial onboarding. Therefore, the test devices must first be offboarded to reset the data location configuration. After offboarding, a new workspace can be created with the Europe data residency setting, and all devices can be re-onboarded with the correct configuration.

Why the other options are wrong:

  • A. Deleting the workspace does not change the data residency setting; it only removes the workspace without allowing reconfiguration.
  • B. Creating a workspace does not address the data residency issue since the current workspace is already configured for US storage.
  • C. Onboarding a new device would still associate it with the existing US-based workspace, not changing the data location.

Question 12

You have a Microsoft 365 E5 subscription that contains a user named User1. User1 exceeds the default daily limit of allowed email messages and is on the Restricted entities list. You need to remove User1 from the Restricted entities list. What should you use?

  • A. the Exchange admin center
  • B. the Microsoft Purview compliance portal
  • C. the Microsoft 365 admin center
  • D. the Microsoft 365 Defender portal
  • E. the Microsoft Entra admin center
Show answer and explanation ▾

Correct answer: D

The Microsoft 365 Defender portal is the correct tool for managing the Restricted entities list. When a user exceeds email sending limits, they are added to this list, and removal requires access to Defender's threat management capabilities, specifically the Restricted entities section under Mail flow.

Why the other options are wrong:

  • A. The Exchange admin center manages mailbox and mail flow policies but not the Restricted entities list
  • B. Microsoft Purview compliance portal handles data governance and compliance, not entity restrictions
  • C. The Microsoft 365 admin center manages general tenant settings and user management, not security restrictions
  • E. The Microsoft Entra admin center manages identity and access, not mail security restrictions

Question 13

Your company has a Microsoft 365 E5 subscription. Users in the research department work with sensitive data. You need to prevent the research department users from accessing potentially unsafe websites by using hyperlinks embedded in email messages and documents. Users in other departments must not be restricted. What should you do?

  • A. Create a data loss prevention (DLP) policy that has a Content is shared condition.
  • B. Modify the safe links policy Global settings.
  • C. Create a data loss prevention (DLP) policy that has a Content contains condition.
  • D. Create a new safe links policy.
Show answer and explanation ▾

Correct answer: D

Creating a new Safe Links policy allows you to apply Safe Links protection specifically to the research department users while excluding other departments. Safe Links policies can be scoped to specific user groups and protect against unsafe URLs in emails and documents.

Why the other options are wrong:

  • A. DLP policies with Content is shared condition focus on data sharing, not URL protection
  • B. Modifying Global settings would apply Safe Links to all users, not just the research department
  • C. DLP policies with Content contains condition scan for sensitive data patterns, not URL safety

Question 14

You have a Microsoft 365 E5 subscription. You need to compare the current Safe Links configuration to the Microsoft recommended configurations. What should you use?

  • A. Microsoft Purview
  • B. Azure AD Identity Protection
  • C. Microsoft Secure Score
  • D. the configuration analyzer
Show answer and explanation ▾

Correct answer: D

The configuration analyzer is the dedicated tool in Microsoft Defender for Office 365 that compares your current Safe Links configuration against Microsoft's recommended security baselines and best practices.

Why the other options are wrong:

  • A. Microsoft Purview focuses on data governance and compliance, not security configuration comparison
  • B. Azure AD Identity Protection manages identity risk, not Office 365 configuration recommendations
  • C. While Secure Score provides security posture guidance, the configuration analyzer is the specific tool for Safe Links comparison

Question 15

You have a Microsoft 365 E5 subscription that uses Microsoft Defender for Endpoint. When users attempt to access the portal of a partner company, they receive the message shown in the following exhibit. You need to enable user access to the partner company's portal. Which Microsoft Defender for Endpoint setting should you modify?

  • A. Alert notifications
  • B. Alert suppression
  • C. Custom detections
  • D. Advanced hunting
  • E. Indicators
Show answer and explanation ▾

Correct answer: E

The screenshot shows a Microsoft Defender SmartScreen block page, which indicates the website has been flagged as potentially malicious or unwanted. To allow users to access the partner company's portal, you need to modify Indicators in Microsoft Defender for Endpoint. Indicators allow you to define entities (URLs, IPs, domains, file hashes) that should be allowed or blocked, overriding the default threat intelligence. By creating an indicator for the partner portal's URL and setting it to 'Allow', users will be permitted to access it despite any previous security categorization.

Why the other options are wrong:

  • A. Alert notifications control how and where security alerts are delivered to administrators, not whether websites are allowed or blocked.
  • B. Alert suppression prevents specific alerts from being generated, but does not affect website access or blocking decisions.
  • C. Custom detections are used to create detection rules for specific threats or patterns, not to allow or block website access.
  • D. Advanced hunting is a query tool for investigating security events and threats, not a setting that controls website access policies.

Question 16

You have a Microsoft 365 subscription that uses Microsoft Defender for Office 365. You need to ensure that users are prevented from opening or downloading malicious files from Microsoft Teams, OneDrive, or SharePoint Online. What should you do?

  • A. Create a new Anti-malware policy.
  • B. Configure the Safe Links global settings.
  • C. Create a new Anti-phishing policy.
  • D. Configure the Safe Attachments global settings.
Show answer and explanation ▾

Correct answer: D

Safe Attachments global settings enable protection against malicious files in Teams, OneDrive, and SharePoint Online by scanning attachments and preventing users from opening or downloading detected malware.

Why the other options are wrong:

  • A. Anti-malware policies protect email messages, not cloud app integrations
  • B. Safe Links global settings protect against malicious URLs, not file downloads
  • C. Anti-phishing policies protect against phishing attacks, not malware file downloads

Question 17

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

  • A. Microsoft Sentinel
  • B. Microsoft Defender for Cloud
  • C. Azure Arc
  • D. Microsoft Defender for Identity
Show answer and explanation ▾

Correct answer: D

Microsoft Defender for Identity is a native Microsoft 365 Defender component that appears on the Incidents page, providing identity-based threat detection and incident reporting integrated into the Defender portal.

Why the other options are wrong:

  • A. Microsoft Sentinel is a separate SIEM service that connects to Defender but is not a source service within Defender itself
  • B. Microsoft Defender for Cloud is an Azure-focused service and does not appear as a source in Microsoft 365 Defender incidents
  • C. Azure Arc is an infrastructure management service, not a security source for Defender incidents

Question 18

Your network contains an on-premises Active Directory domain named contoso.com. The domain contains the objects shown in the following table. You configure Azure AD Connect to sync contoso.com to Azure AD. Which objects will sync to Azure AD?

  • A. Group1 only
  • B. User1 and User2 only
  • C. Group1 and User1 only
  • D. Group1, User1, and User2
Show answer and explanation ▾

Correct answer: D

Azure AD Connect synchronizes all objects from on-premises Active Directory to Azure AD by default, unless explicitly filtered. The table shows Group1 (a global security group), User1 (an enabled user account), and User2 (a disabled user account). By default, Azure AD Connect syncs all three object types regardless of whether user accounts are enabled or disabled. Disabled accounts are still synchronized unless filtering rules are specifically configured to exclude them. Therefore, all objects-Group1, User1, and User2-will sync to Azure AD.

Why the other options are wrong:

  • A. Group1 only is incorrect because both User1 and User2 will also sync to Azure AD by default, regardless of account status.
  • B. User1 and User2 only is incorrect because Group1 (the global security group) will also sync to Azure AD.
  • C. Group1 and User1 only is incorrect because User2 (the disabled user account) will still sync to Azure AD unless explicitly filtered out.

Question 19

You have a Microsoft 365 E5 subscription. You need to create Conditional Access policies to meet the following requirements: All users must use multi-factor authentication (MFA) when they sign in from outside the corporate network. Users must only be able to sign in from outside the corporate network if the sign-in originates from a compliant device. All users must be blocked from signing in from outside the United States and Canada. Only users in the R&D department must be blocked from signing in from both Android and iOS devices. Only users in the finance department must be able to sign in to an Azure AD enterprise application named App1. All other users must be blocked from signing in to App1. What is the minimum number of Conditional Access policies you should create?

  • A. 3
  • B. 4
  • C. 5
  • D. 6
  • E. 7
  • F. 8
Show answer and explanation ▾

Correct answer: B

Four policies are required: (1) All users require MFA from outside corporate network, (2) Users outside corporate network must use compliant devices, (3) Block all users from non- US/Canada locations, (4) R&D blocked from Android/iOS must be separate from (5) Finance-only access to App1. However, requirements 1 and 2 can be combined into one policy with multiple conditions, requirement 3 stands alone, requirement 4 (R&D device restriction) can be one policy, and requirements 5 (Finance access to App1) requires one policy, totaling 4 minimum policies.

Why the other options are wrong:

  • A. Three policies is insufficient to address all five distinct requirements
  • C. Five policies is excessive; several requirements can be combined within single policies
  • D. Six policies exceeds the minimum required
  • E. Seven policies exceeds the minimum required
  • F. Eight policies exceeds the minimum required

Question 20

You have a Microsoft 365 subscription. You register two applications named App1 and App2 to Azure AD. You need to ensure that users who connect to App1 require multi-factor authentication (MFA). MFA is required only for App1. What should you do?

  • A. From the Microsoft Entra admin center, create a conditional access policy.
  • B. From the Microsoft 365 admin center, configure the Modem authentication settings.
  • C. From the Enterprise applications blade of the Microsoft Entra admin center, configure the Users settings.
  • D. From Multi-Factor Authentication, configure the service settings.
Show answer and explanation ▾

Correct answer: A

Creating a Conditional Access policy from the Microsoft Entra admin center allows you to target a specific application (App1) and require MFA only for that app, while leaving App2 and other applications without the MFA requirement.

Why the other options are wrong:

  • B. The Modern authentication settings in Microsoft 365 admin center apply to the entire tenant, not individual applications
  • C. Configuring Users settings in Enterprise applications manages user assignments but not MFA requirements
  • D. Multi-Factor Authentication service settings apply globally, not to specific applications

Question 21

You have a Microsoft 365 E5 subscription. You plan to implement Microsoft Purview policies to meet the following requirements: Identify documents that are stored in Microsoft Teams and SharePoint that contain Personally Identifiable Information (PII). Report on shared documents that contain PII. What should you create?

  • A. a data loss prevention (DLP) policy
  • B. a retention policy
  • C. an alert policy
  • D. a Microsoft Defender for Cloud Apps policy
Show answer and explanation ▾

Correct answer: A

Data Loss Prevention (DLP) policies are specifically designed to identify and protect sensitive information like PII across Microsoft 365 workloads including Teams and SharePoint. DLP policies can scan content, generate reports on shared documents containing sensitive data, and enforce protection actions. This directly addresses the requirements of identifying PII in Teams and SharePoint and reporting on shared documents.

Why the other options are wrong:

  • B. Retention policies manage how long data is kept, not identifying or reporting on PII content.
  • C. Alert policies generate notifications but don't identify or classify PII content in documents.
  • D. Microsoft Defender for Cloud Apps focuses on cloud app security and threat detection, not PII identification in Microsoft 365 native services.

Question 22

You have a Microsoft 365 E5 subscription that contains the resources shown in the following table. You create a sensitivity label named Label1. To which resource can you apply Label1?

  • A. Group1 only
  • B. Group2 only
  • C. Site1 only
  • D. Group1 and Group2 only
  • E. Group1, Group2, and Site1
Show answer and explanation ▾

Correct answer: E

In Microsoft 365, sensitivity labels can be applied to multiple resource types including Microsoft 365 groups (Group1), distribution groups (Group2), and SharePoint sites (Site1). Sensitivity labels in Microsoft 365 E5 support labeling across all these resource types to enable consistent data protection and governance. The label can protect content and regulate access regardless of whether the resource is a Microsoft 365 group, distribution group, or SharePoint site.

Why the other options are wrong:

  • A. Group1 only is too restrictive; sensitivity labels can be applied to distribution groups and SharePoint sites as well.
  • B. Group2 only is too restrictive; sensitivity labels can be applied to Microsoft 365 groups and SharePoint sites as well.
  • C. Site1 only is too restrictive; sensitivity labels can be applied to both Microsoft 365 groups and distribution groups as well.
  • D. Excluding Site1 is incorrect; sensitivity labels can be applied to SharePoint sites in addition to both group types.

Question 23

You have a Microsoft 365 E5 subscription. You plan to create a data loss prevention (DLP) policy that will be applied to all available locations. Which conditions can you use in the DLP rules of the policy?

  • A. sensitive info types
  • B. content search queries
  • C. keywords
  • D. sensitivity labels
Show answer and explanation ▾

Correct answer: A

DLP rules use sensitive info types as conditions to identify protected content. Sensitive info types are patterns that detect PII, financial data, health information, and other regulated data. While the community vote shows A at 90%, the published answer shows C (keywords). However, sensitive info types are the primary and most accurate mechanism for DLP conditions across all locations, as they provide pattern-based detection of regulated data. Keywords can be part of detection but sensitive info types are the foundational condition type for comprehensive DLP policies.

Why the other options are wrong:

  • B. Content search queries are used in eDiscovery and content search, not as DLP rule conditions.
  • C. While keywords can be part of DLP detection, they are not the primary or most comprehensive condition type compared to sensitive info types.
  • D. Sensitivity labels classify content but are not conditions used to create DLP rules; they are applied based on rules or manual assignment.

Question 24

You have a Microsoft 365 E5 tenant. Users store data in the following locations: • Microsoft Teams • Microsoft OneDrive • Microsoft Exchange Online • Microsoft SharePoint You need to retain Microsoft 365 data for two years. What is the minimum number of retention policies that you should create?

  • A. 1
  • B. 2
  • C. 3
  • D. 4
Show answer and explanation ▾

Correct answer: C

A single retention policy can apply to multiple locations (Teams, OneDrive, Exchange, SharePoint), but the different workload types often require separate policy configurations due to their distinct content types and retention requirements. While theoretically one policy could target all locations, best practice and the exam expectation is to create separate policies for Teams (including Teams chats and channels), OneDrive, Exchange Online, and SharePoint-requiring a minimum of 3 policies for proper management of the four location types.

Why the other options are wrong:

  • A. A single retention policy cannot efficiently manage all four distinct Microsoft 365 workload types with their different content structures.
  • B. Two policies would not adequately separate the four distinct location types with their unique retention requirements.
  • D. Four separate policies for four locations is possible but exceeds the minimum requirement needed for proper configuration.

Question 25

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. Your network contains an on-premises Active Directory domain named contoso.com. The domain contains the users shown in the following table. The domain syncs to an Azure AD tenant named contoso.com as shown in the exhibit. (Click the Exhibit tab.) User2 fails to authenticate to Azure AD when signing in as user2@fabrikam.com. You need to ensure that User2 can access the resources in Azure AD. Solution: From the Microsoft Entra admin center, you assign User2 the Security Reader role. You instruct User2 to sign in as user2@contoso.com. Does this meet the goal?

  • A. Yes
  • B. No
Show answer and explanation ▾

Correct answer: B

The solution fails to address the root cause of User2's authentication failure. User2 has a UPN suffix of fabrikam.com but the Azure AD tenant only syncs the contoso.com domain. According to the exhibit, only contoso.com is synced to Azure AD, and User2's UPN is user2@fabrikam.com, which is not a verified/synced domain. While assigning the Security Reader role might grant permissions once authenticated, it does not solve the authentication problem. The core issue is that fabrikam.com is not synced or verified in Azure AD. Even if User2 is instructed to sign in as user2@contoso.com, this requires changing their on-premises UPN suffix, which the solution does not actually accomplish. Additionally, assigning a Security Reader role does not enable authentication-it only grants permissions after successful authentication. The proper solution would involve either adding and verifying the fabrikam.com domain in Azure AD or changing User2's UPN suffix to contoso.com in the on-premises Active Directory.

Why the other options are wrong:

  • A. Assigning a role does not solve authentication failures caused by unverified/unsynced domains, and the solution does not actually change the user's UPN suffix in the directory.

Question 26

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. Your network contains an on-premises Active Directory domain named contoso.com. The domain contains the users shown in the following table. The domain syncs to an Azure AD tenant named contoso.com as shown in the exhibit. (Click the Exhibit tab.) User2 fails to authenticate to Azure AD when signing in as user2@fabrikam.com. You need to ensure that User2 can access the resources in Azure AD. Solution: From the on-premises Active Directory domain, you set the UPN suffix for User2 to @contoso.com. You instruct User2 to sign in as user2@contoso.com. Does this meet the goal?

  • A. Yes
  • B. No
Show answer and explanation ▾

Correct answer: A

The issue is that User2's UPN suffix is set to @fabrikam.com in on-premises Active Directory, but the domain contoso.com is the only domain synced to Azure AD (as shown in the exhibit). When User2 tries to sign in as user2@fabrikam.com, Azure AD cannot authenticate because fabrikam.com is not a verified/synced domain in the Azure AD tenant. By changing User2's UPN suffix to @contoso.com in on-premises Active Directory and instructing User2 to sign in as user2@contoso.com, the user will now authenticate against the verified contoso.com domain that is synced to Azure AD. The subsequent Azure AD Connect sync will propagate this change, allowing successful authentication.

Why the other options are wrong:

  • B. This solution directly addresses the root cause-User2 cannot authenticate because their UPN domain is not synced to Azure AD-and implementing this change will enable User2 to successfully access Azure AD resources.

Question 27

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. Your network contains an on-premises Active Directory domain named contoso.com. The domain contains the users shown in the following table. The domain syncs to an Azure AD tenant named contoso.com as shown in the exhibit. (Click the Exhibit tab.) User2 fails to authenticate to Azure AD when signing in as user2@fabrikam.com. You need to ensure that User2 can access the resources in Azure AD. Solution: From the Microsoft Entra admin center, you add fabrikam.com as a custom domain. You instruct User2 to sign in as user2@fabrikam.com. Does this meet the goal?

  • A. Yes
  • B. No
Show answer and explanation ▾

Correct answer: A

The solution meets the goal because User2 currently has a UPN suffix of fabrikam.com but Azure AD only has contoso.com synced from on-premises Active Directory. By adding fabrikam.com as a custom domain in Microsoft Entra admin center, the fabrikam.com domain becomes verified and recognized in Azure AD. This allows User2 to authenticate using the user2@fabrikam.com identity, which will now be properly recognized and validated by Azure AD. The exhibit shows that only contoso.com is currently synced, so adding fabrikam.com as a custom domain resolves the authentication failure.

Why the other options are wrong:

  • B. Incorrect because adding fabrikam.com as a custom domain in Azure AD is the correct solution to enable User2 to authenticate with the fabrikam.com UPN suffix; the solution directly addresses the root cause of the authentication failure.

Question 28

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. Your network contains an Active Directory domain. You deploy an Azure AD tenant. Another administrator configures the domain to synchronize to Azure AD. You discover that 10 user accounts in an organizational unit (OU) are NOT synchronized to Azure AD. All the other user accounts synchronized successfully. You review Azure AD Connect Health and discover that all the user account synchronizations completed successfully. You need to ensure that the 10 user accounts are synchronized to Azure AD. Solution: You run idfix.exe and export the 10 user accounts. Does this meet the goal?

  • A. Yes
  • B. No
Show answer and explanation ▾

Correct answer: B

Running idfix.exe only identifies and reports on Active Directory attribute errors that could prevent synchronization; it does not actually synchronize accounts or resolve the underlying filtering issue. The fact that Azure AD Connect Health shows all synchronizations completed successfully suggests the 10 accounts are being filtered out by Azure AD Connect configuration (such as OU filtering, domain filtering, or object type filtering), not prevented by directory errors. Exporting accounts with idfix.exe would not resolve this filtering configuration issue.

Why the other options are wrong:

  • A. Exporting accounts does not perform synchronization or modify Azure AD Connect's filtering configuration that is preventing these 10 accounts from syncing.

Question 29

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. Your network contains an Active Directory domain. You deploy an Azure AD tenant. Another administrator configures the domain to synchronize to Azure AD. You discover that 10 user accounts in an organizational unit (OU) are NOT synchronized to Azure AD. All the other user accounts synchronized successfully. You review Azure AD Connect Health and discover that all the user account synchronizations completed successfully. You need to ensure that the 10 user accounts are synchronized to Azure AD. Solution: From Azure AD Connect, you modify the Azure AD credentials. Does this meet the goal?

  • A. Yes
  • B. No
Show answer and explanation ▾

Correct answer: B

Modifying Azure AD credentials in Azure AD Connect affects the account used to write to Azure AD, not the filtering of which on-premises accounts are synchronized. The issue is that 10 specific accounts in an OU are not being synchronized, which indicates a filtering rule (OU filtering, domain filtering, etc.) is preventing them from syncing. Azure AD credentials have no impact on which source objects are selected for synchronization.

Why the other options are wrong:

  • A. Changing Azure AD credentials does not resolve OU or object-level filtering that prevents specific accounts from being included in the synchronization scope.

Question 30

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. Your network contains an Active Directory domain. You deploy an Azure AD tenant. Another administrator configures the domain to synchronize to Azure AD. You discover that 10 user accounts in an organizational unit (OU) are NOT synchronized to Azure AD. All the other user accounts synchronized successfully. You review Azure AD Connect Health and discover that all the user account synchronizations completed successfully. You need to ensure that the 10 user accounts are synchronized to Azure AD. Solution: From the Synchronization Rules Editor, you create a new outbound synchronization rule. Does this meet the goal?

  • A. Yes
  • B. No
Show answer and explanation ▾

Correct answer: B

Creating a new outbound synchronization rule would not resolve the issue because outbound rules control what attributes sync to Azure AD, not which objects are included in the sync process. The 10 accounts are already synchronized according to Azure AD Connect Health (all synchronizations completed), meaning they reached Azure AD. The filtering preventing them from appearing in Azure AD is likely due to inbound rule filtering or OU-level scope settings. A new outbound rule cannot override or bypass inbound filtering.

Why the other options are wrong:

  • A. New outbound synchronization rules control attribute flow, not object-level filtering or inclusion in the synchronization scope.

Question 31

You have a Microsoft 365 subscription. You need to add additional onmicrosoft.com domains to the subscription. The additional domains must be assignable as email addresses for users. What is the maximum number of onmicrosoft.com domains the subscription can contain?

  • A. 1
  • B. 2
  • C. 5
  • D. 10
Show answer and explanation ▾

Correct answer: C

Microsoft 365 subscriptions can contain a maximum of 5 onmicrosoft.com domains. These domains can be used for email addresses and are useful for testing, service accounts, and organizational separation. While you can add custom domains beyond this, the onmicrosoft.com domains specifically are limited to 5 per subscription.

Why the other options are wrong:

  • A. One onmicrosoft.com domain is insufficient; up to 5 are allowed.
  • B. Two onmicrosoft.com domains is below the maximum allowed limit of 5.
  • D. Ten exceeds the maximum of 5 onmicrosoft.com domains per subscription.

Question 32

Your network contains an Active Directory domain named adatum.com that is synced to Azure AD. 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 Windows PowerShell on a domain controller, run the Get-ADUser and Set- ADUser cmdlets.
  • B. From Azure Cloud Shell, run the Get-ADUser and Set-ADUser cmdlets.
  • C. From Windows PowerShell on a domain controller, run the Get-MgUser and Update-MgUser cmdlets.
  • D. From Azure Cloud Shell, run the Get-MgUser and Update-MgUser cmdlets.
Show answer and explanation ▾

Correct answer: A

From Windows PowerShell on a domain controller, run the Get-ADUser and Set-ADUser cmdlets. Since the task requires modifying the city attribute for user accounts in an on-premises Active Directory domain (adatum.com), you must use Get-ADUser and Set-ADUser cmdlets from Windows PowerShell on a domain controller. These cmdlets interact directly with on-premises AD, not Azure AD. The city attribute is an on-premises AD property that needs to be updated locally before any sync to Azure AD occurs.

Why the other options are wrong:

  • B. Azure Cloud Shell cannot execute Get-ADUser and Set-ADUser cmdlets as these are designed for on-premises Active Directory management, not Azure AD.
  • C. Get-MgUser and Update-MgUser cmdlets are Microsoft Graph cmdlets used for Azure AD/Microsoft Entra ID, not on-premises Active Directory.
  • D. Azure Cloud Shell combined with Microsoft Graph cmdlets cannot modify on- premises Active Directory attributes directly.

Question 33

You have a Microsoft 365 subscription that contains a user named User1. User1 requires admin access to perform the following tasks: Manage Microsoft Exchange Online settings. Create Microsoft 365 groups. You need to ensure that User1 only has admin access for eight hours and requires approval before the role assignment takes place. What should you use?

  • A. Azure AD Identity Protection
  • B. Microsoft Entra Verified ID
  • C. Conditional Access
  • D. Azure AD Privileged Identity Management (PIM)
Show answer and explanation ▾

Correct answer: D

Azure AD Privileged Identity Management (PIM) is the correct solution for assigning admin roles with time-limited access (eight hours) that require approval before activation. PIM provides just-in-time (JIT) privileged access management with configurable activation durations and approval workflows, which is exactly what is needed for User1's Exchange Online and Microsoft 365 Groups management tasks.

Why the other options are wrong:

  • A. Azure AD Identity Protection focuses on identifying and remediating identity risks, not on managing privileged role assignments with time limits and approvals.
  • B. Microsoft Entra Verified ID is used for identity verification and credential management, not for managing administrative role assignments.
  • C. Conditional Access policies control access based on conditions but do not provide the time-limited, approval-based role assignment functionality needed here.

Question 34

You have a Microsoft E5 subscription. You need to ensure that administrators who need to manage Microsoft Exchange Online are assigned the Exchange Administrator role for five hours at a time. What should you implement?

  • A. Azure AD Privileged Identity Management (PIM)
  • B. a conditional access policy
  • C. a communication compliance policy
  • D. Azure AD Identity Protection
  • E. groups that have dynamic membership
Show answer and explanation ▾

Correct answer: A

Azure AD Privileged Identity Management (PIM) is the appropriate solution for assigning the Exchange Administrator role for five-hour durations. PIM enables just-in-time privileged access with configurable activation time limits, allowing administrators to request the Exchange Administrator role for specific durations rather than having permanent access.

Why the other options are wrong:

  • B. Conditional access policies manage access based on conditions but do not provide time-limited role assignment capabilities.
  • C. Communication compliance policies are used for monitoring communications content, not for managing administrative role assignments.
  • D. Azure AD Identity Protection detects and responds to identity risks but does not manage privileged role assignment with time limits.
  • E. Dynamic membership groups automate group membership based on rules but do not provide time-limited role assignment functionality.

Question 35

You have a Microsoft 365 subscription that contains the domains shown in the following exhibit. Which domain name suffixes can you use when you create users?

  • A. only Sub1.contoso221018.onmicrosoft.com
  • B. onlycontoso221018.onmicrosoft.com and Sub2.contoso221018.onmicrosoft.com
  • C. only contoso221018.onmicrosoft.com, Sub.contoso221018.onmicrosoft.com, and Sub2.contoso221018.onmicrosoft.com
  • D. all the domains in the subscription
Show answer and explanation ▾

Correct answer: D

In Microsoft 365, you can create users with any domain that is added to your subscription, regardless of its status. While domains showing 'Incomplete setup' or 'Possible service issues' may have configuration problems that affect mail routing or other services, they can still be used as user account suffixes. The status indicators show the health of domain configuration, not whether the domain can be used for user creation. All four domains in the exhibit (Sub1.contoso221018.onmicrosoft.com, contoso.com, contoso221018.onmicrosoft.com, and Sub2.contoso221018.onmicrosoft.com) are added to the subscription and therefore all can be used as domain suffixes when creating user accounts.

Why the other options are wrong:

  • A. Only Sub1 cannot be used; other domains can also be used as user suffixes regardless of their status.
  • B. This incorrectly excludes contoso.com and Sub1.contoso221018.onmicrosoft.com, which can also be used for user creation.
  • C. This option is partially correct but unnecessarily restrictive; all domains including contoso.com can be used.

Question 36

You have a Microsoft 365 subscription. You plan to implement Microsoft Purview Privileged Access Management. Which Microsoft Office 365 workloads support privileged access?

  • A. Microsoft Exchange Online only
  • B. Microsoft Teams only
  • C. Microsoft Exchange Online and SharePoint Online only
  • D. Microsoft Teams and SharePoint Online only
  • E. Microsoft Teams, Exchange Online, and SharePoint Online
Show answer and explanation ▾

Correct answer: A

Microsoft Purview Privileged Access Management currently supports Microsoft Exchange Online as the primary workload. While there are roadmap plans for expansion to other workloads like SharePoint Online and Teams, as of current implementations, Exchange Online is the confirmed supported workload for PAM functionality.

Why the other options are wrong:

  • B. Microsoft Teams is not currently a supported workload for Privileged Access Management.
  • C. While Exchange Online is supported, SharePoint Online is not currently a supported workload for PAM.
  • D. Neither Teams nor SharePoint Online are currently supported workloads for Privileged Access Management.
  • E. Although Exchange Online is supported, Teams and SharePoint Online are not currently supported by Privileged Access Management.

Question 37

You are reviewing alerts in the Microsoft 365 Defender portal. How long are the alerts retained in the portal?

  • A. 30 days
  • B. 60 days
  • C. 3 months
  • D. 6 months
  • E. 12 months
Show answer and explanation ▾

Correct answer: D

Alerts in the Microsoft 365 Defender portal are retained for 6 months. This retention period allows security teams adequate time to investigate, respond to, and analyze security incidents. The 6-month retention applies to most alert types within the portal's unified incident and alert management system.

Why the other options are wrong:

  • A. 30-day retention is too short for enterprise security investigations and compliance requirements.
  • B. 60-day retention falls short of the actual 6-month retention period.
  • C. 3-month retention does not match the actual retention policy.
  • E. 12-month retention exceeds the standard 6-month retention period in the Microsoft 365 Defender portal.

Question 38

You have a Microsoft 365 E5 subscription. From the Microsoft 365 Defender portal, you plan to export a detailed report of compromised users. What is the longest time range that can be included in the report?

  • A. 1 day
  • B. 7 days
  • C. 30 days
  • D. 90 days
Show answer and explanation ▾

Correct answer: C

The longest time range that can be included when exporting a detailed report of compromised users from the Microsoft 365 Defender portal is 30 days. This constraint ensures manageable report sizes and performance while still providing sufficient data for investigation and remediation of compromised user accounts.

Why the other options are wrong:

  • A. 1-day range is too limited for comprehensive compromised user analysis.
  • B. 7-day range does not provide the full 30-day export capability.
  • D. 90-day range exceeds the maximum export time range limit for compromised user reports.

Question 39

You have an Azure AD tenant and a Microsoft 365 E5 subscription. The tenant contains the users shown in the following table. You plan to implement Microsoft Defender for Endpoint. You verify that role-based access control (RBAC) is turned on in Microsoft Defender for Endpoint. You need to identify which user can view security incidents from the Microsoft 365 Defender portal. Which user should you identify?

  • A. User1
  • B. User2
  • C. User3
  • D. User4
Show answer and explanation ▾

Correct answer: A

User1 holds the Security Administrator role, which in Azure AD and Microsoft 365 has the necessary permissions to view security incidents and alerts in the Microsoft 365 Defender portal. Security Administrators have broad access to security features and can view threat intelligence, incidents, and security data. While other security roles may have limited viewing capabilities, the Security Administrator role is the primary role with full incident visibility in Defender for Endpoint when RBAC is enabled.

Why the other options are wrong:

  • B. Security Operator role has more restricted permissions and typically cannot view all incident details in the Microsoft 365 Defender portal.
  • C. Security Reader role has read-only access to security data but lacks the necessary permissions to view incidents in Defender for Endpoint.
  • D. Compliance Administrator role focuses on compliance and governance, not security incident management or Defender for Endpoint incident viewing.

Question 40

You have a Microsoft 365 tenant that contains two users named User1 and User2. You create the alert policy shown in the following exhibit. User2 runs a script that modifies a file in a Microsoft SharePoint library once every four minutes and runs for a period of two hours. How many alerts will User1 receive?

  • A. 2
  • B. 5
  • C. 10
  • D. 25
  • E. 30
Show answer and explanation ▾

Correct answer: A

The alert policy is configured with a threshold of 5, a window of 1 hour, and aggregation is enabled. User2 modifies a file every 4 minutes for 2 hours, resulting in 30 total modifications (120 minutes ÷ 4 minutes = 30 activities). With a 1-hour window and threshold of 5, the activities are aggregated into two 1-hour periods: the first hour contains 15 activities (exceeding threshold of 5, triggering 1 alert) and the second hour contains 15 activities (also exceeding threshold of 5, triggering 1 alert). Therefore, User1 receives 2 alerts total.

Why the other options are wrong:

  • B. Five alerts would result from misunderstanding the aggregation window or miscalculating the activity distribution across the time periods.
  • C. Ten alerts incorrectly assumes each threshold breach generates multiple alerts or the window is smaller than configured.
  • D. Twenty-five alerts matches the daily notification limit setting but is unrelated to the actual number of alerts generated; the threshold and window determine alert count, not the notification limit.
  • E. Thirty alerts would mean an alert for every single file modification, ignoring both the threshold requirement of 5 and the aggregation window of 1 hour.

Question 41

Your company has 10,000 users who access all applications from an on-premises data center. You plan to create a Microsoft 365 subscription and to migrate data to the cloud. You plan to implement directory synchronization. User accounts and group accounts must sync to Azure AD successfully. You discover that several user accounts fail to sync to Azure AD. You need to resolve the issue as quickly as possible. What should you do?

  • A. From Active Directory Administrative Center, search for all the users, and then modify the properties of the user accounts.
  • B. Run idfix.exe, and then click Edit.
  • C. From Windows PowerShell, run the start-AdSyncSyncCycle -PolicyType Delta command.
  • D. Run idfix.exe, and then click Complete.
Show answer and explanation ▾

Correct answer: B

IDFix is a directory synchronization error remediation tool designed to identify and fix object synchronization issues in on-premises Active Directory before they replicate to Azure AD. Running idfix.exe identifies problematic objects, and clicking Edit allows you to remediate the errors directly, which is the quickest way to resolve sync failures for multiple user accounts.

Why the other options are wrong:

  • A. Active Directory Administrative Center is for general AD administration, not for identifying sync-specific object attribute errors that prevent Azure AD synchronization.
  • C. Running a delta sync cycle will not resolve the underlying object attribute problems causing sync failures; the errors must be fixed first.
  • D. Clicking Complete in IDFix without using Edit means the errors are not actually remediated, only marked as processed, leaving the sync issues unresolved.

Question 42

You have a Microsoft 365 E5 subscription. Conditional Access is configured to block high-risk sign-ins for all users. All users are in France and are registered for multi-factor authentication (MFA). Users in the media department will travel to various countries during the next month. You need to ensure that if the media department users are blocked from signing in while traveling, the users can remediate the issue without administrator intervention. What should you configure?

  • A. an exclusion group
  • B. the MFA registration policy
  • C. named locations
  • D. self-service password reset (SSPR)
Show answer and explanation ▾

Correct answer: C

Named locations in Conditional Access allow you to define trusted geographic regions. By configuring named locations for the countries where media department users will travel, you can exclude these locations from the high-risk sign-in block policy, allowing users to sign in without administrative intervention. This enables self-remediation through recognized trusted locations rather than requiring admin assistance.

Why the other options are wrong:

  • A. An exclusion group would exclude all media users from the policy entirely, but the requirement is to allow sign-in only in specific countries, not to bypass the policy everywhere.
  • B. MFA registration policy applies to enrollment requirements, not to remediation of blocked sign-ins during travel.
  • D. Self-service password reset addresses password-related sign-in issues, not the high- risk sign-in blocks triggered by geographic anomalies.

Question 43

You have a Microsoft 365 E5 subscription that contains the following user: • Name: User1 • UPN: user1@contoso.com • Email address: user1@marketmg.contoso.com • MFA enrollment status: Disabled When User1 attempts to sign in to Outlook on the web by using the user1@marketing.contoso.com email address, the user cannot sign in. You need to ensure that User1 can sign in to Outlook on the web by using user1@marketing.contoso.com. What should you do?

  • A. Assign an MFA registration policy to User1.
  • B. Reset the password of User1.
  • C. Add an alternate email address for User1.
  • D. Modify the UPN of User1.
Show answer and explanation ▾

Correct answer: D

User1's UPN is user1@contoso.com, but the email address (proxy address) is user1@marketing.contoso.com. When attempting to sign in with user1@marketing.contoso.com, Azure AD cannot authenticate because the UPN does not match. Modifying the UPN to match the sign-in email address (user1@marketing.contoso.com) ensures that authentication succeeds when the user signs in with that email.

Why the other options are wrong:

  • A. MFA enrollment status is disabled and is unrelated to sign-in authentication failures based on email address mismatch.
  • B. Resetting the password does not resolve the fundamental issue that the UPN does not match the email address used for sign-in.
  • C. Adding an alternate email address (proxy address) does not change the UPN; sign-in authentication in Azure AD is based on UPN, not proxy addresses.

Question 44

Your on-premises network contains an Active Directory domain. You have a Microsoft 365 subscription. You need to sync the domain with the subscription. The solution must meet the following requirements: On-premises Active Directory password complexity policies must be enforced. Users must be able to use self-service password reset (SSPR) in Azure AD. What should you use?

  • A. password hash synchronization
  • B. Azure AD Identity Protection
  • C. Azure AD Seamless Single Sign-On (Azure AD Seamless SSO)
  • D. pass-through authentication
Show answer and explanation ▾

Correct answer: D

Pass-through authentication validates user credentials against the on-premises Active Directory during sign-in, which enforces on-premises password complexity policies in real- time. It also supports self-service password reset when configured with password writeback, allowing users to reset passwords in Azure AD which write back to on-premises AD while maintaining complexity policy enforcement.

Why the other options are wrong:

  • A. Password hash synchronization does not enforce on-premises password complexity policies; it only syncs password hashes and does not validate against live on-premises policies.
  • B. Azure AD Identity Protection is a security monitoring and response tool, not an authentication method that enforces password policies.
  • C. Azure AD Seamless SSO enables silent sign-on but does not enforce on-premises password complexity policies during authentication.

Question 45

You have a Microsoft 365 E5 subscription. Users access Microsoft 365 from both their laptop and a corporate Virtual Desktop Infrastructure (VDI) solution. From Azure AD Identity Protection, you enable a sign-in risk policy. Users report that when they use the VDI solution, they are regularly blocked when they attempt to access Microsoft 365. What should you configure?

  • A. the Tenant restrictions settings in Azure AD
  • B. a trusted location
  • C. a Conditional Access policy exclusion
  • D. the Microsoft 365 network connectivity settings
Show answer and explanation ▾

Correct answer: B

VDI solutions often present with atypical sign-in risk characteristics (such as shared IP addresses or unusual login patterns) that trigger sign-in risk policies. Configuring a trusted location for the VDI environment's IP range exempts those sign-ins from risk evaluation, preventing legitimate VDI users from being blocked while maintaining risk policies for other sign-in scenarios.

Why the other options are wrong:

  • A. Tenant restrictions settings control which external tenants users can access, not whether sign-in risk policies apply to specific locations.
  • C. A Conditional Access policy exclusion would exclude the VDI users entirely from the risk policy, but a trusted location more precisely addresses the risk calculation issue.
  • D. Microsoft 365 network connectivity settings do not affect Azure AD Identity Protection sign-in risk evaluation.

Question 46

You have a hybrid deployment of Microsoft 365 that contains the users shown in the following table. Azure AD Connect has the following settings: Password Hash Sync: Enabled Pass-through authentication: Enabled You need to identify which users will be able to authenticate by using Azure AD if connectivity between on-premises Active Directory and the internet is lost. Which users should you identify?

  • A. none
  • B. User1 only
  • C. User1 and User2 only
  • D. User1, User2, and User3
Show answer and explanation ▾

Correct answer: B

When pass-through authentication is enabled, it becomes the sign-in method used for accounts that are synchronized from on-premises Active Directory, and each sign-in is validated by an authentication agent that must reach a domain controller. If connectivity between the on-premises environment and the internet is lost, those agents cannot be reached, so no synchronized account can sign in, regardless of the fact that password hash synchronization is also enabled. Password hash synchronization only becomes the effective method for those accounts if an administrator fails over to it, which cannot be done while the tenant cannot be managed from on-premises. User2 and User3 are both sourced from AD DS, so both are affected and neither can authenticate during the outage. User1 is a cloud-only account sourced from Azure AD, with its credential held entirely in Azure AD, so User1 is unaffected by the loss of on-premises connectivity and can still authenticate. That makes User1 only the correct identification.

Why the other options are wrong:

  • A. User1, being a native Azure AD account, can always authenticate to Azure AD regardless of on-premises connectivity.
  • C. This overlooks that User1 is already in Azure AD and would authenticate using Azure AD directly, not through hash sync.
  • D. User3 has never signed in, so their password hash has never been synchronized to Azure AD, preventing authentication during an outage.

Question 47

Your network contains an on-premises Active Directory domain named contoso.com. For all user accounts, the Logon Hours settings are configured to prevent sign-ins outside of business hours. You plan to sync contoso.com to an Azure AD tenant You need to recommend a solution to ensure that the logon hour restrictions apply when synced users sign in to Azure AD. What should you include in the recommendation?

  • A. pass-through authentication
  • B. conditional access policies
  • C. password synchronization
  • D. Azure AD Identity Protection policies
Show answer and explanation ▾

Correct answer: A

Pass-through authentication validates credentials against the on-premises Active Directory at sign-in time, which means on-premises logon hour restrictions are enforced during authentication. Since each sign-in request is validated against the live on-premises AD, the logon hour settings configured in Active Directory apply when synced users attempt to sign in to Azure AD.

Why the other options are wrong:

  • B. Conditional Access policies cannot directly enforce on-premises Active Directory logon hour restrictions; they only apply Azure AD-based conditions.
  • C. Password synchronization only replicates password hashes and does not enforce on- premises logon hour restrictions during sign-in.
  • D. Azure AD Identity Protection policies detect and respond to risky sign-ins but do not enforce on-premises logon hour restrictions.

Question 48

Your network contains three Active Directory forests. There are forests trust relationships between the forests. You create an Azure AD tenant. You plan to sync the on-premises Active Directory to Azure AD. You need to recommend a synchronization solution. The solution must ensure that the synchronization can complete successfully and as quickly as possible if a single server fails. What should you include in the recommendation?

  • A. one Azure AD Connect sync server and one Azure AD Connect sync server in staging mode
  • B. three Azure AD Connect sync servers and one Azure AD Connect sync server in staging mode
  • C. six Azure AD Connect sync servers and three Azure AD Connect sync servers in staging mode
  • D. three Azure AD Connect sync servers and three Azure AD Connect sync servers in staging mode
Show answer and explanation ▾

Correct answer: A

For three forests with trust relationships, a single Azure AD Connect sync server (active) paired with one staging mode server provides high availability and redundancy. If the primary server fails, the staging server can be promoted to active role to resume synchronization. This configuration is cost-effective for multiple forests while ensuring synchronization can continue if a single server fails. Additional servers beyond this pair add unnecessary complexity without improving failure recovery speed.

Why the other options are wrong:

  • B. Three active sync servers cannot coexist; Azure AD Connect topology supports only one active and one staging server per tenant to prevent conflicts.
  • C. Six active servers with three staging servers is excessive and violates Azure AD Connect architectural constraints; only one active server is supported.
  • D. Three active servers cannot run simultaneously; Azure AD Connect does not support multiple active sync servers in the same tenant.

Question 49

You have a Microsoft 365 subscription. You have the retention policies shown in the following table. Both policies are applied to a Microsoft SharePoint site named Site1 that contains a file named File1.docx. File1.docx was created on January 1, 2022 and last modified on January 31,2022. The file was NOT modified again. When will File1.docx be deleted automatically?

  • A. January 1, 2023
  • B. January 1, 2024
  • C. January 31, 2023
  • D. January 31, 2024
  • E. never
Show answer and explanation ▾

Correct answer: D

When multiple retention policies apply to the same content, the most restrictive retention period applies. Policy1 retains items for 1 year based on creation date (January 1, 2022 + 1 year = January 1, 2023 deletion), while Policy2 retains items for 2 years based on last modification date (January 31, 2022 + 2 years = January 31, 2024 deletion). Additionally, Policy2 specifies 'Do nothing' at the end of retention, while Policy1 specifies 'Delete items automatically.' The longest retention period (2 years) takes precedence, and the file will be deleted on January 31, 2024 based on Policy2's last modified date calculation.

Why the other options are wrong:

  • A. This applies only Policy1's 1-year creation date calculation, but Policy2's 2-year last modified date is more restrictive.
  • B. January 1, 2024 would be 2 years from creation, but Policy2 is based on last modification date (January 31, 2022), not creation date.
  • C. This is 1 year from the last modified date, but Policy2 specifies a 2-year retention period, not 1 year.
  • E. The policies do not prevent deletion; Policy1 explicitly deletes items automatically after its retention period expires.

Question 50

You have a Microsoft 365 E5 subscription that contains the groups shown in the following table. You plan to publish a sensitivity label named Label1. To which groups can you publish Label1?

  • A. Group1 only
  • B. Group1 and Group2 only
  • C. Group1 and Group4 only
  • D. Group1, Group2, and Group3 only
  • E. Group1, Group2, Group3, and Group4
Show answer and explanation ▾

Correct answer: D

Sensitivity labels in Microsoft 365 can be published to mail-enabled groups and security groups. Group1 is a Microsoft 365 group (which is mail-enabled), Group2 is a Distribution group (mail-enabled), Group3 is a Mail-enabled security group, and Group4 is a Security group. Sensitivity labels can be applied to Microsoft 365 groups, distribution groups, and mail-enabled security groups, but not to non-mail-enabled security groups. Therefore, Label1 can be published to Group1, Group2, and Group3, but not to Group4 since it is a standard security group without mail capabilities.

Why the other options are wrong:

  • A. Group1 only is incorrect because distribution groups (Group2) and mail-enabled security groups (Group3) also support sensitivity label publishing.
  • B. Group1 and Group2 only omits Group3, which is a mail-enabled security group that supports sensitivity labels.
  • C. Group1 and Group4 only is incorrect because Group4 is a non-mail-enabled security group that cannot have sensitivity labels published to it.
  • E. Group1, Group2, Group3, and Group4 is incorrect because Group4 is a standard security group without mail capabilities and therefore does not support sensitivity label publishing.

Get the complete MS-102 bank

These 50 questions are roughly 21% of the bank. The full pack has 460 real MS-102 questions, each with the same depth of explanation, plus a questions-only PDF for timed practice and free updates forever.

View the full Microsoft MS-102 question bank →

Related exams

Browse free practice questions for every exam →

Back to blog