DON'T WANT TO MISS A THING?

Certification Exam Passing Tips

Latest exam news and discount info

Curated and up-to-date by our experts

Yes, send me the newsletter

Free Microsoft AZ-104 Practice Questions & Answers 2026 Part1 | Microsoft Azure Administrator

Are you preparing for the Microsoft AZ-104 certification exam? SPOTO offers the Microsoft AZ-104 Premium File; all questions are aligned with the latest exam content and come with expert-provided answers. Our question banks cover the latest question types, core concepts, and detailed explanations, helping you familiarize yourself with the exam format and difficulty level. Whether you are reviewing core concepts or simulating a real exam environment, these resources will rapidly boost your confidence and readiness.
For over two decades, SPOTO has successfully helped numerous IT professionals secure their ideal positions at Fortune 500 companies. Download now to start practicing efficiently and ensure a high score on the actual exam. Don't miss this opportunity to pass your certification exam with ease!
Take other online exams

Question #1
You have a Microsoft Entra tenant.You plan to delete multiple users by using Bulk delete in the Microsoft Entra admin center. You need to create and upload a file for the bulk delete.Which user attributes should you include in the file?
A. The user principal name and usage location of each user only
B. The user principal name of each user only
C. The display name of each user only
D. The display name and usage location of each user only
E. The display name and user principal name of each user only
View answer
Correct Answer: B

View The Updated AZ-104 Exam Questions

SPOTO Provides 100% Real AZ-104 Exam Questions for You to Pass Your AZ-104 Exam!

