Microsoft AZ-104 Exam Dumps, Practice Test Questions

100% Latest & Updated Microsoft AZ-104 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!

Microsoft AZ-104 Premium Bundle
$79.97
$59.98

AZ-104 Premium Bundle

  • Premium File: 606 Questions & Answers. Last update: Nov 5, 2026
  • Training Course: 132 Video Lectures
  • Study Guide: 458 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates

AZ-104 Premium Bundle

Microsoft AZ-104 Premium Bundle
  • Premium File: 606 Questions & Answers. Last update: Nov 5, 2026
  • Training Course: 132 Video Lectures
  • Study Guide: 458 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
$79.97
$59.98

Microsoft AZ-104 Practice Test 2

Question 10

A newly hired employee's Entra account is ready, but the portal shows that the user is synchronized from on-premises Active Directory. HR needs a change to the employee's office phone number that must survive the next directory synchronization. Where should the administrator edit it?

  1. Change the user's Azure RBAC role assignment to User Access Administrator
  2. Remove the employee's Microsoft 365 license and immediately reassign it
  3. Update the phone attribute in the source on-premises Active Directory and allow synchronization
  4. Edit only the corresponding user field in Entra while keeping synchronization enabled

Explanation

Correct Answer

C:

The attribute is managed by the on-premises source for this synchronized identity. Changing it there lets synchronization propagate the approved value to Entra without having a cloud edit overwritten.

Incorrect Answers

A:

Azure RBAC determines access to Azure resources, not which directory is authoritative for synchronized phone attributes. Granting a privileged role would add risk without repairing attribute flow.

B:

Licensing controls entitlement to services, not the source of the synchronized user profile value. Reassignment would not correct the phone attribute and could interrupt licensed workloads.

D:

Cloud-only edits to source-managed identity attributes may be unavailable or overwritten by the next sync. The durable change belongs in the authoritative directory, not merely the cloud projection.

Question 11

A cloud-only Microsoft Entra employee transfers to a different manager. A reporting application reads the employee's manager relationship through Microsoft Graph and uses it to assemble the supervisor's direct-reports list. Changing the manager's display name has not moved the employee into the new reporting line. Which Microsoft Graph operation updates the actual directory relationship while preserving the employee user object?

  1. PATCH /users/{employee-id} to change only the employee's department and displayName properties
  2. PUT /users/{employee-id}/manager/$ref with @odata.id referencing the new manager's directory object
  3. POST /users/{manager-id}/directReports to add the employee as a writable direct-report entry
  4. Add the employee to a security group named for the new manager without changing the manager reference

Explanation

Correct Answer

B:

The manager relationship is a writable Microsoft Graph reference: PUT to /users/{employee-id}/manager/$ref with an @odata.id pointing at the new manager. Microsoft Graph then exposes that relationship through manager and directReports navigation. It retains the existing employee object, so existing assignments and the sign-in identity do not need replacement.

Incorrect Answers

A:

PATCH can update writable scalar user attributes such as department and displayName. However, the reporting application reads the directory manager navigation relationship, not the spelling of those profile values. Editing only the employee's text fields leaves the old supervisor referenced and does not correct the directReports relationship.

C:

Microsoft Graph exposes a manager's directReports relationship for reading, but Microsoft's documentation explicitly says that direct reports aren't assigned through that collection. Instead, the administrator sets the employee's manager/$ref. Posting to a nonexistent writable directReports collection won't change the authoritative reporting relationship.

D:

A security group can control application or resource authorization and can be named for a reporting team. Its membership is distinct from the manager navigation relationship, which the application explicitly queries. The app would still resolve the former manager until the employee's manager reference is updated.

Question 12

An administrator manages a cloud-only user who must receive mail from an alternate address while retaining their existing Entra sign-in UPN. The request concerns the email alias presented by the mail system, not the sign-in identity. Which system should the administrator configure for the alias?

  1. Configure the additional proxy/email address for the user's mailbox in the applicable Exchange management plane
  2. Replace the user's UPN with the alias and treat UPN as the only mailbox proxy address
  3. Set the Entra mail attribute `mailNickname` to the requested alias and assume that alone provisions a mailbox proxy address
  4. Add the alternate string as an application identifier URI instead of a proxy address on the mailbox

