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 Part4 | 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
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 session control of the Azure AD conditional access policy.Does the solution meet the goal?
A. es
B. o
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
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 #3
How many days of data retention is free for Log Analytics, which stores the Linux Syslog?
A. 30
B. 31
C. 60
D. 90
View answer
Correct Answer: B
Question #4
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 #5
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. reate an incoming security rule for port 443 from the Internet
B. reate an outgoing security rule for port 443 from the Internet
C. reate an incoming security rule for port 443 from the Internet
D. reate an outgoing security rule for port 443 from the Internet
View answer
Correct Answer: A
Question #6
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 #7
You need to ensure that VM1 can communicate with VM4. The solution must minimize administrative effort.What should you do?
A. stablish peering between VNET1 and VNET3
B. ssign VM4 an IP address of 10
C. reate a user-defined route from VNET1 to VNET3
D. reate an NSG and associate the NSG to VM1 and VM4
View answer
Correct Answer: A
Question #8
You have a Microsoft Entra 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 Microsoft Entra tenant and receives the following error message: “Unable to invite user user1@outlook.com – Generic authorization exception.”You need to ensure that Admin1 can invite the external partner to sign in to the Microsoft Entra tenant. What should you do?
A. From the Users settings blade, modify the External collaboration settings
B. From the Custom domain names blade, add a custom domain
C. From the Organizational relationships blade, add an identity provider
D. From the Roles and administrators blade, assign the Security administrator role to Admin1
View answer
Correct Answer: A
Question #9
Your company has an Azure Active Directory (Azure AD) subscription.You need to deploy five virtual machines (VMs) to your company’s virtual network subnet.The VMs will each have both a public and private IP address. Inbound and outbound security rules for all of these virtual machines must be identical.Which of the following is the least amount of security groups needed for this configuration?
A. 4
B. 3
C. 2
D. 1
View answer
Correct Answer: D
Question #10
Your company has an Azure Active Directory (Azure AD) subscription.You need to deploy five virtual machines (VMs) to your company’s virtual network subnet.The VMs will each have both a public and private IP address. Inbound and outbound security rules for all of these virtual machines must be identical.Which of the following is the least amount of network interfaces needed for this configuration?
A. 5
B. 10
C. 20
D. 40
View answer
Correct Answer: A
Question #11
You have an Azure DNS zone named adatum.com.You need to delegate a subdomain named research.adatum.com to a different DNS server in Azure. What should you do?
A. Create an NS record named research in the adatum
B. Create a PTR record named research in the adatum
C. Modify the SOA record of adatum
D. Create an A record named *
View answer
Correct Answer: A
Question #12
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 Storage account named storage1. You need to enable a user named User1 to list and regenerate storage account keys for storage I. Solution: You assign the Reader and Data Access role to User1. Does this meet the goal?
A. AYes
B. BNo
View answer
Correct Answer: B
Question #13
A company has started using Azure and set up a subscription. They want to see the costs being incurred for each type of resource. Which of the following can help you get these details?
A. Go to your Azure AD directory and go to Licences
B. Go to your Subscription and go to Cost Analysis
C. Go to your Azure AD directory and go to Cost Analysis
D. Go to your Subscription and go to Resource Groups
View answer
Correct Answer: B
Question #14
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
Question #15
You have a Microsoft 365 tenant and a Microsoft Entra tenant named contoso.com.You plan to grant three users named User1, User2, and User3 access to a temporary Microsoft SharePoint document library named Library1.You need to create groups for the users. The solution must ensure that the groups are deleted automatically after 180 days.Which two groups should you create? Each correct answer presents a complete solution.NOTE: Each correct selection is worth one point.
A. a Microsoft 365 group that uses the Assigned membership type
B. a Security group that uses the Assigned membership type
C. a Microsoft 365 group that uses the Dynamic User membership type
D. a Security group that uses the Dynamic User membership type
E. a Security group that uses the Dynamic Device membership type
View answer
Correct Answer: AC
Question #16
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 #17
You need to identify which storage account to use for the flow logging of IP traffic from VM5. The solution must meet the retention requirements. Which storage account should you identify? You must identify the correct storage account for flow logging of IP traffic from VM5 that satisfies the retention requirement of eight months. Step 1 --- Review the Requirements Flow logs are stored in a StorageV2 (general purpose v2) account. The selected storage account must support Network Watcher flow logs. Data must be retained for eight months ( 240 days). Step 2 --- Evaluate Each Storage Account Storage Account Kind Region Remarks storage1 Storage (general purpose v1) West US Does not support flow logs (deprecated type). storage2 StorageV2 (general purpose v2) East US Fully supports flow logs and lifecycle management. storage3 BlobStorage East US 2 Not suitable --- supports blobs only, not log structure or lifecycle retention. storage4 FileStorage Central US File-only --- cannot store flow logs. Step 3 --- Compliance with Flow Log Retention Flow logs for Network Watcher NSG flow logging are supported only by StorageV2 accounts. You can use Azure Storage lifecycle management to automatically delete logs after a set period --- such as 240 days (8 months) --- to comply with retention requirements. Official Microsoft Note: ''Network security group (NSG) flow logs are stored in Azure StorageV2 (General Purpose v2) accounts, which support lifecycle management for log retention.'' --- Azure Network Watcher documentation. Conclusion storage2 is the only StorageV2 account. It's located in East US, matching VM5's region (East US) --- this satisfies performance and compliance requirements.
A. storage4
B. storage1
C. storage2
D. storage3
View answer
Correct Answer: C
Question #18
You have an Azure subscription that contains the resources shown in the following table.All virtual machines run Windows Server.On VM1, you back up a folder named Folder! as shown in the following exhibitYou plan to restore the backup to a different virtual machine.You need to restore the backup to VM2.What should you do first?
A. From VM1, install the Microsoft Azure Recovery Services Agent
B. From VM1, install the Windows Server Backup feature
C. From VM2, install the Windows Server Backup feature
D. From VM2, install the Microsoft Azure Recovery Services Agent
View answer
Correct Answer: D
Question #19
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 quest user account in contoso.com for each of the 500 external users.Solution: from Azure AD in the Azure portal, you use the Bulk create user operation.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #20
You have a registered DNS domain named contoso.com. You create a public Azure DNS zone named contoso.com.You need to ensure that records created in the contoso.com zone are resolvable from the internet. What should you do?
A. Create NS records in contoso
B. Modify the SOA record in the DNS domain registrar
C. Create the SOA record in contoso
D. Modify the NS records in the DNS domain registrar
View answer
Correct Answer: D
Question #21
You administer a solution in Azure that is currently having performance issues.You need to find the cause of the performance issues pertaining to metrics on the Azure infrastructure. Which of the following is the tool you should use?
A. Azure Traffic Analytics
B. Azure Monitor
C. Azure Activity Log
D. Azure Advisor
View answer
Correct Answer: B
Question #22
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 #23
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 #24
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 use Active Directory Sites and Services to force replication of the Global Catalog on a domain controller.Does the solution meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #25
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, thesequestions 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: From Microsoft Entra ID in the Azure portal, you use the Bulk invite users operation. Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #26
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 #27
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 following users in a Microsoft Entra tenant named contoso.onmicrosoft.com:User1 creates a new Microsoft Entra tenant named external.contoso.onmicrosoft.com. You need to create new user accounts in external.contoso.onmicrosoft.com.Solution: You instruct User3 to create the user accounts. Does that meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #28
You have three offices and an Azure subscription that contains a Microsoft Entra tenant. You need to grant user management permissions to a local administrator in each office. What should you use?
A. Microsoft Entra roles
B. administrative units
C. access packages in Microsoft Entra entitlement management
D. Azure roles
View answer
Correct Answer: B
Question #29
Your company has an Azure subscription that includes a Recovery Services vault.You want to use Azure Backup to schedule a backup of your company's virtual machines (VMs) to the Recovery Services vault.Which of the following VMs can you back up? Choose all that apply.
A. VMs that run Windows 10
B. VMs that run Windows Server 2012 or higher
C. VMs that have NOT been shut down
D. VMs that run Debian 8
E. VMs that have been shut down
View answer
Correct Answer: ABCDE
Question #30
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 #31
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
Question #32
In which format are NSG flow logs stored?
A. Markdown
B. YAML
C. JSON
D. XML
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 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 Owner role at the subscription level to Admin1. Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: A
Question #34
What is the maximum number of Recovery Services vaults that can be created in each region?
A. 10
B. 100
C. 500
D. 1000
View answer
Correct Answer: C
Question #35
When the backups are deleted, how long are they preserved under soft delete?
A. 14 days
B. 10 days
C. 7 days
D. 1 day
View answer
Correct Answer: A
Question #36
You plan to create an Azure virtual machine named VM1 that will be configured as shown in the following exhibit. The planned disk configurations for VM1 are shown in the following exhibit. You need to ensure that VM1 can be created in an Availability Zone. Which two settings should you modify? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
A. AUse managed disks
B. BAvailability options
C. COS disk type
D. DSize
E. EImage
View answer
Correct Answer: AB
Question #37
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 #38
You have an Azure subscription.You have 100 Azure virtual machines.You need to quickly identify underutilized virtual machines that can have their service tier changed to a less expensive offering.Which blade should you use?
A. Monitor
B. Advisor
C. Metrics
D. Customer insights
View answer
Correct Answer: B
Question #39
You have an Azure subscription that contains a storage account named storage.You have the devices shown in the following table.From which devices can you use AzCopy to copy data to storage1?
A. evice1 only
B. evice1, Device2 and Device3
C. evice2 and Device3 only
D. evice1 and Device2 only
View answer
Correct Answer: B
Question #40
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 makes use of Multi-Factor Authentication for when users are not in the office. The Per Authentication option has been configured as the usage model.After the acquisition of a smaller business and the addition of the new staff to Azure Active Directory (Azure AD) obtains a different company and adding the new employees to Azure Active Directory (Azure AD), you are informed that these employees should also make use of Multi-Factor Authentication.To achieve this, the Per Enabled User setting must be set for the usage model.Solution: You reconfigure the existing usage model via the Azure portal.Does the solution meet the goal?
A. es
B. o
View answer
Correct Answer: B
Question #41
You are planning to deploy an Ubuntu Server virtual machine to your company's Azure subscription.You are required to implement a custom deployment that includes adding a particular trusted root certification authority (CA).Which of the following should you use to create the virtual machine?
A. The New-AzureRmVm cmdlet
B. The New-AzVM cmdlet
C. The Create-AzVM cmdlet
D. The az vm create command
View answer
Correct Answer: D

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