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 1

Question 1

An employee begins an extended leave and must be blocked from making new Microsoft Entra sign-ins immediately. The organization will separately handle any still-valid application sessions. The user object, its attributes, and assignments must remain intact for a later return. Which account-state change should the identity operator make?

  1. Disable sign-in for the existing user account in Microsoft Entra ID
  2. Revoke the user sign-in sessions but leave the user account enabled
  3. Require the user to change their password at the next sign-in while leaving the account enabled
  4. Remove the employee’s Microsoft 365 product license but leave their Entra user account enabled

Explanation

Correct Answer

A:

Disabling the existing Entra account sets the account-enabled state to block new Entra authentication attempts without deleting its object ID, attributes, group memberships, or Azure role assignments. This is reversible when the employee returns. Already issued access tokens or application-issued cookies may persist temporarily, so separately revoke sessions or deprovision applications if immediate session termination is also required.

Incorrect Answers

B:

Revoking sign-in sessions is appropriate for invalidating Entra refresh tokens after device theft, but it does not change the account-enabled state. Because this leave requires preventing all new sign-ins until an administrator intentionally re-enables the identity, the user could simply authenticate again while the account remains enabled. Session revocation is an accompanying containment measure, not the required persistent block.

C:

Requiring a password change at the next sign-in can protect an account after suspected credential disclosure, but the account remains enabled and the user may complete that interactive change and sign in. It does not provide the persistent account suspension required during leave. The organization instead needs a reversible disabled sign-in state while retaining the original identity.

D:

Removing a Microsoft 365 license may stop use of applications entitled by that SKU, but licensing is not the universal sign-in switch for Microsoft Entra. The employee could still authenticate to the directory or to other licensed and federated applications. It also unnecessarily changes entitlements the organization wants to preserve; disabling sign-in directly targets authentication.

Question 2

A help-desk operator accidentally deleted a regular employee account from a workforce Microsoft Entra tenant yesterday. The employee needs the original object restored with its former identity, and the deletion falls within the supported soft-deletion window. What is the appropriate recovery action?

  1. Restore the deleted user object from the Deleted users list
  2. Invite the employee as an external B2B guest with a different object ID
  3. Create a new user with the same display name and assume all prior identifiers are restored
  4. Reassign Azure RBAC permissions to a newly created user without restoring the deleted directory object

Explanation

Correct Answer

A:

Microsoft Entra retains deleted users temporarily, allowing restoration of the original user object within the supported recovery period. Restoring preserves the identity relationship better than constructing a replacement.

Incorrect Answers

B:

A B2B invitation creates an external collaboration identity rather than restoring the original workforce account. It would not recover the deleted object ID and original account relationships.

C:

A display name is not an immutable directory identity. Creating another user does not recreate the deleted object and can leave previous memberships and references broken.

D:

Recreating a separate identity and attaching resource roles does not restore the original Entra object, its historical object ID, or directory relationships. The original deleted identity remains recoverable during the supported window.

Question 3

A tenant administrator receives an error while directly assigning a Microsoft 365 license to a newly created employee. Other users can receive the same product, but this employee does not have a Usage location configured. What should the administrator set before retrying the direct assignment?

  1. Set the employee’s Preferred data location to the country in which the service will be used
  2. Set the employee’s Office location profile field to the organization’s billing country
  3. Set the employee's country/region profile value but leave usageLocation unset
  4. Set the employee’s Usage location to the supported country or region where the service will be used

Explanation

Correct Answer

D:

Usage location is the per-user country or region that determines availability of region-restricted Microsoft 365 services and is a prerequisite for direct licensing. Set the correct supported value on this employee, then retry or reprocess the failed assignment. Because other users can receive the product, replacing the subscription or changing unrelated profile attributes is not the first corrective action.

Incorrect Answers

A:

Preferred data location is a workload residency preference for supported multi-geo services, not the identity property that license assignment uses to determine regional service availability. A user can have an appropriate data-residency setting and still lack the required Usage location for a direct Microsoft 365 license assignment. Populate the actual usageLocation property rather than a neighboring geographic attribute.

B:

Office location is an informational directory profile field that may describe the workplace or building. It does not substitute for the licensing Usage location check, even if both happen to contain the same country. Editing this profile value would leave the explicit prerequisite absent and the direct license attempt could continue to fail for the new user.