Explanation

Correct Answer

A:

Mail aliases are a mail-routing property. Adding a supported proxy address can make mail arrive at the same mailbox while the Entra UPN and object identity remain intact.

Incorrect Answers

B:

A UPN is an authentication identifier and need not represent every email alias. Replacing it would change the sign-in experience even though the requested outcome is mail delivery to an additional address.

C:

The Entra mailNickname value is not a substitute for the mailbox proxyAddresses collection managed through the applicable mail system. Changing it alone does not add a receive address to the existing mailbox while leaving the UPN intact.

D:

Application identifier URIs are used by application registrations, not Exchange recipient email delivery. The alternate receiving address must be configured on the mailbox, not as an application identity name.

Question 13

An Entra security group should always contain enabled employees whose department attribute is Engineering. Human resources changes department values frequently, and administrators want group membership to adjust automatically without ticket-driven edits. Which membership model is appropriate?

  1. Assigned membership maintained by group owners
  2. A dynamic user membership rule using accountEnabled and department attributes
  3. A device dynamic-membership rule that tests device.department instead of user.department
  4. An assigned-membership security group whose membership is periodically reviewed by the identity team

Explanation

Correct Answer

B:

A dynamic user group evaluates supported user attributes whenever relevant directory values change. Requiring both an enabled account and a department value of Engineering allows changes in either fact to update eligibility without manual tickets. The department source and who can edit it still need to be trusted for authorization.

Incorrect Answers

A:

Assigned membership is a legitimate choice when a group owner must explicitly approve each person, but it does not evaluate HR attribute changes. An administrator would still have to add or remove each person after a department change, defeating the requirement for automatic membership reconciliation.

C:

A dynamic device group evaluates device objects, not employee user accounts. A device operating-system or management attribute can support device-policy targeting, but it cannot establish which enabled people belong to the Engineering staff group. It also does not substitute for supported user.department and user.accountEnabled predicates.

D:

Periodic access reviews can identify stale assigned members, but they do not continuously apply the eligibility condition when HR changes the department. The scenario calls for attribute-driven updates in ordinary operations rather than a human review or batch maintenance cycle.

Question 14

An Azure operations team needs a security group whose members are approved one by one by an administrator. Employees from any department can be included, and membership must not be recalculated from profile attributes. What group membership type fits?

  1. Dynamic device membership based on operating-system version
  2. Use Dynamic user membership and assume a group owner must manually approve every attribute match before it becomes a member
  3. Assigned membership, with authorized administrators explicitly maintaining members
  4. Dynamic user membership filtered only on the department attribute

Explanation

Correct Answer

C:

Assigned membership lets authorized group administrators select and remove individual directory objects. It does not automatically add a person merely because their Department attribute changes, which is precisely the requested approval boundary. Group governance and administrative permissions still need to control who can change membership.

Incorrect Answers

A:

Dynamic device membership evaluates computer object properties, such as operating-system values. It neither produces a roster of individually approved people nor leaves the membership solely under an administrator’s explicit decisions. A device-targeted policy group could use this feature, but not the requested personnel approval workflow.

B:

Dynamic user groups evaluate rule matches automatically; a group owner does not approve each computed match before membership is applied. The requirement demands explicit administrator selection independent of directory attributes, so use Assigned membership instead.

D:

A department-filtered dynamic user group would admit any user satisfying the selected attribute, including people nobody individually approved. This is useful when HR attributes alone are the intended eligibility authority, but it conflicts with the explicit person-by-person administrator decision required here.

Question 15

