100% Latest & Updated Microsoft AZ-104 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 20
An access-controlled application references an Entra security group by object ID. The team wants membership based on a maintained user attribute without updating application references. What is the appropriate change and its immediate membership risk?
- Delete the group and recreate it dynamically with the same display name; all application object IDs stay the same
- Convert it to a Microsoft 365 group and add the original group as a nested member
- Create a different dynamic security group using the old group display name and reuse the app mapping
- Convert the existing group membership from assigned to dynamic and validate who still satisfies the rule
Explanation
Correct Answer
D:Microsoft Entra supports changing eligible existing groups from Assigned to Dynamic User while preserving their name and object ID. Rule processing then removes members who fail the predicate and adds those who meet it. Test the new eligibility rule first because formerly assigned users can unexpectedly lose application access during conversion.
Incorrect Answers
A:Deleting and recreating a group produces a different directory object identifier even if the display name is reused. An application bound to the old immutable object ID would not silently follow the replacement. This can break authorization until references are updated and the new group is reviewed.
B:Changing from a security group to a Microsoft 365 collaboration group is not the required membership-type conversion. The proposed nesting also changes object relationships and is not a supported shortcut to preserve the old application security group identifier and its intended access controls.
C:A new group with the same display name still receives a new object ID, so the existing application mapping would not recognize it automatically. Duplicating names can make administration confusing and does not guarantee the same authorization result. The scenario expressly requires avoiding app-reference edits.
Question 21
A production access team proposes a Microsoft Entra dynamic user group using the preview `memberOf` operator. Security-Root contains user Alice directly and contains Security-Child as a nested group; Security-Child contains user Bob. The team requires BOTH Alice and Bob in the derived group and expects the membership to continue updating after November 3, 2026. Which limitation invalidates the proposal?
- The `memberOf` operator includes all nested members recursively and will continue as a supported production feature indefinitely
- Switching from a dynamic user group to a dynamic device group will make both user accounts eligible and preserve the nested expansion
- The preview adds only direct members from referenced groups, not recursively nested members, and its rules stop updating after November 3, 2026
- Increasing the group’s membership rule processing frequency guarantees future nested inclusion and indefinite support of the preview
Explanation
Correct Answer
C:Microsoft’s preview documentation limits `memberOf` propagation to direct members of source groups and explicitly excludes recursive nested-group flattening. More importantly for sustained production authorization, after November 3, 2026 existing `memberOf` groups will stop updating and retain stale membership. Redesign using supported attribute predicates or controlled assigned groups.
Incorrect Answers
A:The preview feature does support referencing source groups, which makes this tempting, but Microsoft documents that only direct members are projected. Bob is in Security-Child rather than directly in Security-Root and therefore is not included merely by referencing Security-Root. Microsoft also announced the preview stopping membership updates after the stated date.
B:A dynamic device group evaluates device objects, whereas Alice and Bob are user accounts. Switching the member object type would not make an unsupported nested user-group hierarchy work and does not extend the lifetime of the preview `memberOf` capability. It also destroys the requested user authorization population.
D:The underlying problem is a documented functional and lifecycle constraint, not a processing delay. Increasing evaluation cadence would not recursively traverse nested groups, nor could it prevent the announced retirement of membership updates. An authorization design must not depend on manually tuned processing timing as a substitute for supported membership logic.
Question 22
An organization uses a Microsoft Entra dynamic user group to automate onboarding. Its rule, `user.objectId -ne null`, includes both Member and Guest userType values, and the onboarding team needs to exclude all accounts explicitly classified as Guest while keeping dynamic evaluation. Which rule change meets that specific condition?
- Change the group to assigned membership and leave the rule text unchanged
- Combine the non-null object-ID predicate with a userType equal to Member condition
- Require userType to equal Guest
- Add a device operating-system condition to the user rule
Explanation
Correct Answer
B:The non-null `user.objectId` expression accepts users regardless of whether their `userType` is Member or Guest. Adding `-and (user.userType -eq "Member")` to the original expression retains dynamic membership while excluding accounts whose userType is Guest. The distinction is the directory classification, not guaranteed employment status: an external person could potentially have Member classification, so a genuinely internal-only roster may require another trusted attribute.
Incorrect Answers
A:Switching this dynamic user group to assigned membership disables automatic evaluation of the attribute rule. Administrators would have to add and remove each user manually, creating the maintenance work the onboarding team wants to avoid. Although manual membership could enforce an approved staff roster, it does not meet this scenario’s required rule-based population.
C:Changing the predicate to `userType` equal to Guest would select the very user class the onboarding group is supposed to exclude. That rule is useful for a separate contractor or external-collaborator group, but it cannot maintain a Member-only onboarding audience. The original object-ID test by itself does not correct this inversion.
D:An operating-system property belongs to a device-based membership scenario, not to the user attributes that identify guest versus member users. A dynamic user group must apply valid user predicates for the selected population. Even if a device rule were accepted elsewhere, it would sort computers by platform rather than classify these onboarding user objects.
Question 23
A privileged security group is being configured as role-assignable so its members can hold an Entra administrator role. An engineer proposes setting membership type to Dynamic user to avoid ongoing membership approvals. Which design constraint should stop that change?
- Set a longer dynamic membership processing interval
- Convert the group to a Microsoft 365 group
- Keep assigned membership because role-assignable groups do not support dynamic membership
- Use a dynamic device rule instead of a dynamic user rule
Explanation
Correct Answer
C:Role-assignable groups have an explicit security boundary: membership must be Assigned rather than Dynamic user or Dynamic device. The group can then be used for eligible Entra directory-role assignments while privileged administrators govern who belongs to it. This prevents automatically changing user attributes from silently conferring directory administration privileges. Role assignment and privileged-member management still require the appropriate administrative authorization.
Incorrect Answers
A:Changing a rule-processing interval cannot overcome a group-type feature restriction. Microsoft Entra does not support dynamic membership for groups marked as role-assignable, regardless of how frequently rule evaluation might run. Even in a regular dynamic group, processing time only affects when membership recalculates; it does not transform an unsupported privileged-group configuration into a permitted one.
B:Microsoft 365 groups are intended for collaboration, shared resources, and user membership, not as a replacement for the role-assignable security group described here. Switching the group category would also change its eligible use and access model. It would not provide an approved route to dynamically grant Entra administrator roles through member attributes.
D:Dynamic device membership is not an alternate supported type for a role-assignable group. A device rule evaluates device properties instead of selecting administrators, and the privileged group still requires assigned membership. The engineer’s problem is not which dynamic object type to choose; it is the unsupported automation of membership in a directory-role-assignable security principal.
Question 24
A tenant administrator wants a Microsoft Entra dynamic group to follow a manager’s direct-report relationship using the built-in direct-reports rule. The administrator accepts its documented behavior that the manager is also included. The team then asks to add a separate department predicate to that SAME special rule. Which restriction controls this design?
- Any dynamic user rule can combine direct-reports syntax with unrelated predicates
- The rule can select only devices with that manager in the owner field
- Add a separate user.department predicate to the direct-reports membership rule by putting it into an additional OR group
- The direct-reports rule uses the manager object ID and cannot be combined with other membership-rule clauses
Explanation
Correct Answer
D:The special direct-reports rule uses a manager’s Entra object ID, written as `Direct Reports for "<manager-object-ID>"`, and Microsoft documents that it cannot be combined with other membership-rule clauses. It follows immediate reports rather than all descendants of the reporting hierarchy. Importantly, the manager is also included in the resulting group. If the organization requires an intersection with department or must exclude the manager, it needs a different supported group-design approach.
Incorrect Answers
A:The direct-reports expression is a special membership-rule form, not a general predicate that can be joined to arbitrary conditions using AND or OR. Microsoft documents an explicit prohibition on combining it with other membership rules. Assuming it can be extended would produce an unsupported design rather than an automatically maintained group with the requested additional department filter.
B:Direct-reports groups follow user Manager relationships in Microsoft Entra, not an operating-system or device-owner attribute. A dynamic device rule would evaluate devices instead of the people who report to a manager, so it could not implement the intended reporting-line membership. The distinction matters even if those employees have enrolled or corporate-owned devices.
C:The direct-reports membership syntax is a special Entra rule form; wrapping an additional department predicate in OR does not remove its prohibition on combining that rule with other membership conditions. Split the requirements into a different supported group design.
Question 25
A Microsoft Entra tenant contains 1,400 user accounts and 20 dynamic user-membership groups. Exactly 600 distinct users belong to at least one of those dynamic groups, and some appear in several groups. Ignoring other premium features, what is the minimum number of qualifying Entra ID P1 (or Intune for Education) licenses required for this dynamic-user-group feature?
- 600 licenses, one for each distinct user belonging to one or more dynamic user groups
- 1,400 licenses, because all users in the tenant need a dynamic-group license even if none of their memberships is dynamic
- 12,000 licenses, by multiplying the 600 distinct dynamic-group users by all 20 group objects regardless of actual overlapping memberships
- 20 licenses, because only the dynamic group objects rather than their users need a premium entitlement
Explanation
Correct Answer
A:Microsoft licenses the dynamic user-membership feature per unique user who is in one or more dynamic groups, not per membership or group. The union of the 20 groups is 600 distinct users, so 600 qualifying licenses cover this particular requirement; membership in multiple groups does not count the same user again. Other premium features could impose separate entitlements, but the question excludes them.
Incorrect Answers
B:The tenant has 1,400 user accounts, but 800 of them are not members of any dynamic user-membership group under the stated facts. The specific dynamic-group licensing rule measures distinct users who participate, not every directory user merely because the tenant enables dynamic groups. Counting all 1,400 overstates this feature's minimum.
C:A unique member is counted once even if several dynamic rules include that person. Multiplying the 600-person union by the number of group objects invents 12,000 license units and could even exceed the number of actual member-to-group relationships. The licensing prerequisite is a per-distinct-user count, not the sum of memberships.
D:The 20 dynamic groups are configuration objects; the Microsoft Entra P1 requirement is not one license per group. A tenant with 20 groups and 600 unique members needs enough qualifying licenses for those 600 members, even though it created only 20 rules. Device-only dynamic group members do not create an analogous per-device license charge.
Question 26
A tenant has a set of directly assigned product licenses scattered across individual users. A new departmental group should automatically provide the same eligible license to each direct member, including new hires, without separate per-user assignments. What configuration best meets the need?
- Assign the product license to the departmental group through group-based licensing
- Keep assigning the product directly to each employee whenever an onboarding ticket is completed
- Assign the product only to a parent group and assume indirect nested-group members receive it automatically
- Use a dynamic group membership rule but do not assign the product license to any group
Explanation
Correct Answer
A:With group-based licensing, the supported product license and enabled service plans are assigned to the department’s group. Direct members then inherit the license as membership changes, including new staff, provided there are available seats and valid usage locations. This replaces recurring per-person assignments with a membership-driven entitlement and preserves a central place to change the group’s product configuration.
Incorrect Answers
B:Direct license assignment can provision an individual employee and might be useful for exceptions, but it requires a separate license operation for each new hire and departure. The stated objective is for the departmental group to manage the eligible product automatically as direct membership changes. Continuing ticket-driven assignments retains the manual process and risks orphaned entitlements after employees leave.
C:Group-based licensing does not currently apply license assignments transitively through nested groups; first-level direct membership is the supported relationship. A user belonging only to a child group may not receive a license assigned at the parent as expected. Put the relevant users in the properly licensed group directly rather than assuming group nesting supplies Microsoft 365 entitlement inheritance.
D:Dynamic membership rules can automatically add qualifying users to an Entra group based on profile attributes, but membership alone does not convey a Microsoft 365 product entitlement. The product still has to be explicitly assigned to that group through group-based licensing. Otherwise employees enter the departmental group but continue to have no new license inherited from that group.
Question 27
An organization assigns a cloud productivity product to an Entra security group, but some new members show group licensing errors. The product subscription has no unassigned seats and the users’ usage locations are valid. What is the prerequisite to resolve first?
- Enable more group-license reprocessing attempts while leaving the product’s assigned-seat capacity unchanged
- Retry every failed user’s group licensing assignment before releasing or purchasing any additional seats
- Purchase or free enough product licenses for the intended members, then reprocess failed assignments
- Disable an unrelated service plan on the group assignment but keep the same product SKU with no available seats
Explanation
Correct Answer
C:Microsoft 365 group-based licensing requires available product seats for the direct members who inherit that SKU. When the tenant has none left and the user location prerequisite is satisfied, buying more seats or reclaiming legitimately unused assignments addresses the documented licensing error. After capacity exists, reprocess the affected users and verify their actual inherited-license status, not merely the group configuration.
Incorrect Answers
A:Changing how frequently group licensing is reprocessed cannot create product entitlements that the tenant does not own. The error is limited to members who arrived after all available seats had been consumed, and their usage locations are already valid. Processing controls can help after the capacity problem is fixed, but the missing prerequisite is an available license for each intended member.
B:Reprocessing is appropriate after correcting a transient or configuration error, but a retry will encounter the same insufficient-capacity condition while the subscription has no remaining seats. The members still need licenses even when the group assignment is configured correctly. Free unused entitlements or purchase additional licenses before reprocessing the failed users to confirm successful assignments.
D:Disabling a service plan changes which workload features the existing product grants, and it may resolve specific service-plan conflicts in a different scenario. It does not create new subscribed product seats for users who lack the SKU. Here the stated error is insufficient seat capacity rather than an incompatible plan, so adjusting plan switches would not resolve the missing entitlement prerequisite.
Question 28
A user has a Microsoft 365 license that the directory reports as inherited from an Entra group. The user must no longer receive that group-managed product while other members keep it. What should the admin modify?
- Delete the tenant’s shared license product for all users
- Remove the user from a security group that has no assignment for the inherited Microsoft 365 product
- Remove the user from the licensing group or adjust the intended group-licensing scope
- Only remove the license directly from the user while leaving group membership unchanged
Explanation
Correct Answer
C:An inherited group license is controlled by that group’s membership or product assignment. Removing the user from the relevant group stops the inheritance without stripping licenses from everyone else.
Incorrect Answers
A:Removing the group’s product for everyone violates the requirement that other members retain access. Only the affected identity’s membership or entitlement scope should change.
B:Changing membership in an unrelated group does not remove the group assignment that supplies this particular license. Identify the actual licensing group in the inheritance details and change that source while preserving other members.
D:A direct license edit does not remove the group-based assignment source. The inherited product can remain or be reassigned as the licensing engine evaluates membership.
Question 29
A group license assignment reports an incompatible service plan for one employee, although the tenant owns enough licenses. The employee belongs to two groups that assign conflicting plans. Which troubleshooting step addresses the actual condition?
- Change the employee’s usageLocation to a different supported region regardless of their actual location
- Reprocess the existing license assignments repeatedly without changing either group’s conflicting service-plan configuration.
- Review inherited licenses and disable or adjust the conflicting service plan at its group assignment source
- Assign a direct duplicate product license to the user without changing group service plans
Explanation
Correct Answer
C:Two group-assigned service plans can conflict. Reviewing the inherited plan sources and changing the conflicting group assignment fixes the license policy rather than deleting the person or masking an assignment error.
Incorrect Answers
A:Usage location can matter for licensing but does not fix a documented conflict between inherited service plans with sufficient seat availability.
B:Reprocessing can retry a transient assignment failure, but it cannot resolve two mutually incompatible service plans that are still inherited from the same licensed groups. Inspect the inherited product plans and correct the conflicting group configuration first; otherwise the same collision is evaluated again.
D:A direct grant does not resolve an incompatible service plan inherited through existing groups; it can mask or compound licensing errors.
Question 30
A user is in two Entra licensing groups that both assign the same product. Removing the user from one group does not remove the product license. What should the licensing administrator inspect next?
- Inspect only the licensing group that was just removed, assuming it was the sole source
- Disable one service plan within the removed group but keep the other license assignments
- Other licensing groups and direct assignments that may still grant the same product
- Change the user’s department property to force licensing to recalculate from the removed group
Explanation
Correct Answer
C:A user may retain a license through another group or direct assignment even after one source is removed. Reviewing all license assignment paths identifies why the effective license remains.
Incorrect Answers
A:A user can receive the same product from another group or from a direct license. Examining only the removed assignment misses the remaining effective entitlement source.
B:Service-plan settings on a removed group cannot cancel a complete product assigned through another source. The user can legitimately retain the product through direct or other group assignments.
D:Department attributes may affect dynamic membership, but they do not negate another independent license source. The immediate task is to identify remaining licenses and their assignment provenance.
Microsoft Azure Administrator (AZ-104) Practice Tests