Quick answer: This page has 25 free AZ-104 practice questions with answers and explanations, grouped by exam domain: identity and governance (1–6), storage (7–12), compute (13–18), and networking (19–25). Each answer was checked against Microsoft Learn in November 2026, including current service names and retirements such as Microsoft Entra ID, Azure Monitor Agent, and the retired Basic Load Balancer. Set a timer for 25 minutes, answer all 25, then use the answer key to see which domain to study next.
AZ-104 is a hands-on exam, so portal-only experience often isn't enough. If your Azure experience is mostly portal clicks rather than scripted deployments, the PowerShell/CLI and scenario-based questions are usually where the real exam surprises people.
Treat this set as a diagnostic rather than a full mock exam. The 25 questions are grouped by domain so you can see immediately whether your weak spot sits in one of the two heaviest-weighted areas — identity/governance or compute, each 20–25% of the exam — or in a lighter one like monitoring. A cluster of misses in one domain tells you exactly where your next study block should go, rather than leaving you guessing at the whole exam.
Want the full picture beyond these 25? The AZ-104 certification page has the complete 500-question bank with progress tracking across all five exam domains.
AZ-104 Exam Domains These Questions Draw From:
- ✓Manage Azure identities and governance (20–25%) — Entra ID, RBAC, Azure Policy, subscriptions
- ✓Implement and manage storage (15–20%) — storage accounts, blob tiers, Azure Files, backup
- ✓Deploy and manage Azure compute resources (20–25%) — VMs, availability sets, scale sets, containers
- ✓Implement and manage virtual networking (15–20%) — VNets, NSGs, load balancers, peering
- ✓Monitor and maintain Azure resources (10–15%) — Azure Monitor, alerts, VM extensions
How to Use These Practice Questions
AZ-104 is a hands-on exam. These questions simulate the scenario-based format you'll encounter:
Practice Test Instructions
- • Each question has ONE correct answer
- • Read scenarios carefully—details matter for admin tasks
- • Time yourself: 25 minutes for 25 questions
- • Review all explanations, even correct answers
Manage Azure Identities & Governance
Questions 1-6
Microsoft Entra ID User Management
Your organization has 500 employees joining next month from an acquired company. All users need Microsoft Entra ID accounts with the same default settings. The HR system can export user data to a CSV file with names, emails, and departments.
What is the MOST efficient way to create these user accounts?
RBAC Role Assignment
A developer needs to create, start, stop, restart, and resize virtual machines in the production resource group, but must not be able to manage virtual networks or storage accounts, or access any other resource groups. You want to follow the principle of least privilege.
Which role should you assign at the resource group scope?
Azure Policy Implementation
Your company's compliance team requires that all Azure resources must be tagged with a "CostCenter" tag. Resources without this tag should not be deployable. You need to enforce this requirement across all subscriptions.
What should you implement?
Resource Locks
A critical production resource group contains VMs, storage accounts, and databases. You need to prevent accidental deletion of these resources, but administrators should still be able to modify configurations and settings when needed.
Which type of lock should you apply to the resource group?
Cost Management
Your Azure costs have increased unexpectedly. You need to identify which resource group is consuming the most resources this month and set up alerts if spending exceeds $5,000 in any resource group.
Which tool should you use?
Microsoft Entra ID Groups
You need to create a group that automatically includes all users from the Marketing department based on their department attribute in Microsoft Entra ID. When users join or leave the Marketing department, group membership should update automatically.
Which type of Microsoft Entra ID group should you create?
Ready for AZ-104?
Access hundreds of advanced practice questions covering all Azure Administrator topics.
Start Free PracticeImplement & Manage Storage
Questions 7-12
Storage Account Performance Tiers
Your company is deploying a high-performance database that requires low-latency storage with consistent sub-millisecond response times. The database will handle thousands of small random I/O operations per second.
Which storage account performance tier should you use?
Blob Access Tiers
You have 10 TB of log files that must be retained for 7 years for compliance. The logs are rarely accessed after 30 days but must be available within hours if needed. You want to minimize storage costs.
Which blob access tier should you configure for these log files after 30 days?
Azure Files Integration
Your company has multiple on-premises Windows servers that need to access a shared file system in Azure. Users should be able to map a network drive using SMB protocol and access files as if they were on a local file server.
Which Azure storage solution should you implement?
Storage Replication
You need to configure a storage account that can survive a regional disaster. If the primary region becomes unavailable, your application must be able to fail over to a secondary region with read access to the data.
Which replication option should you configure?
Azure Backup Configuration
You need to implement a backup solution for 50 Azure VMs. Backups should be retained for 30 days, with the ability to restore individual files or the entire VM. The solution must be centrally managed and meet compliance requirements.
Which Azure service should you use?
Shared Access Signatures (SAS)
You need to provide a third-party vendor temporary access to upload files to a specific blob container. The access should expire after 48 hours and only allow write operations to that container, with no access to other containers.
What should you create?
Deploy & Manage Compute Resources
Questions 13-18
VM Availability Sets
You're deploying a web application across multiple VMs in the same Azure region. The application must remain available during planned maintenance events, and you need to protect against rack-level failures within the datacenter.
What should you configure?
Virtual Machine Scale Sets
Your application experiences predictable traffic spikes every weekday from 9 AM to 5 PM. You need to automatically scale from 2 VM instances during off-hours to 10 instances during peak hours based on CPU utilization above 70%.
What should you implement?
Azure App Service Plans
You're migrating a .NET web application to Azure App Service. The app requires custom SSL certificates, custom domain names, and the ability to scale up to 10 instances. Development and staging slots are also required.
Which App Service plan tier should you choose?
Azure Container Instances
You need to run a containerized batch job that processes data files uploaded to blob storage. The job runs for 10-15 minutes and should start automatically when files are uploaded. You want to minimize costs and avoid managing infrastructure.
Which solution should you implement?
VM Disk Configuration
You're deploying a SQL Server VM whose database files require consistently submillisecond latency and the highest IOPS available. The VM will host a production database with thousands of transactions per second. Cost is a secondary concern to performance.
Which disk type should you use for the database data files?
VM Extensions
After deploying 20 Windows VMs, you need to install and configure the Azure Monitor Agent on all of them to enable Azure Monitor. You want to automate this process and ensure consistent configuration.
What should you use?
Configure & Manage Virtual Networking
Questions 19-25
Virtual Network Peering
You have two virtual networks in the same Azure region: VNet1 (10.1.0.0/16) and VNet2 (10.2.0.0/16). Resources in VNet1 need to communicate with resources in VNet2 using private IP addresses with low latency.
What should you configure?
Network Security Groups (NSG)
You need to allow inbound HTTPS traffic (port 443) from the internet to web servers in a subnet, but block all other inbound traffic. Outbound internet access should be allowed for Windows updates.
What should you configure?
Azure Load Balancer
You have three web servers in an availability set that need to distribute HTTP traffic evenly. If a server fails health checks, traffic should be routed only to healthy servers. The load balancer must handle internal traffic only.
Which load balancer should you deploy?
VPN Gateway Configuration
Your company needs a secure connection between the on-premises datacenter and Azure VNet. The connection requires an IPsec/IKE VPN with an aggregate throughput benchmark of 1.25 Gbps and must support multiple site-to-site connections. You want a zone-redundant gateway and the smallest SKU that meets the throughput requirement.
Which VPN Gateway SKU should you choose?
Azure DNS
You've registered the domain contoso.com with a third-party registrar. You want to host the DNS zone in Azure to manage DNS records for web apps and VMs. Users worldwide should resolve the domain to Azure resources.
What should you do?
Service Endpoints
VMs in your Azure VNet need to access an Azure Storage account. You want to ensure traffic stays on the Microsoft backbone network and doesn't traverse the public internet. The storage account should only be accessible from your VNet.
What should you configure?
Network Watcher
You're troubleshooting why an Azure VM can't communicate with an on-premises server. You need to check whether a specific packet to or from the VM is allowed or denied and identify which network security rule is responsible.
Which Network Watcher feature should you use?
Answer Key with Detailed Explanations
Review each explanation carefully, even for questions you answered correctly
Scoring Guide for AZ-104
- • 20-25 correct: Strong foundation. Continue with full practice exams
- • 15-19 correct: Good progress. Review weak domains
- • 10-14 correct: More hands-on practice needed
- • Below 10: Focus on fundamentals and Azure portal experience
Question 1: Microsoft Entra ID User Management
Correct Answer: B) Use Microsoft Entra ID bulk operations to import users from CSV
Why this is correct:
Microsoft Entra ID bulk operations allow you to import hundreds or thousands of users efficiently from a CSV file through the Azure portal. This feature validates the data, shows you any errors before committing, and processes all users in a single operation. It's the most efficient method for this scenario since you already have the CSV export from HR.
Why other answers are incorrect:
Question 2: RBAC Role Assignment
Correct Answer: B) Virtual Machine Contributor
Why this is correct:
Per Microsoft Learn, the Virtual Machine Contributor role lets you create and manage virtual machines (including start, restart, and power off) and manage disks, but it does not grant management access to the virtual network or storage account the VMs are connected to, and it does not allow you to assign roles in Azure RBAC. Assigned at the production resource group scope, it gives the developer exactly the VM management they need and nothing on networking or storage.
Why other answers are incorrect:
Question 3: Azure Policy Implementation
Correct Answer: B) Azure Policy with "Deny" effect for resources without CostCenter tag
Why this is correct:
Azure Policy with a "Deny" effect is the correct solution for enforcing compliance requirements. You can create a policy that requires the CostCenter tag and prevents deployment of any resource that doesn't include it. Policies can be assigned at the subscription or management group level to enforce across all subscriptions.
Why other answers are incorrect:
Question 4: Resource Locks
Correct Answer: B) CanNotDelete lock
Why this is correct:
CanNotDelete lock prevents deletion of resources but still allows modifications and configuration changes. This meets both requirements: protecting against accidental deletion while allowing administrators to update settings, resize VMs, modify database configurations, etc. The lock applies to all resources within the resource group.
Why other answers are incorrect:
Question 5: Cost Management
Correct Answer: B) Azure Cost Management + Billing
Why this is correct:
Azure Cost Management + Billing provides comprehensive cost analysis, allowing you to break down spending by resource group, service, tag, and time period. You can create budgets with alerts that notify you when spending exceeds thresholds (like $5,000). It's the dedicated tool for cost tracking and budget management in Azure.
Why other answers are incorrect:
Question 6: Microsoft Entra ID Groups
Correct Answer: C) Security group with Dynamic User membership
Why this is correct:
Security groups with Dynamic User membership use rules to automatically add or remove members based on user attributes. You can create a rule like "user.department -eq 'Marketing'" to automatically populate the group. As users' department attributes change, group membership updates automatically without manual intervention. Dynamic membership groups require a Microsoft Entra ID P1 license.
Why other answers are incorrect:
Question 7: Storage Account Performance Tiers
Correct Answer: B) Premium performance with SSD-based storage
Why this is correct:
Premium performance storage accounts use SSD-based storage and are specifically designed for high-performance scenarios requiring low latency and high IOPS. They provide consistent sub-millisecond response times and are ideal for databases with thousands of small random I/O operations per second. This is the recommended tier for production databases.
Why other answers are incorrect:
Question 8: Blob Access Tiers
Correct Answer: C) Archive tier
Why this is correct:
Per Microsoft Learn, the Archive tier is an offline tier with the lowest storage cost, meant for rarely accessed data with flexible latency requirements on the order of hours, such as compliance and archival data. Data should stay in Archive for at least 180 days, which a 7-year retention easily satisfies. An archived blob must be rehydrated to an online tier before it can be read, which can take up to 15 hours depending on priority, and that matches "available within hours."
Why other answers are incorrect:
Question 9: Azure Files Integration
Correct Answer: B) Azure Files with SMB protocol
Why this is correct:
Azure Files provides fully managed file shares in the cloud accessible via SMB protocol. Windows servers can mount Azure file shares as network drives using standard SMB protocol, just like traditional on-premises file servers. This provides seamless integration with existing Windows applications and workflows.
Why other answers are incorrect:
Question 10: Storage Replication
Correct Answer: D) Read-access geo-redundant storage (RA-GRS)
Why this is correct:
RA-GRS replicates data to a secondary region hundreds of miles away from the primary region. Crucially, it provides read access to the data in the secondary region at all times, even before a failover. This meets both requirements: regional disaster protection and the ability to read data from the secondary region if the primary becomes unavailable.
Why other answers are incorrect:
Question 11: Azure Backup Configuration
Correct Answer: C) Recovery Services vault with Azure Backup
Why this is correct:
Recovery Services vault with Azure Backup is the native Azure solution for VM backups. It provides centralized backup management, configurable retention policies (30 days in this case), and supports both item-level recovery (individual files) and full VM recovery. It also meets compliance requirements with built-in policies and reporting. Note that file-level recovery is available for Resource Manager VMs protected in a Recovery Services vault, is intended for recoveries of about 10 GB or less, and isn't supported for encrypted VM backups.
Why other answers are incorrect:
Question 12: Shared Access Signatures (SAS)
Correct Answer: B) Container-level SAS with write permission and 48-hour expiry
Why this is correct:
A container-level SAS token provides granular access to a specific container only. You can configure it with write permission, 48-hour expiration, and no access to other containers. This follows the principle of least privilege by granting exactly the access needed for the vendor to upload files, nothing more.
Why other answers are incorrect:
Question 13: VM Availability Sets
Correct Answer: A) Deploy two or more VMs in an availability set so they are spread across fault domains and update domains
Why this is correct:
Availability sets with fault domains and update domains are specifically designed for this scenario. Fault domains protect against rack-level failures (power, network) by spreading VMs across different physical racks. Update domains ensure VMs are rebooted in batches during planned maintenance, keeping the application available. Each availability set can have up to 3 fault domains and 20 update domains (the number of fault domains available varies by region), and these settings can't be changed after the availability set is created. Two or more VMs in an availability set meet the 99.95% Azure SLA.
Why other answers are incorrect:
Question 14: Virtual Machine Scale Sets
Correct Answer: A) Virtual Machine Scale Set with autoscale rules based on CPU metrics
Why this is correct:
VM Scale Sets are designed specifically for autoscaling scenarios. You can configure rules to automatically scale out when CPU exceeds 70% and scale in when demand decreases. Scale sets support both metric-based (CPU, memory) and schedule-based scaling rules, making them perfect for predictable traffic patterns with variable load.
Why other answers are incorrect:
Question 15: Azure App Service Plans
Correct Answer: C) Standard (S1)
Why this is correct:
Standard tier is the minimum tier that supports deployment slots (needed for dev/staging), custom domains, and SSL certificates. It supports scaling up to 10 instances and provides all the features required in the scenario. Standard offers a good balance of features and cost for production workloads that don't require Premium features.
Why other answers are incorrect:
Question 16: Azure Container Instances
Correct Answer: B) Azure Container Instances triggered by Azure Functions
Why this is correct:
Azure Container Instances (ACI) provides on-demand containers with per-second billing, perfect for short-running batch jobs. Azure Functions can be triggered by blob storage events (file uploads) and then start ACI containers to process the files. You only pay for the compute time used (10-15 minutes), with no infrastructure management required.
Why other answers are incorrect:
Question 17: VM Disk Configuration
Correct Answer: D) Ultra Disk
Why this is correct:
Per Microsoft Learn, Ultra Disks are designed for consistently low submillisecond latency and the highest limits for IOPS and throughput (up to 400,000 IOPS and 10,000 MB/s per disk), and are listed for top-tier databases such as SQL Server. Microsoft's SQL Server guidance recommends Ultra Disk when you need submillisecond response times, for example for the log or data drive of latency-sensitive applications. Ultra Disks have limitations (data disk only, not an OS disk, no availability sets, no disk caching), so confirm VM size and region support before choosing one.
Why other answers are incorrect:
Question 18: VM Extensions
Correct Answer: B) Azure VM extension for Azure Monitor Agent, with a data collection rule
Why this is correct:
VM extensions provide post-deployment configuration and automation on Azure VMs. Azure Monitor Agent (AMA) replaces the Log Analytics agent, also known as the Microsoft Monitoring Agent (MMA), which was retired on August 31, 2024. AMA is installed as a VM extension, and you associate each VM with a data collection rule (DCR) that defines what to collect, so the same configuration is applied consistently to all 20 VMs through the portal, PowerShell, CLI, or ARM templates.
Why other answers are incorrect:
Question 19: Virtual Network Peering
Correct Answer: B) Virtual network peering between VNet1 and VNet2
Why this is correct:
Virtual network peering connects two Azure VNets directly through the Microsoft backbone network, allowing resources to communicate using private IP addresses. Peering provides low latency (same as within a single VNet), high bandwidth, and doesn't require gateways or encryption overhead. It's the simplest and most performant solution for VNet-to-VNet connectivity in the same or different regions.
Why other answers are incorrect:
Question 20: Network Security Groups
Correct Answer: A) NSG with inbound rule allowing port 443 and default outbound rules
Why this is correct:
NSGs are perfect for this scenario. Create an inbound security rule to allow port 443 (HTTPS) from the internet, and NSG's default outbound rules allow all outbound traffic (including Windows updates). NSGs deny all inbound traffic by default, so you only need to explicitly allow port 443. This is the simplest, most cost-effective solution.
Why other answers are incorrect:
Question 21: Azure Load Balancer
Correct Answer: B) Internal Azure Load Balancer (Standard SKU)
Why this is correct:
An internal load balancer distributes traffic within a VNet (not from the internet), which fits internal-only traffic. Health probes (TCP, HTTP, HTTPS) monitor server health so traffic goes only to healthy instances. Standard is the SKU to use: Basic Load Balancer was retired on September 30, 2025 and is unsupported, while Standard supports VMs in an availability set and offers a 99.99% SLA.
Why other answers are incorrect:
Question 22: VPN Gateway Configuration
Correct Answer: C) VpnGw2AZ (Generation2)
Why this is correct:
Per Microsoft Learn, a Generation2 VpnGw2AZ gateway has an aggregate throughput benchmark of 1.25 Gbps, supports up to 30 site-to-site/VNet-to-VNet tunnels and BGP, and is zone-redundant. The generation matters: a Generation1 VpnGw2 is rated at 1 Gbps. Learn also notes that non-AZ VpnGw1-5 SKUs are slated for migration and shouldn't be used to create new gateways, and that benchmarks aren't guaranteed because of internet conditions and application behavior.
Why other answers are incorrect:
Question 23: Azure DNS
Correct Answer: A) Create an Azure DNS zone for contoso.com and update the domain's nameservers at the registrar
Why this is correct:
Azure DNS provides reliable, secure DNS hosting with global reach. Create a DNS zone for contoso.com in Azure, then update the nameserver (NS) records at your domain registrar to point to Azure's DNS nameservers. This delegates DNS management to Azure while keeping the domain registration with the original registrar. Azure DNS will then resolve queries globally.
Why other answers are incorrect:
Question 24: Service Endpoints
Correct Answer: B) Service endpoint for Microsoft.Storage on the subnet and storage firewall rules
Why this is correct:
Service endpoints extend your VNet's private address space to Azure services over the Microsoft backbone network. Enable the Microsoft.Storage service endpoint on your subnet, then configure the storage account firewall to only allow access from that subnet. Traffic stays on Microsoft's network and the storage account is secured to your VNet only.
Why other answers are incorrect:
Question 25: Network Watcher
Correct Answer: B) IP Flow Verify
Why this is correct:
IP Flow Verify checks whether a packet is allowed or denied to or from a VM, using the traffic direction, protocol, local and remote IP address, and local and remote port. It returns "Access allowed" or "Access denied" and the name of the security rule responsible, evaluating the NSGs applied to the VM's network interface (at NIC or subnet level) and any Azure Virtual Network Manager admin rules. It only evaluates the Azure side of the path, which is what the scenario asks about.
Why other answers are incorrect:
Frequently Asked Questions
How difficult is AZ-104 compared to AZ-900?
AZ-104 is significantly more challenging. It is an Associate-level certification requiring hands-on Azure administration experience. Questions are scenario-based and test your ability to implement and manage resources.
Do I need hands-on Azure experience?
Yes. Microsoft recommends at least 6 months of hands-on Azure administration experience. The exam includes performance-based tasks requiring practical knowledge of the Azure portal, CLI, and PowerShell.
How many practice questions should I complete?
For AZ-104, practicing with 500-600 unique questions is recommended due to the exam's breadth and depth. This ensures coverage of all administrative tasks.
Can I skip AZ-900 and go straight to AZ-104?
Yes, if you have Azure experience. However, AZ-900 provides a solid foundation that is helpful for AZ-104. Many candidates take both sequentially.
Are AZ-104 practice questions the same difficulty as the real exam?
Good practice questions should be calibrated at or slightly above real exam difficulty so the actual test feels manageable. Watch for practice sets that are too easy (recall-only, no scenarios) — they build false confidence, since the real AZ-104 exam is dominated by scenario-based and configuration questions.
Related Resources
Is AZ-104 Worth It in 2026?
Salary data, job market analysis, and career impact.
AZ-900 vs AZ-104: Certification Path
When to take each Azure certification.
Full AZ-104 Practice Quiz
Access hundreds of questions in exam mode.
AZ-104 Study Guide 2026
Complete exam breakdown — all 5 domains, study plan, and exam day tips.