Microsoft Azure Administrator · AZ-104
AZ-104 Practice Exam: 730 Questions with Explanations
Preparing for the Microsoft Azure Administrator (AZ-104) certification? CertCrack gives you 730 original practice questions mapped to the official AZ-104 skills outline — identities and governance, storage, compute, virtual networking, and monitoring. Every question includes a detailed explanation so you learn the why, not just the answer.
What's inside
- 730 original questions — written fresh for AZ-104, never copied from real exams
- Detailed explanations on every question, including why wrong answers are wrong
- Full PDF included — download the complete question bank for offline study
- 3 months (90 days) of access to the interactive online question bank
- Free 30-question sample quiz and free sample PDF — no account needed to try
Try 30 sample questions
These are real samples from the AZ-104 bank — the full version has 730 like these.
1. Your company hires 200 interns. You need to create a Microsoft Entra user account for each intern as quickly as possible. What should you use?
- Create each user manually in the Microsoft Entra admin center
- A dynamic group with a membership rule
- A bulk create operation with a CSV file in the Microsoft Entra admin center
- Assign Microsoft 365 licenses to a security group
2. You need to assign a license to User1 using Microsoft Graph PowerShell. Which cmdlet should you use?
- Set-MgUserLicense
- New-MgUser
- Set-MgUser with a license switch
- New-MgGroup for license assignment
3. User1 has the Reader role on a storage account and tries to regenerate the access keys. What happens?
- The keys regenerate because Reader includes key operations
- User1 is prompted for MFA and then the operation succeeds
- The operation is denied; Reader grants read-only management-plane access
- The keys regenerate but the old keys keep working indefinitely
4. Contoso's cloud team wants to prevent any virtual machine larger than Standard_D4s_v3 from being deployed in the Production resource group, but in the Development resource group they only want to flag oversized VMs without blocking them. What should you do?
- Assign a policy with the Deny effect at the Production scope and a policy with the Audit effect at the Development scope
- Assign a policy with the Deny effect at the subscription scope
- Apply a ReadOnly resource lock on the Production resource group
- Create a custom RBAC role that denies virtual machine SKUs larger than Standard_D4s_v3
5. During a change freeze, you must prevent deletion of every resource in the Production resource group while still allowing configuration changes. What is the most efficient approach?
- Apply a ReadOnly lock on the resource group
- Apply a CanNotDelete lock on each resource individually
- Apply a single CanNotDelete lock on the resource group
- Assign an Azure Policy with the Deny effect on delete operations
6. A test subscription is no longer needed and you want to stop all charges immediately. What should you do?
- Stop all virtual machines
- Delete all resources, then cancel the subscription
- Delete the resource groups but keep the subscription
- Remove all users from the subscription
7. A storage account hosts blob data for an internal application. The application runs on virtual machines in VNet1. Developers also need access from the corporate office public IP address 203.0.113.10. All other public access must be blocked. What should you configure on the storage account?
- Set the default network action to Allow and add a virtual network rule for VNet1
- Set the default network action to Deny, then add a virtual network rule for VNet1 and an IP rule for 203.0.113.10
- Create a private endpoint in VNet1 and disable public network access
- Set the default network action to Deny and add only an IP rule for 203.0.113.10
8. An application must remain available if an entire datacenter in the primary region fails, but it does not need a secondary region. Which redundancy option meets this requirement?
- LRS
- GRS
- RA-GRS
- ZRS
9. A user accidentally deletes an important spreadsheet from an Azure file share. A share snapshot was taken yesterday. What is the fastest way to recover the file?
- Undelete the blob
- Create a lifecycle management rule
- Restore the file from the share snapshot
- Fail over the storage account
10. A storage account uses a customer-managed key, but the Key Vault has its firewall enabled and encryption operations are failing. What should you configure?
- Disable the Key Vault firewall
- Allow trusted services to bypass the Key Vault firewall so the storage resource provider can reach the key
- Make the Key Vault publicly accessible
- Issue a SAS token for the Key Vault
11. A video-processing application needs the lowest possible latency reading and writing block blobs. Which storage option should you choose?
- Standard general-purpose v2
- Cool access tier
- Archive access tier
- Premium block blobs (BlockBlobStorage)
12. A lifecycle management policy must move blobs older than 365 days from the Hot tier directly to the Archive tier. Is this supported?
- It is not allowed — blobs must go through Cool first
- A lifecycle rule can tier blobs directly from Hot to Archive
- Only manual tiering supports Hot to Archive
- Only Cool blobs can be archived
13. You deploy an ARM template in Complete mode to a resource group that also contains a manually created storage account which is NOT defined in the template. What happens to the storage account?
- The storage account is left untouched and the deployment succeeds
- The storage account is deleted because it is not defined in the template
- The deployment fails validation before any changes are made
- The storage account is automatically moved to a different resource group
14. You need to create an Ubuntu 22.04 VM named vm1 in resource group RG1 with a new SSH key pair generated during creation. Which command is correct?
- az vm create --resource-group RG1 --name vm1 --image Ubuntu2204 --admin-username azureuser --generate-ssh-keys
- az vm create --resource-group RG1 --name vm1 --image Ubuntu2204 --admin-username azureuser --ssh-key ~/.ssh/id_rsa.pub
- az vm create --resource-group RG1 --name vm1 --image Ubuntu2204 --admin-username azureuser --admin-password P@ssw0rd
- az vm deploy --resource-group RG1 --name vm1 --image Ubuntu2204 --generate-ssh-keys
15. You place four VMs in an availability set configured with 3 fault domains and 5 update domains. During planned Azure platform maintenance, what happens?
- All four VMs reboot at the same time
- One entire fault domain reboots at once
- VMs reboot one update domain at a time, so VMs in the other update domains keep running
- Planned maintenance never reboots VMs in an availability set
16. Your company runs an e-commerce platform deployed as containers in West Europe and Southeast Asia. Developers complain that image pulls are slow in Southeast Asia because every pull crosses continents. You need a single registry that keeps images close to both deployment regions. Which Azure Container Registry SKU should you choose?
- Premium
- Standard
- Basic
- Create two Basic registries, one per region
17. A marketing site experiences 3x traffic spikes during campaigns. The team wants the platform to add instances automatically when CPU exceeds 70 percent and remove them when traffic subsides. Which scaling approach should they use?
- Scale out with autoscale rules
- Scale up to a larger instance size
- Move the app to the Free tier
- Add a deployment slot
18. You need a free TLS certificate for www.contoso.com on a Standard plan web app. Which option should you choose?
- App Service Managed Certificate
- App Service Certificate (paid)
- A self-signed certificate upload
- A manually renewed Let's Encrypt certificate
19. You are designing a virtual network that must host 400 virtual machines across several subnets. Azure reserves 5 IP addresses in every subnet. What is the smallest virtual network address space that can accommodate 400 hosts?
- 10.0.0.0/24
- 10.0.0.0/25
- 10.0.0.0/23
- 10.0.0.0/22
20. Two virtual networks are peered. A VM in VNet-A cannot ping a VM in VNet-B, but peering status is 'Connected' on both sides. The NSGs use only default rules. What should you check first?
- Whether the virtual networks have overlapping address spaces
- Whether a custom NSG rule or route table is blocking the traffic
- Whether gateway transit is enabled on the peering
- Whether both VMs are in the same availability zone
21. A VM cannot connect to an Azure SQL logical server on port 1433. You suspect a network security group is blocking the traffic. Which Network Watcher tool directly tests whether a packet with a specific source, destination, protocol, and ports would be allowed or denied, and identifies the deciding rule?
- Check the effective routes on the VM's network interface
- Run a packet capture on the virtual machine
- Use IP flow verify in Network Watcher with the 5-tuple for port 1433
- Run Connection troubleshoot from the VM blade
22. A VM has NSGs on both its subnet and its network interface. You want to see the single combined, evaluated rule set that actually applies to the VM. Where do you look?
- The subnet's NSG rules page
- IP flow verify
- The NIC's effective routes
- The NIC's effective security rules
23. Administrators need to use Bastion to RDP into servers in a peered VNet and an on-premises server by entering IP addresses directly, rather than picking Azure VMs from a list. Which Bastion capability supports this?
- The Standard SKU with its IP-based connection feature
- The Basic SKU with its default VM picker
- A VPN gateway with RDP shortpath
- A private endpoint on each VM
24. You need contoso.com itself (the zone apex, with no subdomain) to resolve to your public web app. Which record type should you use in the Azure public DNS zone?
- CNAME
- A or alias A record
- TXT
- SRV
25. An administrator needs near real-time alerting when a virtual machine's CPU exceeds 90%. Which data type should the alert rule evaluate?
- Metrics
- Activity logs
- Resource logs
- Custom logs in a Log Analytics workspace
26. What does the query Heartbeat | where TimeGenerated > ago(1h) return?
- Heartbeat records from the last hour
- Machines that stopped sending heartbeats
- A count of heartbeats per hour
- Heartbeat records older than one hour
27. How are log alert rules evaluated?
- Continuously in real time
- By the Azure Monitor Agent
- Only when someone queries the workspace manually
- On a configured schedule by running the KQL query
28. An alert rule scoped to a resource group monitors:
- Only virtual machines in the resource group
- All resources in the subscription
- The resource group itself as a resource
- All supported resources in the resource group
29. For a VM running SQL Server, which backup type ensures in-memory transactions are captured consistently?
- Crash-consistent snapshot
- File-consistent snapshot
- Application-consistent snapshot using VSS
- Network-consistent snapshot
30. An application has web, application, and database tiers that must start in a specific order during disaster recovery. How should the administrator orchestrate this in Site Recovery?
- Fail over each VM manually in order
- Create a recovery plan that groups VMs with startup sequencing
- Use a backup policy
- Use availability zones
Get full access
One payment unlocks the online question bank and the full PDF.
$10 · 3 months access
Get full access Also available on UdemyAlso on Gumroad: Get the PDF — $15, yours forever · All 4 books — $45 · Free sample — $0
Download the free sample PDF (30 questions)15-day money-back guarantee (before 25% of questions attempted). PDF downloads are non-refundable.
Exam facts: Microsoft Azure Administrator (AZ-104)
- Exam: Microsoft Azure Administrator (AZ-104)
- Cost: $165 USD — Microsoft prices vary by country or region
- Duration: 100 minutes
- Questions: Typically 40–60 — Microsoft does not publish an exact count
- Passing score: 700 (on a scale of 1–1,000)
- Validity: 1 year — renewable free on Microsoft Learn
Frequently asked questions
How long do I get access?
Three months (90 days) from purchase, covering both the interactive online bank and the full PDF download. Access can be extended.
Is there a free trial?
Yes — a free 30-question sample quiz and a free sample PDF are available with no account required, so you can judge the quality before paying.
Are these questions like the real AZ-104 exam?
All 730 questions are 100% original and mapped to the official AZ-104 skills outline, written in the same style and difficulty as the real exam. They are not copied from actual Microsoft exams.
Can I study offline?
Yes. Your purchase includes the complete question bank as a downloadable PDF for offline study.
What is the refund policy?
Full access is refundable within 15 days, or before 25% of the questions have been attempted — whichever comes first. Downloaded PDFs are non-refundable.
How much does the AZ-104 exam cost?
AZ-104 costs $165 USD. Microsoft sets the price based on the country or region where the exam is proctored, so the exact price can vary.
How many questions are on the AZ-104 exam?
Microsoft does not publish an exact count. Most Microsoft certification exams contain between 40 and 60 questions, and the number can vary between exam forms. You get 100 minutes to finish.
What is the passing score for AZ-104?
700 on Microsoft's scaled score range of 1 to 1,000. Because the score is scaled, 700 does not necessarily mean 70% of the points.
How long is the AZ-104 certification valid?
One year. Microsoft role-based certifications like Azure Administrator Associate expire after one year unless you renew them — renewal is a free online assessment on Microsoft Learn.
Where can I practice for the AZ-104 exam for free?
Right here on CertCrack. Start with the free 30-question sample quiz and the free sample PDF on this page — no account needed — and read the free AZ-104 study guidebook. When you're ready for the full bank, this page gives you every practice question with detailed explanations for $10.