A Microsoft Entra dynamic user group should include enabled staff members in either Payroll or Treasury, but exclude disabled accounts from BOTH departments. An engineer proposes `(user.department -eq "Payroll") -or (user.department -eq "Treasury") -and (user.accountEnabled -eq true)` and a disabled Payroll user is still included. Which rule corrects the logical grouping?

  1. (user.department -eq "Payroll") -or (user.department -eq "Treasury") -and (user.accountEnabled -eq true)
  2. (user.department -eq "Payroll") -and (user.department -eq "Treasury") -and (user.accountEnabled -eq true)
  3. ((user.department -eq "Payroll") -or (user.department -eq "Treasury")) -and (user.accountEnabled -eq true)
  4. (user.department -eq "Payroll") -or (user.department -eq "Treasury") -or (user.accountEnabled -eq true)

Explanation

Correct Answer

C:

The nested OR first represents the two permitted departments as one logical condition. The outer AND then requires accountEnabled to be true for every member of that combined set. The explicit parentheses eliminate the unintended operator-precedence path that admitted disabled Payroll users while keeping enabled staff from either permitted department.

Incorrect Answers

A:

In a dynamic membership expression, logical AND is evaluated before OR unless parentheses change the grouping. This expression therefore includes everyone in Payroll, regardless of accountEnabled, and evaluates the enabled condition only for Treasury. It preserves the reported gap instead of applying the enabled check to both departments.

B:

A single-valued Department attribute cannot simultaneously equal Payroll and Treasury for the same user. Requiring both equalities with AND makes the rule effectively unsatisfiable, even for enabled staff who should be included. It is not a tighter way to express membership in either department.

D:

OR-ing the enabled check means nearly every enabled user can satisfy the rule without working in either approved department, and any Payroll or Treasury user is included even if disabled. The expression widens membership instead of imposing a mandatory eligibility constraint.

Question 16

An administrator needs a dynamic device security group based on a Windows device attribute. The first design instead tries to select devices when their owner belongs to the Finance department. The rule does not work. Which correction matches Entra dynamic-group limits?

  1. Use an assigned device group and rely on Entra to populate it automatically from owner department
  2. Configure the group with a device membership rule using a supported device attribute
  3. Create a dynamic device rule referencing registeredOwner.user.department
  4. Use a dynamic user group and assign device policies directly to its members

Explanation

Correct Answer

B:

Dynamic device rules are evaluated against supported attributes of the device object, such as operating-system type or device ownership. Matching an appropriate Windows device field retains automated membership without following a related user object through registeredOwner. Validate the selected property values on enrolled devices before relying on the resulting group.

Incorrect Answers

A:

An assigned device group can be managed explicitly, but it does not automatically evaluate a device owner’s department for membership. Switching from a dynamic group to assigned membership therefore removes the automation requirement rather than correcting unsupported rule syntax. Enrollment workflows would need separate explicit group updates.

C:

Microsoft Entra dynamic device membership does not support a cross-object expression that traverses the registered owner and reads that user’s department. Such a property path is outside the supported device rule attribute list, so it cannot create the intended result even if the owner’s department is populated correctly.

D:

A dynamic user group evaluates user accounts, not device objects. Assigning a device-targeted configuration to a user group might be possible for particular management workloads, but it does not produce the required dynamic security group of Windows device objects or resolve the unsupported device membership expression.

Question 17

A privileged app grants access to members of a dynamic Entra group selected by an employee attribute. Help-desk records show ordinary users can edit that same attribute on their own accounts. Before enabling the group for authorization, what should the administrator correct?

  1. Enable a group access review but leave the dynamic membership attribute self-editable
  2. Make the dynamic group’s rule evaluate every five minutes
  3. Restrict who can assign Azure RBAC roles, leaving source attribute edits unrestricted
  4. Restrict who can change the attributes used by the dynamic membership rule

Explanation

Correct Answer

D:

Dynamic group membership is determined by supported directory attributes, so an identity capable of editing its own eligibility attribute can attempt to grant itself access. Limit write rights in Entra and any on-premises authoritative directory to trusted administrators or workflows before using that dynamic group for privileged authorization.

Incorrect Answers

A:

An access review can help identify unexpected members afterward, but it does not close the entry path when a user can modify the attribute that instantly qualifies them. For a privileged application the controlling issue is who can alter the rule inputs, not just whether membership is periodically inspected.

B:

