Microsoft Azure Administrator (AZ-104) Sample Exam Questions 2026
Practice AZ-104 VNet peering, Gateway Transit, Managed Identities, Azure Policy, ZRS storage, and Load Balancer probe diagnostics with expert rationales.
Exam Code: AZ-104 | Track: Cloud & DevOps | Recommended Course: Microsoft Azure Administrator (AZ-104) Live Course
Official Exam Blueprint & Domain Weights
- Configure and Manage Virtual Networking: 20%
- Manage Azure Identities and Governance: 20%
- Implement and Manage Storage: 20%
- Deploy and Manage Azure Compute Resources: 25%
- Monitor and Maintain Azure Resources: 15%
Open Sample Practice Questions & Rationales
Question 1 (Configure and Manage Virtual Networking): You deploy two Virtual Networks (`VNet-Hub` and `VNet-Spoke1`) in the same Azure region and configure VNet peering. However, VMs in `VNet-Spoke1` cannot reach an on-premises subnet connected to `VNet-Hub` via an ExpressRoute Virtual Network Gateway. What must you enable on the peering links?
- A. Enable BGP route propagation only on the subnet route table without peering changes
- B. Enable "Allow gateway transit" on `VNet-Hub` and "Use remote gateway" on `VNet-Spoke1`
- C. Create an Azure Application Gateway between both virtual networks
- D. Assign public IPv4 addresses to every NIC inside `VNet-Spoke1`
Verified Answer (B): In hub-and-spoke Azure networking, the hub VNet hosting the VPN/ExpressRoute gateway must enable "Allow gateway transit", and spoke VNets must enable "Use the remote virtual network’s gateway".
Question 2 (Manage Azure Identities and Governance): An Azure administrator creates a Resource Lock (`CanNotDelete`) at the Resource Group level and assigns a user the `Contributor` role on that same Resource Group. The user attempts to delete an Azure Storage Account inside the Resource Group. What happens?
- A. The user succeeds because Contributor includes Microsoft.Authorization/*/Delete
- B. The delete fails because Resource Locks override RBAC permissions including Owner and Contributor
- C. The storage account enters soft-delete state for 7 days automatically
- D. Only Azure Policy denies the deletion if diagnostic logging is enabled
Verified Answer (B): Azure Resource Locks apply across all users and roles—even Owner and Contributor must hold `Microsoft.Authorization/locks/*` permissions to remove the lock first before deleting protected resources.
Frequently Asked Questions
Which Azure AZ-104 topics trip up candidates most often on exam day?
Virtual Networking (`Gateway Transit`, `UDRs`, and `AzureLoadBalancer` health probe NSG tags) and governance boundaries (`Azure Policy vs RBAC vs Resource Locks`) account for the majority of missed points.
Are Microsoft Learn docs permitted during the live AZ-104 exam?
Yes, Microsoft Learn reference lookup is available inside the exam window for role-based exams, but running out of time due to slow navigation is a common risk—practicing timed scenarios builds decision speed.