C:

The optional country/region profile data and the usageLocation attribute are not interchangeable in the Microsoft 365 licensing check. The assignment still fails because the employee's Usage location, not generic contact geography, is missing.

Question 4

A help desk operator confirms a cloud-only Microsoft Entra employee cannot remember a password and has passed an identity check. The organization wants to retain the user object, group memberships, and Azure role assignments. Which administrative action is appropriate?

  1. Delete the user and re-create another object with the same user principal name
  2. Remove and re-add the employee’s resource group role assignments
  3. Change only the employee’s display name in the directory
  4. Reset the existing user’s password in Microsoft Entra ID

Explanation

Correct Answer

D:

A password reset changes the cloud identity’s credential while preserving its object ID, group membership, and resource assignments. The help desk should follow its authorization and temporary credential procedures.

Incorrect Answers

A:

A newly created identity can have a different object ID and lose references to the original security principal. Deletion is not needed for a verified forgotten-password case.

B:

Azure RBAC determines operations on Azure resources, not the Entra password that the employee uses to authenticate. Reassigning roles would not repair the credential.

C:

Display-name changes are visible profile updates, not authentication credential resets. The user would remain unable to sign in with the forgotten password.

Question 5

A company changes its brand. Existing Entra users must show the new company wording in address books, but sign-in UPNs and object identifiers must remain stable because federation is not ready for a domain change. Which edit best meets that constraint?

  1. Update each userPrincipalName to the new brand domain but keep the display name
  2. Update users’ display names while leaving their user principal names unchanged
  3. Update each mailNickname and primary SMTP address only
  4. Change each objectId to match a new brand-specific naming convention

Explanation

Correct Answer

B:

The displayName is a profile attribute independent from userPrincipalName. Updating display names changes the visible directory label while preserving the authentication identity and existing access relationships.

Incorrect Answers

A:

A UPN edit changes the authentication name rather than the display label; federation is not ready for that domain transition, so this introduces the very sign-in risk the scenario excludes.

C:

These attributes affect messaging aliases but do not guarantee the address-book displayName changes; the stated requirement is the visible person name, not email routing.

D:

Directory object IDs are immutable identifiers, not names to rebrand. Attempting to replace identities would also break the stable app references required by the case.

Question 6

An administrator resets the password of a cloud-only Microsoft Entra user after a stolen laptop incident. The security team also wants to invalidate previously issued refresh sessions so a stolen long-lived session cannot silently obtain more tokens. Which additional identity operation targets this risk?

  1. Revoke the user sign-in sessions in Entra ID
  2. Repeat the password reset and rely solely on the reset to end every existing application session
  3. Require the user to register an additional authentication method without revoking refresh tokens
  4. Disable only the stolen device registration while leaving the user’s other refresh sessions valid

Explanation

Correct Answer

A:

Microsoft Entra’s Revoke sessions operation resets the validity timestamp for the user’s issued refresh tokens and certain Entra session cookies, forcing fresh authentication on subsequent token renewal. It specifically addresses the ability of a stolen refresh token to obtain new access tokens. Already issued access tokens and sessions controlled solely by an application can remain valid temporarily, so additional app/device containment may be needed.

Incorrect Answers

B:

A password reset helps protect against reuse of a compromised password and can revoke some token classes, but its behavior depends on the client and token type. It is not a reliable stand-in for the requested explicit invalidation of all Entra refresh sessions or an immediate termination of every application-owned cookie. Perform the separate revoke-sessions operation and account for remaining access-token lifetimes.

C:

Requiring more authentication methods changes what the user will need at a future sign-in, but does not itself invalidate an already stolen refresh token or change the refresh-session validity timestamp. A device using an extant refresh credential might continue silent renewal until other controls stop it. Registration hardening can complement incident response; it is not the specific revocation action the scenario asks for.

D:

Disabling the registered device can contain the stolen laptop where device-based Conditional Access is enforced, but other clients may hold the same user’s refresh sessions. The security team specifically asks for account-wide invalidation so another client cannot silently obtain more tokens. Revoking the user sessions targets that broader token boundary; device disabling is additional targeted remediation.

Question 7

