nerdexam
Microsoft

SC-300 · Question #57

You need to create the LWGroup1 group to meet the management requirements. How should you complete the dynamic membership rule? To answer, select the appropriate options in the answer area. NOTE…

The correct answer is user.objectId -ne: Guest; user.userType - eq: Member. LWGroup1 Dynamic Membership Rule Explanation Requirement: Include all Litware Azure AD user accounts, exclude all guest accounts (e.g., Fabrikam users with guest accounts in litware.com). The correct complete rule is: `` user.userType -eq "Member" ` --- Dropdown 1 - Attribute +…

Submitted by stefanr· Mar 6, 2026Implement and manage user identities
Case Study ScenarioShared context for this question
Case Study 2 - Litware, Inc Overview Litware, Inc. is a pharmaceutical company that has a subsidiary named Fabrikam, Inc. Litware has offices in Boston and Seattle, but has employees located across the United States. Employees connect remotely to either office by using a VPN connection. Existing Environment. Identify Environment The network contains an Active Directory forest named litware.com that is linked to an Azure Active Directory (Azure AD) tenant named litware.com. Azure AD Connect uses pass-through authentication and has password hash synchronization disabled. Litware.com contains a user named User1 who oversees all application development. Litware implements Azure AD Application Proxy. Fabrikam has an Azure AD tenant named fabrikam.com. The users at Fabrikam access the resources in litware.com by using guest accounts in the litware.com tenant. Existing Environment. Cloud Environment All the users at Litware have Microsoft 365 Enterprise E5 licenses. All the built-in anomaly detection policies in Microsoft Cloud App Security are enabled. Litware has an Azure subscription associated to the litware.com Azure AD tenant. The subscription contains an Azure Sentinel instance that uses the Azure Active Directory connector and the Office 365 connector. Azure Sentinel currently collects the Azure AD sign-ins logs and audit logs. Existing Environment. On-premises Environment The on-premises network contains the servers shown in the following table. Both Litware offices connect directly to the internet. Both offices connect to virtual networks in the Azure subscription by using a site-to-site VPN connection. All on-premises domain controllers are prevented from accessing the internet. Requirements. Delegation Requirements Litware identifies the following delegation requirements: Delegate the management of privileged roles by using Azure AD Privileged Identity Management (PIM). Prevent nonprivileged users from registering applications in the litware.com Azure AD tenant. Use custom catalogs and custom programs for Identity Governance. Ensure that User1 can create enterprise applications in Azure AD. Use the principle of least privilege. Requirements. Licensing Requirements Litware recently added a custom user attribute named LWLicenses to the litware.com Active Directory forest. Litware wants to manage the assignment of Azure AD licenses by modifying the value of the LWLicenses attribute. Users who have the appropriate value for LWLicenses must be added automatically to a Microsoft 365 group that has the appropriate licenses assigned. Requirements. Management Requirements Litware wants to create a group named LWGroup1 that will contain all the Azure AD user accounts for Litware but exclude all the Azure AD guest accounts. Requirements. Authentication Requirements Litware identifies the following authentication requirements: Implement multi-factor authentication (MFA) for all Litware users. Exempt users from using MFA to authenticate to Azure AD from the Boston office of Litware. Implement a banned password list for the litware.com forest. Enforce MFA when accessing on-premises applications. Automatically detect and remediate externally leaked credentials. Requirements. Access Requirements Litware identifies the following access requirements: Control all access to all Azure resources and Azure AD applications by using conditional access policies. Implement a conditional access policy that has session controls for Microsoft SharePoint Online. Control privileged access to applications by using access reviews in Azure AD. Requirements. Monitoring Requirements Litware wants to use the Fusion rule in Azure Sentinel to detect multi-staged attacks that include a combination of suspicious Azure AD sign-ins followed by anomalous Microsoft Office 365 activity.

Question

You need to create the LWGroup1 group to meet the management requirements. How should you complete the dynamic membership rule? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer:

Answer Area

  • user.objectId -neGuest
    GuestMemberNull
  • user.userType - eqMember
    GuestMemberNull

Explanation

LWGroup1 Dynamic Membership Rule Explanation

Requirement: Include all Litware Azure AD user accounts, exclude all guest accounts (e.g., Fabrikam users with guest accounts in litware.com).

The correct complete rule is:

user.userType -eq "Member"

Dropdown 1 - Attribute + Operator

Correct: user.userType -eq

  • userType is the Azure AD attribute that distinguishes internal users from external guests. It holds exactly two meaningful values: "Member" (internal users) and "Guest" (B2B external users).
  • -eq (equals) is correct because you want to match a specific type, not exclude one.

Why the alternatives are wrong:

  • user.objectId -ne - objectId is a GUID unique identifier; it has no relationship to user type and cannot filter members vs. guests. Using -ne (not equal) against it makes no semantic sense for this purpose.

Dropdown 2 - Value

Correct: "Member"

  • Setting the value to "Member" means only accounts with userType = Member join the group - these are your internal Litware employees.
  • Fabrikam guest accounts have userType = "Guest", so they are automatically excluded.

Why the alternatives are wrong:

  • "Guest" - This would do the opposite: include only guest accounts and exclude all Litware employees.
  • Null - userType is not null for synced or cloud users; filtering on null would match no users or produce unpredictable results.

Key Technical Concept

Azure AD dynamic groups use dynamic membership rules evaluated against user attributes. The userType attribute is the standard, supported property for distinguishing between internal members (Member) and B2B collaborators (Guest). This is explicitly documented as the correct approach for excluding guest accounts from groups.

Topics

#Azure AD Dynamic Groups#User Management#User Properties#Group Membership Rules

Community Discussion

No community discussion yet for this question.

Full SC-300 Practice