Membership rule processing intervals do not establish authorization integrity. Faster re-evaluation would actually make a self-edited qualifying attribute grant group membership sooner. There is no supported five-minute setting that substitutes for protecting the authoritative source of an access-driving property.

C:

Azure RBAC assignment permissions protect management-plane role grants; the scenario’s application is granting access based on Entra group membership. A user who can modify the dynamic-rule attribute can still influence that group even if they cannot assign an Azure subscription role.

Question 18

A Microsoft Entra dynamic security group uses a valid device rule. The help desk confirms that a recently enrolled device now satisfies the rule, but its group membership has not changed for days. The group overview shows “Update paused” for dynamic rule processing. What should a Groups Administrator check first?

  1. Resume dynamic membership rule processing for the group and monitor its processing status
  2. Use a dynamic user membership rule and place the signed-in user accounts in the device group
  3. Recreate the device object to force all app role assignments to re-evaluate
  4. Change the device ownership field to a user department name

Explanation

Correct Answer

A:

The Update paused status identifies the current blocking condition: the administrator halted membership-rule processing. An authorized Groups Administrator can resume processing and monitor its status before investigating other potential delays. This restores rule evaluation without destroying the existing device object or changing a valid dynamic device predicate.

Incorrect Answers

B:

A Dynamic user rule evaluates people, not the required device population. Switching the membership type would change the target object type and would not resume the stopped rule process. The configured device rule already matches its device, making this a processing-state problem rather than a user eligibility problem.

C:

Recreating a device can disrupt enrollment, device identity and policy targeting while leaving the group’s paused update state unchanged. Even a fresh qualifying device will not be added while membership processing is administratively suspended. Examine the documented status and resume it first.

D:

Device ownership is not an arbitrary string location for an employee’s department. Mutating it to unrelated metadata does not resume dynamic group processing and can break legitimate corporate/personal device selection. The observed Update paused status is the decisive clue.

Question 19

A fleet team wants a single Microsoft Entra dynamic group whose membership rule includes corporate Windows device objects and the employees assigned those devices. The proposed group has membership type Dynamic User. Which design limitation must the administrator address?

  1. Switch the group to a Microsoft 365 group because those groups allow device objects
  2. Use a Dynamic Device rule referencing each device owner’s department attribute
  3. Create separate dynamic user and dynamic device groups with rules appropriate to each object type
  4. Add the device IDs manually to the dynamic user group as an exception

Explanation

Correct Answer

C:

Microsoft Entra supports dynamic user and dynamic device group rules as different object-type populations. One dynamic membership rule cannot combine people and devices. Using two purpose-built groups lets each rule evaluate valid user or device attributes while downstream policy assignments target the appropriate identities. Cross-object owner relationships must instead be handled by a separate supported design rather than one dynamic rule.

Incorrect Answers

A:

Microsoft 365 groups have a user-oriented collaboration purpose and cannot solve a mixed user-and-device dynamic membership requirement. Changing the label of the group would not make one dynamic rule evaluate both kinds of objects, and it could disrupt use of the group by device-targeting workloads.

B:

Dynamic device group rules use supported device attributes, not the department field reached through a registered owner user. Even a valid Windows device rule would only include devices, not the employee accounts associated with them. It is not a legal mixed-object membership expression.

D:

A dynamic user group does not allow administrators to insert arbitrary device members manually as exceptions to its rule. Dynamic membership is recalculated automatically for its supported object type, and manual additions are disallowed. The request needs a design split rather than exception IDs.

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?

  1. Delete the group and recreate it dynamically with the same display name; all application object IDs stay the same
  2. Convert it to a Microsoft 365 group and add the original group as a nested member
  3. Create a different dynamic security group using the old group display name and reuse the app mapping
  4. 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.

Microsoft Azure Administrator (AZ-104) Practice Tests

UP

SPECIAL OFFER: GET 10% OFF

This is ONE TIME OFFER

ExamSnap Discount Offer
Enter Your Email Address to Receive Your 10% Off Discount Code

A confirmation link will be sent to this email address to verify your login. *We value your privacy. We will not rent or sell your email address.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.