An employee account is synchronized from an on-premises Active Directory forest to Microsoft Entra ID. The employee is leaving permanently, and the organization requires the disabled state to remain correct across the next directory synchronization. Where should the administrator disable the identity?

  1. Disable only the cloud account while keeping the on-premises source enabled
  2. Disable the on-premises Active Directory account and allow synchronization
  3. Remove the user only from the Microsoft Entra cloud access groups while the AD DS account stays enabled
  4. Reset the password in Microsoft Entra without disabling the on-premises AD DS user

Explanation

Correct Answer

B:

For an on-premises mastered user, the on-premises directory governs the synchronized enabled state. Changing that authoritative account lets the subsequent sync reflect the intended disabled status consistently.

Incorrect Answers

A:

A cloud-only change can be overwritten or contradicted by the authoritative synchronized state. It does not implement the permanent account lifecycle action in the source directory.

C:

Group removal may block particular applications but cannot guarantee the disabled state of an on-premises mastered identity. Source-directory authentication remains possible and synchronization still treats the user as enabled.

D:

A cloud password reset does not ensure the authoritative synchronized account remains disabled. Even if one credential stops working, the enabled source identity can remain active or be synchronized again.

Question 8

An organization verifies the custom domain fabrikam.example in its Microsoft Entra tenant. A cloud-only account currently signs in as alex@tenant.onmicrosoft.com, but business users must use alex@fabrikam.example as the sign-in identity without deleting the object. What directory property is updated?

  1. Change the user's mail contact attribute to alex@fabrikam.example while retaining the existing UPN
  2. Change the user principal name to the verified custom-domain address
  3. Change only the display name to alex@fabrikam.example
  4. Verify the tenant custom domain but leave the user principal name unchanged

Explanation

Correct Answer

B:

The UPN identifies the sign-in name for the existing user. Updating it to an already verified domain preserves the account object while changing its sign-in identifier, subject to downstream application dependencies.

Incorrect Answers

A:

The mail/contact address is not the cloud user's sign-in userPrincipalName. Changing it may change displayed email information, but Entra sign-in for alex@fabrikam.example requires updating the UPN to the verified custom suffix while preserving the same user object.

C:

Display name is descriptive directory metadata; changing it does not replace the user principal name used at sign-in.

D:

Domain verification enables use of the suffix, but the existing cloud user still signs in with the old UPN until its property changes.

Question 9

A school needs to onboard 80 distinct cloud-only staff members in Microsoft Entra ID. HR supplies unique sign-in names and display names in a CSV, and the administrator can provide required initial passwords in the supported import format. The team wants to create all user objects without entering 80 portal forms. Which operation should they choose?

  1. Use Microsoft Entra bulk user creation with the supported CSV schema and examine the import results
  2. Use the Microsoft Entra bulk B2B guest-invitation template for the internal workforce
  3. Use bulk group-membership import for the CSV records before the staff user objects exist
  4. Use the bulk update-existing-users process for UPNs that are not yet present in the directory

Explanation

Correct Answer

A:

The Microsoft Entra bulk-create workflow accepts a CSV template with the required display name, user principal name, and initial password fields to create distinct internal member accounts. Download and preserve the current template headers, include one employee per row, submit the job and inspect per-user validation and operation results. Upload acknowledgment alone does not prove all 80 identities were successfully created.

Incorrect Answers

B:

Bulk B2B guest invitation is meant to invite outside collaborators who authenticate using external identities. The school needs new internal cloud-only staff users with individual Entra sign-in names and administrator-supplied initial passwords, not external guest relationships. Using invitations would create a different identity lifecycle and could fail to establish the intended workforce member accounts.

C:

Bulk group-member addition changes memberships for users that already exist, rather than creating new Entra security principals. These 80 people have only HR CSV entries and have not yet been provisioned as cloud directory objects. A group-import attempt cannot establish their accounts, object IDs, or sign-in credentials; create the users first and optionally manage group memberships afterward.

D:

A bulk update of existing users assumes matching Entra objects to modify, so it cannot provision an employee whose user object and object ID have not been created. The CSV carries new account identities rather than corrections to established users. The bulk-create workflow is the supported operation for this initial provisioning requirement; validate its results before assigning licenses or roles.

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.

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.