Question #2
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.You need to ensure that a Microsoft Entra user named Admin1 is assigned the required role to enable Traffic Analytics for an Azure subscription.Solution: You assign the Network Contributor role at the subscription level to Admin1. Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: A
Question #3
You have an Azure subscription named Subscription1 that contains an Azure virtual machine named VM1. VM1 is in a resource group named RG1.VM1 runs services that will be used to deploy resources to RG1.You need to ensure that a service running on VM1 can manage the resources in RG1 by using the identity of VM1.What should you do first?
A. From the Azure portal, modify the Managed Identity settings of VM1
B. From the Azure portal, modify the Access control (IAM) settings of RG1
C. From the Azure portal, modify the Access control (IAM) settings of VM1
D. From the Azure portal, modify the Policies settings of RG1
View answer
Correct Answer: A
Question #4
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.You have a Microsoft Entra tenant named contoso.com.You have a CSV file that contains the names and email addresses of 500 external users. You need to create a guest user account in contoso.com for each of the 500 external users. Solution: You create a PowerShell script that runs the New-MgUser cmdlet for each user.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #5
Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.Your company has a Microsoft SQL Server Always On availability group configured on their Azure virtual machines (VMs).You need to configure an Azure internal load balancer as a listener for the availability group. Solution: You create an HTTP health probe on port 1433.Does the solution meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #6
You have an Azure subscription that contains a container group named Group1. Group1 contains two Azure container instances as shown in the following table.You need to ensure that container2 can use CPU resources without negatively affecting container1.What should you do?
A. emove the resource limit for both containers
B. ncrease the resource limit of container1 to three CPUs
C. ecrease the resource limit of container2 to two CPUs
D. ncrease the resource limit of container2 to six CPUs
View answer
Correct Answer: A
Question #7
Your company has serval departments. Each department has a number of virtual machines (VMs).The company has an Azure subscription that contains a resource group named RG1.All VMs are located in RG1.You want to associate each VM with its respective department.What should you do?
A. reate Azure Management Groups for each department
B. reate a resource group for each department
C. ssign tags to the virtual machines
D. odify the settings of the virtual machines
View answer
Correct Answer: C
Question #8
You have a Microsoft Entra tenant named adatum.com that contains the groups shown in the following table.Adatum.com contains the users shown in the following table.You assign the Microsoft Entra ID P2 license to Group1 and User4. Which users are assigned the Microsoft Entra ID P2 license?
A. User4 only
B. User1 and User4 only
C. User1, User2, and User4 only
D. User1, User2, User3, and User4
View answer
Correct Answer: B
Question #9
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.You have a Microsoft Entra tenant named contoso.com.You have a CSV file that contains the names and email addresses of 500 external users. You need to create a guest user account in contoso.com for each of the 500 external users.Solution: You create a PowerShell script that runs the New-MgUser cmdlet for each external user. Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: A
Question #10
You have an Azure subscription that contains the storage accounts shown in the following table. You need to identify which storage account can be converted to zone-redundant storage (ZRS) replication by requesting a live migration from Azure support. What should you identify?
A. AStorage1
B. BStorage2
C. CStorage3
D. DStorage4
View answer
Correct Answer: B
Question #11
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.You have a Microsoft Entra tenant named Adatum and an Azure Subscription named Subscription1. Adatum contains a group named Developers. Subscription1 contains a resource group named Dev.You need to provide the Developers group with the ability to create Azure logic apps in the Dev resource group. Solution: On Subscription1, you assign the DevTest Labs User role to the Developers group.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #12
You have an Azure App Services web app named App1. You plan to deploy App1 by using Web Deploy.You need to ensure that the developers of App1 can use their Microsoft Entra credentials to deploy content to App1. The solution must use the principle of least privilege.What should you do?
A. Assign the Owner role to the developers
B. Configure app-level credentials for FTPS
C. Assign the Website Contributor role to the developers
D. Configure user-level credentials for FTPS
View answer
Correct Answer: C
Question #13
Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish ifthe solution satisfies the requirements.Your company has an Azure Active Directory (Azure AD) subscription.You want to implement an Azure AD conditional access policy.The policy must be configured to require members of the Global Administrators group to use Multi-Factor Authentication and an Azure AD-joined device when theyconnect to Azure AD from untrusted locations.Solution: You access the Azure portal to alter the session control of the Azure AD conditional access policy.Does the solution meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #14
You have an Azure subscription linked to a Microsoft Entra tenant. The tenant includes a user account named User1.You need to ensure that User1 can assign a policy to the tenant root management group. What should you do?
A. Assign the Owner role for the Azure Subscription to User1, and then modify the default conditional access policies
B. Assign the Owner role for the Azure subscription to User1, and then instruct User1 to configure access management for Azure resources
C. Assign the Global administrator role to User1, and then instruct User1 to configure access management for Azure resources
D. Create a new management group and delegate User1 as the owner of the new management group
View answer
Correct Answer: C
Question #15
Your company has an Azure Active Directory (Azure AD) tenant that is configured for hybrid coexistence with the on-premises Active Directory domain.You plan to deploy several new virtual machines (VMs) in Azure. The VMs will have the same operating system and custom software requirements.You configure a reference VM in the on-premise virtual environment. You then generalize the VM to create an image.You need to upload the image to Azure to ensure that it is available for selection when you create the new Azure VMs.Which PowerShell cmdlets should you use?
A. Add-AzVM
B. Add-AzVhd
C. Add-AzImage
D. Add-AzImageDataDisk
View answer
Correct Answer: B
Question #16
You have an Azure subscription that contains the resources shown in the following table.You need to assign Workspace1 a role to allow read, write, and delete operations for the data stored in the containers of storage1.Which role should you assign?
A. Storage Account Contributor
B. Contributor
C. Storage Blob Data Contributor
D. Reader and Data Access
View answer
Correct Answer: C
Question #17
Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish ifthe solution satisfies the requirements.Your company has an Azure Active Directory (Azure AD) tenant named weyland.com that is configured for hybrid coexistence with the on-premises ActiveDirectory domain.You have a server named DirSync1 that is configured as a DirSync server.You create a new user account in the on-premise Active Directory. You now need to replicate the user information to Azure AD immediately.Solution: You run the Start-ADSyncSyncCycle -PolicyType Initial PowerShell cmdlet.Does the solution meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #18
You plan to use Azure Backup to protect your virtual machines and data and are ready to create a backup. What is the first thing you need to do?
A. Schedule a backup
B. Install a backup agent
C. Create a Recovery Services vault
D. Define a backup policy
View answer
Correct Answer: C
Question #19
You have a Microsoft Entra tenant that contains the groups shown in the following table.You purchase Microsoft Entra ID P2 licenses. To which groups can you assign a license?
A. Group1 only
B. Group1 and Group3 only
C. Group3 and Group4 only
D. Group1, Group2, and Group3 only
E. Group1, Group2, Group3, and Group4
View answer
Correct Answer: B
Question #20
While setting up Azure Site Recovery, in which region do you have to deploy the cache storage account?
A. Secondary region with RA-GRS
B. Primary and secondary regions
C. Secondary region
D. Primary region
View answer
Correct Answer: D
Question #21
Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.Your company has an Azure Active Directory (Azure AD) subscription.You want to implement an Azure AD conditional access policy.The policy must be configured to require members of the Global Administrators group to use Multi-Factor Authentication and an Azure AD-joined device when they connect to Azure AD from untrusted locations.Solution: You access the Azure portal to alter the grant control of the Azure AD conditional access policy.Does the solution meet the goal?
A. es
B. o
View answer
Correct Answer: A
Question #22
Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.Your company has an Azure Active Directory (Azure AD) tenant named weyland.com that is configured for hybrid coexistence with the on-premises ActiveDirectory domain.You have a server named DirSync1 that is configured as a DirSync server.You create a new user account in the on-premise Active Directory. You now need to replicate the user information to Azure AD immediately.Solution: You run the Start-ADSyncSyncCycle -PolicyType Initial PowerShell cmdlet.Does the solution meet the goal?
A. es
B. o
View answer
Correct Answer: B
Question #23
You have an Azure subscription that contains a storage account named storage1. The storage1 account contains a file share named share1.The subscription is linked to a hybrid Microsoft Entra tenant that contains a security group named Group1. You need to grant Group1 the Storage File Data SMB Share Elevated Contributor role for share1.What should you do first?
A. Enable Active Directory Domain Service (AD DS) authentication for storage1
B. Grant share-level permissions by using File Explorer
C. Mount share1 by using File Explorer
D. Create a private endpoint
View answer
Correct Answer: A
Question #24
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.You have an Azure Active Directory (Azure AD) tenant named contoso.com.You have a CSV file that contains the names and email addresses of 500 external users. You need to create a guest user account in contoso.com for each of the 500 external users.Solution: You create a PowerShell script that runs the New-AzureADMSInvitation cmdlet for each external user.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: A
Question #25
What benefit does a Content Delivery Network (CDN) provide its users?
A. Allows you to reduce the traffic coming into a web server for static, unchanging files such as images, videos, and PDFs
B. Allows you to store data that can be retrieved later in an extremely fast and inexpensive manner
C. Allows you to keep temporarily session information on the web visitor such as their login ID or their name
D. For a small fee, Azure will take over management of your virtual machine, perform OS updates and ensure it's running well
View answer
Correct Answer: A
Question #26
You have an Azure subscription that contains the resources shown in the following table. You configure Azure Site Recovery to replicate VM1 between the East US and Wt US regions. You perform a test failove of VM1 and specify VNET2 as the target v>riual network. When the test version of VM1 is created, to which subnet will the virtual machine be connected? https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-network-mapping The subnet of the target VM is selected based on the name of the subnet of the source VM. - If a subnet with the same name as the source VM subnet is available in the target network, that subnet is set for the target VM. - If a subnet with the same name doesn't exist in the target network, the first subnet in the alphabetical order is set as the target subnet.
A. Testsubnet1
B. RecoverySubnetB
C. DemoSubnrt1
D. RecovetySubnelA
View answer
Correct Answer: A
Question #27
You have an Azure subscription named Subscription1 that contains an Azure Log Analytics workspace named Workspace1.You need to view the error events from a table named Event. Which query should you run in Workspace1?
A. Get-Event Event | where {$_
B. Event | search "error"
C. select * from Event where EventType == "error"
D. search in (Event) * | where EventType –eq “error”
View answer
Correct Answer: B
Question #28
You have an Azure policy as shown in the following exhibit:What is the effect of the policy?
A. You are prevented from creating Azure SQL servers anywhere in Subscription 1
B. You can create Azure SQL servers in ContosoRG1 only
C. You are prevented from creating Azure SQL Servers in ContosoRG1 only
D. You can create Azure SQL servers in any resource group within Subscription 1
View answer
Correct Answer: B
Question #29
Your company’s Azure subscription includes Azure virtual machines (VMs) that run Windows Server 2016. One of the VMs is backed up every day using Azure Backup Instant Restore.When the VM becomes infected with data encrypting ransomware, you are required to restore the VM. Which of the following actions should you take?
A. You should restore the VM after deleting the infected VM
B. You should restore the VM to any VM within the company’s subscription
C. You should restore the VM to a new Azure VM
D. You should restore the VM to an on-premise Windows device
View answer
Correct Answer: C
Question #30
Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.Your company has a Microsoft SQL Server Always On availability group configured on their Azure virtual machines (VMs).You need to configure an Azure internal load balancer as a listener for the availability group. Solution: You set Session persistence to Client IP.Does the solution meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #31
You have the Azure virtual networks shown in the following table.To which virtual networks can you establish a peering connection from VNet1?
A. VNet2, VNet3, and VNet4
B. VNet2only
C. VNet3 and VNet4 only
D. VNet2 and VNet3 only
View answer
Correct Answer: C
Question #32
You are planning the move of App1 to Azure.You create a network security group (NSG).You need to recommend a solution to provide users with access to App1.What should you recommend?
A. Create an outgoing security rule for port 443 from the Internet
B. Create an incoming security rule for port 443 from the Internet
C. Create an incoming security rule for port 443 from the Internet
D. Create an outgoing security rule for port 443 from the Internet
View answer
Correct Answer: C
Question #33
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.You have an Azure subscription that contains the virtual machines shown in the following table.You deploy a load balancer that has the following configurations:Name: LB1Type: InternalSKU: StandardVirtual network: VNET1You need to ensure that you can add VM1 and VM2 to the backend pool of LB1.Solution: You disassociate the public IP address from the network interface of VM2.Does this meet the goal?
A. o
B. es
View answer
Correct Answer: B
Question #34
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.You have an Azure Active Directory (Azure AD) tenant named contoso.com.You have a CSV file that contains the names and email addresses of 500 external users. You need to create a guest user account in contoso.com for each of the 500 external users.Solution: You create a PowerShell script that runs the New-AzureADUser cmdlet for each user. Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #35
Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.Your company’s Azure subscription includes two Azure networks named VirtualNetworkA and VirtualNetworkB.VirtualNetworkA includes a VPN gateway that is configured to make use of static routing. Also, a site-to-site VPN connection exists between your company’s on-premises network and VirtualNetworkA.You have configured a point-to-site VPN connection to VirtualNetworkA from a workstation running Windows10. After configuring virtual network peering between VirtualNetworkA and VirtualNetworkB, you confirm that you are able to access VirtualNetworkB from the company’s on-premises network. However, you find that you cannot establish a connection to VirtualNetworkB from the Windows 10 workstation.You have to make sure that a connection to VirtualNetworkB can be established from the Windows 10 workstation.Solution: You choose the Allow gateway transit setting on VirtualNetworkA.Does the solution meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #36
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.You need to ensure that a Microsoft Entra user named Admin1 is assigned the required role to enable Traffic Analytics for an Azure subscription.Solution: You assign the Reader role at the subscription level to Admin1. Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #37
You have an Azure subscription named Subscription1 that contains a virtual network named VNet1. VNet1 is in a resource group named RG1.Subscription1 has a user named User1. User1 has the following roles: ReaderSecurity Admin Security ReaderYou need to ensure that User1 can assign the Reader role for VNet1 to other users. What should you do?
A. Remove User1 from the Security Reader role for Subscription1
B. Assign User1 the Owner role for VNet1
C. Remove User1 from the Security Reader and Reader roles for Subscription1
D. Assign User1 the Contributor role for VNet1
View answer
Correct Answer: B
Question #38
You have an Azure subscription named Subscription1 that contains virtual network named VNet1. VNet1 is in a resource group named RG1.A user named User1 has the following roles for Subscription1: ReaderSecurity Admin Security ReaderYou need to ensure that User1 can assign the Reader role for VNet1 to other users. What should you do?
A. Remove User1 from the Security Reader and Reader roles for Subscription1
B. Assign User1 the Contributor role for VNet1
C. Assign User1 the Owner role for VNet1
D. Assign User1 the Network Contributor role for RG1
View answer
Correct Answer: C

View The Updated Microsoft Exam Questions

SPOTO Provides 100% Real Microsoft Exam Questions for You to Pass Your Microsoft Exam!

View Answers after Submission

Please submit your email and WhatsApp to get the answers of questions.

Note: Please make sure your email ID and Whatsapp are valid so that you can get the correct exam results.

Email:
Whatsapp/phone number:
Contact Us