DummyExams LogoDummyExams
Azure logo

Free Practice · No Signup Required

30 Free Azure AZ-104 Practice Questions

Real practice questions for the Azure Azure Administrator (AZ-104) exam, with answers and detailed explanations. Updated 2026.

Free questions

30

Passing score

700 out of 1000

Exam time

100 minutes

Question pool

240+ Questions

Below are 30 real practice questions for the Azure Azure Administrator (AZ-104) exam. Each question shows the correct answer and a detailed explanation when you reveal it. Use these to benchmark your readiness — if you score below 70% on these 30 questions, plan for at least 4 more weeks of study before booking. For a full study plan, read our How to Pass Azure AZ-104 on Your First Attempt: Complete Study Guide.

AZ-104 Practice Questions

  1. FreePracticeQuiz.questionLabelAzure AD

    You have an Azure Active Directory (Azure AD) tenant named adatum.com that contains the users shown in the following table Adatum.com has the following configurations: Users may join devices to Azure AD is set to User1. Additional local administrators on Azure AD joined devices is set to None. You deploy Windows 10 to a computer named Computer. User1 joins Computer1 to adatum.com. You need to identify which users are added to the local Administrators group on Computer1. ![Question 1](images/question1.jpg)

    A
    User1 only.
    B
    User1, User2, and User3 only.
    C
    User1 and User2 only.
    D
    User1, User2, User3, and User4.
    E
    User2 only.
  2. FreePracticeQuiz.questionLabelNetworking

    You have an Azure subscription named Subscription1 that contains the resources in the following table You install the Web Server server role (IIS) on WM1 and VM2, and then add VM1 and VM2 to LB1. LB1 is configured as shown in the LB1 exhibit. Rule1 is configured as shown in the Rule1 exhibit. NOTE: Each correct selection is worth one point. VML is in the same availability set as VM2. ![Question 2 part 1](images/question2_3_4_1.jpg) ![Question 2 part 2](images/question2_3_4_2.jpg) ![Question 2 part 3](images/question2_3_4_3.jpg)

    A
    Yes.
    B
    No.
  3. FreePracticeQuiz.questionLabelNetworking

    You have an Azure subscription named Subscription1 that contains the resources in the following table You install the Web Server server role (IIS) on WM1 and VM2, and then add VM1 and VM2 to LB1. LB1 is configured as shown in the LB1 exhibit. Rule1 is configured as shown in the Rule1 exhibit. NOTE: Each correct selection is worth one point. If Probel.htm is present on VM1 and VM2, LB1 will balance TCP port 80 between VM1 and VM2. ![Question 3 part 1](images/question2_3_4_1.jpg) ![Question 3 part 2](images/question2_3_4_2.jpg) ![Question 3 part 3](images/question2_3_4_3.jpg)

    A
    Yes.
    B
    No.
  4. FreePracticeQuiz.questionLabelNetworking

    You have an Azure subscription named Subscription1 that contains the resources in the following table. You install the Web Server server role (IIS) on WM1 and VM2, and then add VM1 and VM2 to LB1. LB1 is configured as shown in the LB1 exhibit. Rule1 is configured as shown in the Rule1 exhibit. NOTE: Each correct selection is worth one point. If you delete Rule1, LB1 will balance all the requests between VM1 and VM2 for all the ports. ![Question 4 part 1](images/question2_3_4_1.jpg) ![Question 4 part 2](images/question2_3_4_2.jpg) ![Question 4 part 3](images/question2_3_4_3.jpg)

    A
    Yes.
    B
    No.
  5. FreePracticeQuiz.questionLabelStorage

    You have a sync group named Sync1 that has a cloud endpoint. The cloud endpoint includes a file named File1.txt. You on-premises network contains servers that run Windows Server 2016. The servers are configured as shown in the following table. You add Share1 as an endpoint for Sync1. One hour later, you add Share2 as an endpoint for Sync1. On the cloud endpoint, File1.txt is overwritten by File1.txt from Sharel. ![Question 5](images/question5_6_7.jpg)

    A
    Yes.
    B
    No.
  6. FreePracticeQuiz.questionLabelStorage

    You have a sync group named Sync1 that has a cloud endpoint. The cloud endpoint includes a file named File1.txt. You on-premises network contains servers that run Windows Server 2016. The servers are configured as shown in the following table. You add Share1 as an endpoint for Sync1. One hour later, you add Share2 as an endpoint for Sync1. On Server1, Filel.txt is overwritten by File1.txt from the cloud endpoint. ![Question 6](images/question5_6_7.jpg)

    A
    Yes.
    B
    No.
  7. FreePracticeQuiz.questionLabelStorage

    You have a sync group named Sync1 that has a cloud endpoint. The cloud endpoint includes a file named File1.txt. You on-premises network contains servers that run Windows Server 2016. The servers are configured as shown in the following table. You add Share1 as an endpoint for Sync1. One hour later, you add Share2 as an endpoint for Sync1. File1.txt Share1 replicates to Share2. ![Question 7](images/question5_6_7.jpg)

    A
    Yes.
    B
    No.
  8. FreePracticeQuiz.questionLabelManagement

    You have an Azure subscription that contains the resources shown in the following table. The Not allowed resources types Azure policy is assigned to RG1 and uses the following parameters: In RG1, you need to create a new virtual machine named VM2, and then connect the VM2 to VNET1. What should you do first? ![Question 8](images/question8.jpg)

    A
    Remove Microsoft.Network/virtualNetworks from the policy.
    B
    Create an Azure Resource Manager template.
    C
    Remove Microsoft.Compute/virtualMachines from the policy.
    D
    Add a subnet to VNET1.
  9. FreePracticeQuiz.questionLabelIAM

    You have an Azure Active Directory (Azure AD) 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 Dev, you assign the Logic App Contributor role to the Developers group. Does this meet the goal?

    A
    Yes.
    B
    No.
  10. FreePracticeQuiz.questionLabelMonitoring

    You need to meet the technical requirement for VM4. What should you create and configure?

    A
    Azure Notification Hub.
    B
    Azure Event Hub.
    C
    Azure Logic App.
    D
    Azure services Bus.
  11. FreePracticeQuiz.questionLabelManagement

    You need to the appropriate sizes for the Azure virtual for Server2. What should you do? ![Question 11](images/question11.png)

    A
    Box 1: Create a Recovery Services vault. Box 2: Install the Azure Site Recovery Provider.
    B
    Box 1: Create an Azure Migrate project. Box 2: Create a collector virtual machine.
    C
    Box 1: Create an Azure Import/Export job. Box 2: Install the Azure File Sync agent.
    D
    Box 1: Upload a management certificate.Box 2: Enable Hyper-V Replica.
  12. FreePracticeQuiz.questionLabelMonitoring

    You have an Azure subscription that contains an Azure Storage account named storage1 and the users shown in the following table. You plan to monitor storage1 and to configure email notifications for the signals shown in the following table. You need to identify the minimum number of alert rules and action groups required for the planned monitoring. How many alert rules and action groups should you identify? ![Question 12 part 1](images/question12_1.jpg) ![Question 12 part 2](images/question12_2.jpg) ![Question 12 part 3](images/question12_3.jpg)

    A
    Alert rules: 4. Action groups: 4.
    B
    Alert rules: 3. Action groups: 1.
    C
    Alert rules: 2. Action groups: 1.
    D
    Alert rules: 4. Action groups: 3.
  13. FreePracticeQuiz.questionLabelAzure AD

    You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com. The User administrator role is assigned to a user named Admin1. An external partner has a Microsoft account that uses the user1@outlook.com sign in.Admin1 attempts to invite the external partner to sign in to the Azure AD tenant and receives the following error message: 'Unable to invite user user1@outlook.com C Generic authorization exception.' You need to ensure that Admin1 can invite the external partner to sign in to the Azure AD tenant. What should you do?

    A
    From the Roles and administrators blade, assign the Security administrator role to Admin1.
    B
    From the Organizational relationships blade, add an identity provider.
    C
    From the Custom domain names blade, add a custom domain.
    D
    From the Users blade, modify the External collaboration settings.
  14. FreePracticeQuiz.questionLabelAzure AD

    You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant named contoso.com and an Azure Kubernetes Service (AKS) cluster named AKS1. An administrator reports that she is unable to grant access to AKS1 to the users in contoso.com. You need to ensure that access to AKS1 can be granted to the contoso.com users. What should you do first?

    A
    From contoso.com, modify the Organization relationships settings.
    B
    From contoso.com, create an OAuth 2.0 authorization endpoint.
    C
    Recreate AKS1.
    D
    From AKS1, create a namespace.
  15. FreePracticeQuiz.questionLabelAzure AD

    You need to configure the Device settings to meet the technical requirements and the user requirements. Which two settings should you modify? ![Question 15](images/question15.jpg)

    A
    Box 1: all. Box 2: None. Box 3: All. Box 4: Yes. Box 5: None.
    B
    Box 1: selected. Box 2: Selected. Box 3: None. Box 4: Yes. Box 5: All.
    C
    Box 1: None. Box 2: None. Box 3: All. Box 4: No. Box 5: Selected.
    D
    Box 1: . Box 2: . Box 3: . Box 4: . Box 5: .???
  16. FreePracticeQuiz.questionLabelNetworking

    You need to meet the connection requirements for the New York office. What should you do? ![Question 16](images/question15.jpg)

    A
    From the Azure portal: Create an ExpressRoute circuit only. In the New York office: Deploy a DirectAccess server.
    B
    From the Azure portal: Create a virtual network gateway only. In the New York office: Implement a Web Application Proxy.
    C
    From the Azure portal: Create a virtual network gateway and a local network gateway. In the New York office: Configure a site-to-site VPN connection.
    D
    From the Azure portal: Create a virtual network gateway and an on-premises data gateway. In the New York office: Implement a Web Application Proxy.
  17. FreePracticeQuiz.questionLabelManagement

    You have an Azure subscription named Subscription1 that contains the resources shown in the following table. In storage1, you create a blob container named blob1 and a file share named share1. Which resources can be backed up to Vault1 and Vault2? ![Question 17 part 1](images/question17_1.jpg) ![Question 17 part 2](images/question17_2.jpg)

    A
    Box 1: VM1only Box 2: share1 only.
    B
    Box 1: VM1 and sharel only Box 2: VM1 and sharel only.
    C
    Box 1: VM1 and SQL1 only Box 2: blob1 and share1 only.
    D
    Box 1: VM1, storagel, and SQL1 only Box 2: ‘storagel and SQL1 only.
    E
    Box 1: VM1, blob1, sharel, and SQL1 Box 2: VM1 and sharel only.
  18. FreePracticeQuiz.questionLabelStorage

    You have an Azure subscription that contains a storage account named account1. You plan to upload the disk files of a virtual machine to account1 from your on-premises network. The on-premises network uses a public IP address space of 131.107.1.0/24. You plan to use the disk files to provision an Azure virtual machine named VM1. VM1 will be attached to a virtual network named VNet1. VNet1 uses an IP address space of 192.168.0.0/24. You need to configure account1 to meet the following requirements: Ensure that you can upload the disk files to account1. Ensure that you can attach the disks to VM1. Prevent all other access to account1. Which two actions should you perform? Each correct selection presents part of the solution.

    A
    From the Firewalls and virtual networks blade of account1, add the 131.107.1.0/24 IP address range.
    B
    From the Firewalls and virtual networks blade of account1, select Selected networks.
    C
    From the Firewalls and virtual networks blade of acount1, add VNet1.
    D
    From the Firewalls and virtual networks blade of account1, select Allow trusted Microsoft services to access this storage account. From the Service endpoints blade of VNet1, add a service endpoint.
    E
    From the Service endpoints blade of VNet1, add a service endpoint.
  19. FreePracticeQuiz.questionLabelNetworking

    You discover that VM3 does NOT meet the technical requirements. You need to verify whether the issue relates to the NSGs. What should you use?

    A
    Diagram in VNet1.
    B
    Security recommendations in Azure Advisor.
    C
    Diagnostic settings in Azure Monitor.
    D
    Diagnose and solve problems in Traffic Manager ProfilesIP flow verify in Azure Network Watcher.
    E
    IP flow verify in Azure Network Watcher.
  20. FreePracticeQuiz.questionLabelNetworking

    You have a computer named Computer1 that has a point-to-site VPN connection to an Azure virtual network named VNet1. The point-to-site connection uses a self-signed certificate. From Azure, you download and install the VPN client configuration package on a computer named Computer2. You need to ensure that you can establish a point-to-site VPN connection to VNet1 from Computer2. Solution: On Computer2, you set the Startup type for the IPSec Policy Agent service to Automatic. Does this meet the goal?

    A
    Yes.
    B
    No.
  21. FreePracticeQuiz.questionLabelNetworking

    You have an Azure virtual machine named VM1. The network interface for VM1 is configured as shown in the exhibit. You deploy a web server on VM1, and then create a secure website that is accessible by using the HTTPS protocol VM1 is used as a web server only. You need to ensure that users can connect to the website from the Internet. What should you do? ![Question 21](images/question21.jpg)

    A
    Change the priority of Rule3 to 450.
    B
    Change the priority of Rule6 to 100.
    C
    DeleteRule1.
    D
    Create a new inbound rule that allows TCP protocol 443 and configure the protocol to have a priority of 501.
    E
    For Rule5, change the Action to Allow and change the priority to 401.
  22. FreePracticeQuiz.questionLabelNetworking

    You have an azure subscription named Subscription that contains the resource groups shown in the following table. In RG1, you create a virtual machine named VM1 in the East Asia location. You plan to create a virtual network named VNET1. You need to create VNET, and then connect VM1 to VNET1. What are two possible ways to achieve this goal? Each correct answer presents a complete a solution. ![Question 22](images/question22.jpg)

    A
    Create VNET1 in RG2, and then set East Asia as the location.
    B
    Create VNET1 in a new resource group in the West US location, and then set West US as the location.
    C
    Create VNET1 in RG1, and then set East Asia as the location.
    D
    Create VNET1 in RG1, and then set East US as the location.
    E
    Create VNET1 in RG2, and then set East US as the location.
  23. FreePracticeQuiz.questionLabelAzure AD

    You need to resolve the licensing issue before you attempt to assign the license again. What should you do?

    A
    From the Groups blade, invite the user accounts to a new group.
    B
    From the Profile blade, modify the usage location.
    C
    From the Directory role blade, modify the directory role.
  24. FreePracticeQuiz.questionLabelAzure AD

    Your on-premises network contains an Active Directory domain named adatum.com that is synced to Azure Active Directory (Azure AD). Password writeback is disabled. In adatum.com, you create the users shown in the following table. ![Question 30](images/question30.jpg)

    A
    User2 only.
    B
    User1 and User3 only.
    C
    User1, User2, and User3.
    D
    User2 and User3 only.
    E
    User1 only.
  25. FreePracticeQuiz.questionLabelAzure AD

    You need to resolve the Active Directory issue. What should you do?

    A
    From Active Directory Users and Computers, select the user accounts, and then modify the User Principal Name value.
    B
    Run idfix.exe, and then use the Edit action.
    C
    From Active Directory Domains and Trusts, modify the list of UPN suffixes.
    D
    From Azure AD Connect, modify the outbound synchronization rule.
  26. FreePracticeQuiz.questionLabelAzure AD

    You have an Azure Active Directory (Azure AD) tenant named adatum.com. Adatum.com contains the groups in the following table. You create two user accounts that are configured as shown in the following table. To which groups do User1 and User2 belong? ![Question 26 part 1](images/question26_1.png) ![Question 26 part 2](images/question26_2.png) ![Question 26 part 3](images/question26_3.jpg)

    A
    Box 1: Group1 only. Box 2: Group1 and Group2 only.
    B
    Box 1: Group2 only. Box 2: Group1 only.
    C
    Box 1: Group3 only. Box 2: Group2 only.
    D
    Box 1: Groupl and Group3 only. Box 2: Group1, Group2, and Group3.
    E
    Box 1: Groupi, Group2, and Group3. Box 2: Group2 and Group3 only.
  27. FreePracticeQuiz.questionLabelManagement

    You have an Azure subscription that contains an Azure Availability Set named WEBPROD-AS-USE2 as shown in the following exhibit. You have an Azure subscription named Subscription1 that contains the resources shown in the following table. ![Question 27 part 1](images/question27_1.jpg) ![Question 27 part 2](images/question27_2.jpg)

    A
    When Microsoft performs planned maintenance in East US 2, the maximum number of unavailable virtual machines will be: 14. If the server rack in the Azure datacenter that hosts WEBPROD-AS-USE2 experiences a power failure, the maximum number of unavailable virtual machines will be: 2.
    B
    When Microsoft performs planned maintenance in East US 2, the maximum number of unavailable virtual machines will be: 10. If the server rack in the Azure datacenter that hosts WEBPROD-AS-USE2 experiences a power failure, the maximum number of unavailable virtual machines will be: 10.
    C
    When Microsoft performs planned maintenance in East US 2, the maximum number of unavailable virtual machines will be: 7. If the server rack in the Azure datacenter that hosts WEBPROD-AS-USE2 experiences a power failure, the maximum number of unavailable virtual machines will be: 14.
    D
    When Microsoft performs planned maintenance in East US 2, the maximum number of unavailable virtual machines will be: 2. If the server rack in the Azure datacenter that hosts WEBPROD-AS-USE2 experiences a power failure, the maximum number of unavailable virtual machines will be: 7.
  28. FreePracticeQuiz.questionLabelNetworking

    You have an app named App1 that is installed on two Azure virtual machines named VM1 and VM2. Connections to App1 are managed by using an Azure Load Balancer. The effective network security configurations for VM2 are shown in the following exhibit. You discover that connections to App1 from 131.107.100.50 over TCP port 443 fail. You verify that the Load Balancer rules are configured correctly. You need to ensure that connections to App1 can be established successfully from 131.107.100.50 over TCP port 443. Solution: You create an inbound security rule that allows any traffic from the AzuteLoadBalancer source and has a cost of 150. Does this meet the goal? ![Question 28](images/question28.jpg)

    A
    Yes.
    B
    No.
  29. FreePracticeQuiz.questionLabelNetworking

    You have an Azure subscription that contains the following resources: A virtual network that has a subnet named Subnet1. Two network security groups (NSGs) named NSG-VM1 and NSG-Subnet1. A virtual machine named VM1 that has the required Windows Server configurations to allow Remote Desktop connections NSG-Subnet1 has the default inbound security rules only. NSG-VM1 has the default inbound security rules and the following custom inbound security rule: Priority: 100. Source: Any. Source port range: *. Destination: *. Destination port range: 3389. Protocol: UDP. Action: Allow VM1 connects to Subnet1. NSG1-VM1 is associated to the network interface of VM1. NSG-Subnet1 is associated to Subnet1. You need to be able to establish Remote Desktop connections from the internet to VM1. Solution: You add an inbound security rule to NSG-Subnet1 that allows connections from the Any source to the VirtualNetwork destination for port range 3389 and uses the TCP protocol. You remove NSG-VM1 from the network interface of VM1. Does this meet the goal?

    A
    Yes.
    B
    No.
  30. FreePracticeQuiz.questionLabelManagement

    You have an Azure subscription that contains the following resources: 100 Azure virtual machines. 20 Azure SQL databases. 50 Azure file shares You need to create a daily backup of all the resources by using Azure Backup. What is the minimum number of backup policies that you must create?

    A
    1.
    B
    2.
    C
    3.
    D
    150.
    E
    170.
Progress: 0 of 30 questions completed

Ready for the full AZ-104 exam?

Get all 240+ Questions, timed simulation, and weak-area analytics. Plans from $2.99 — credits never expire.

See pricing

Frequently Asked Questions

Are these real AZ-104 practice questions?+
Yes. These 30 questions are taken directly from our 240+ Questions pool, written and reviewed by certified practitioners. They mirror the style, difficulty, and scope of the official Azure AZ-104 exam.
Is the AZ-104 exam hard?+
The Azure Azure Administrator (AZ-104) is considered a pass-mark exam (passing score: 700 out of 1000). Most candidates need 4–8 weeks of focused preparation. Use these free questions to gauge where you stand before committing to a full study plan.
How many questions are on the real AZ-104 exam?+
The official AZ-104 exam has 40-60 questions.
Do I need to sign up to use these questions?+
No. These 30 questions are free and require no signup. If you want timed simulation, performance analytics, and access to all 240+ Questions, our paid plans start at $2.99 per exam with credits that never expire.

Keep studying

Pass AZ-104 on your first try

Join candidates using DummyExams to practice with realistic timed exams, detailed explanations, and weak-area analytics.

Start full AZ-104 practice exam