The AZ-104 exam is the single exam behind the Microsoft Certified: Azure Administrator Associate certification. It tests the day-to-day work of an Azure administrator: managing identities and governance, storage, compute resources, virtual networking, and monitoring and maintenance. This guide gives you twelve original sample questions spread across all five official domains, each with an answer and an explanation, so you can check your understanding before you book the exam.

About the AZ-104 Exam

AZ-104 is a single-exam, Associate-level certification with no prerequisite exam or certification. Microsoft recommends candidates have subject-matter expertise in implementing, managing, and monitoring an organization's Microsoft Azure environment, with familiarity with operating systems, networking, servers, and virtualization, and experience with PowerShell, Azure CLI, the Azure portal, Azure Resource Manager templates or Bicep files, and Microsoft Entra ID. The skills measured are current as of April 17, 2026.

Exam Detail AZ-104
Certification Microsoft Certified: Azure Administrator Associate
Level Associate (intermediate)
Questions Not published by Microsoft for AZ-104 specifically; Microsoft states most certification exams typically contain 40–60 questions
Exam duration 100 minutes (120 minutes if the exam contains labs)
Passing score 700 or greater on a scaled score of 1–1,000
Exam fee US$165 in the United States (Associate/Expert tier price; priced by country or region)
Testing provider Pearson VUE — test center or online proctored (OnVUE)
Prerequisites None
Certification validity 1 year; renew free with an online assessment on Microsoft Learn (window opens 6 months before expiry)

AZ-104 Exam Domains

The official study guide divides the exam into five domains:

Domain Weight
Manage Azure identities and governance 20–25%
Implement and manage storage 15–20%
Deploy and manage Azure compute resources 20–25%
Implement and manage virtual networking 15–20%
Monitor and maintain Azure resources 10–15%

For the full course overview, see the AZ-104 Microsoft Azure Administrator course page. Note that this course does not yet have an online practice question bank on this site, so the sample questions below are the practice material available in this guide.

AZ-104 Sample Questions

The following twelve sample questions were written for this guide to illustrate the five AZ-104 domains. They are original practice items, not questions from the exam.

Sample Question 1: Microsoft Entra ID — Conditional Access (Identities and Governance)

A company requires that administrators can only sign in to the Azure portal from company-managed devices. All other sign-ins by administrators should be blocked. Which Microsoft Entra ID feature should the administrator configure?

  • A. A Conditional Access policy that requires a compliant device for the administrator role group
  • B. A self-service password reset policy for all users
  • C. An Azure Policy assignment that audits virtual machine sizes
  • D. A resource lock on the resource group that contains the Azure portal resources

Answer: A. Conditional Access policies evaluate sign-in conditions such as user, device state, and location, and can require a compliant or hybrid-joined device before granting access. Self-service password reset only changes how passwords are reset, Azure Policy governs resource configuration rather than sign-ins, and resource locks prevent changes to resources rather than controlling who can sign in.

Sample Question 2: Role-Based Access Control — Scope (Identities and Governance)

A junior administrator should be able to restart virtual machines in one resource group, but must not be able to create or delete any resources, and must have no permissions in any other resource group. Which approach follows the principle of least privilege?

  • A. Assign the Owner role at the subscription scope
  • B. Assign the Contributor role at the subscription scope
  • C. Assign the Virtual Machine Contributor role at the resource group scope
  • D. Assign the Reader role at the management group scope

Answer: C. The Virtual Machine Contributor role grants the permissions needed to manage virtual machines, including restarting them, without the broader create and delete permissions of Contributor or Owner, and assigning it at the resource group scope limits it to that one group. Owner and Contributor at subscription scope would grant far more access than required, and Reader at management group scope would not allow restarting virtual machines.

Sample Question 3: Azure Policy and Resource Locks (Identities and Governance)

A production resource group must never be deleted accidentally, and no one should be able to change the resources inside it, while a development resource group should remain fully editable. What should the administrator do?

  • A. Apply a ReadOnly resource lock to the production resource group only
  • B. Apply a Delete resource lock to the subscription
  • C. Assign an Azure Policy that denies all resource creation in the production subscription
  • D. Remove all role assignments from the production resource group

Answer: A. A ReadOnly lock on the production resource group prevents both deletion and modification of the resources inside it, while leaving the development resource group unaffected. A Delete lock would still allow modifications, a subscription-level lock would affect the development group too, and removing role assignments would stop legitimate administration rather than specifically preventing accidental changes.

Sample Question 4: Blob Storage Tiers (Storage)

An application stores archived reports that are rarely accessed but must be retained for several years and retrieved within a few hours when needed. Which Azure Blob Storage access tier is the most cost-effective choice?

  • A. Hot tier
  • B. Cool tier
  • C. Archive tier
  • D. Premium tier

Answer: C. The Archive tier offers the lowest storage cost for data that is rarely accessed and can tolerate retrieval times measured in hours, which matches the archiving requirement. Hot is for frequently accessed data, Cool is for infrequently accessed data that still needs fast retrieval, and Premium is for low-latency workloads rather than long-term archiving.

Sample Question 5: Shared Access Signatures (Storage)

An external partner needs read-only access to a single blob container for the next 48 hours. The partner must not be able to list or access any other container in the storage account, and access must stop automatically after the deadline. Which approach meets these requirements?

  • A. Share the storage account access key with the partner
  • B. Create a service shared access signature (SAS) for that container with read permission and a 48-hour expiry
  • C. Make the container publicly accessible at the blob level
  • D. Assign the partner the Storage Blob Data Owner role at the storage account scope

Answer: B. A service SAS can be scoped to a single container, limited to read permission, and given an expiry time, so access ends automatically after 48 hours without exposing anything else. Sharing the account key grants full control of the whole storage account, public blob access has no expiry and no authentication, and the Data Owner role at account scope would grant broad access to every container.

Sample Question 6: Virtual Machine Availability (Compute)

A company runs a two-tier application on virtual machines in a single Azure region and needs the application to keep running if one Azure datacenter in that region becomes unavailable. Which deployment option provides this protection?

  • A. Deploy the virtual machines in an availability set
  • B. Deploy the virtual machines across availability zones in the region
  • C. Deploy the virtual machines in the same fault domain
  • D. Enable Azure Bastion on the virtual network

Answer: B. Availability zones are physically separate datacenters within a region, each with independent power, cooling, and networking, so spreading virtual machines across zones protects against the failure of a single datacenter. An availability set protects against hardware failures and maintenance within a single datacenter, placing machines in the same fault domain increases the risk of a shared failure, and Azure Bastion provides secure remote access rather than availability.

Sample Question 7: Virtual Machine Scale Sets (Compute)

A web application experiences predictable traffic spikes every morning. The administrator wants the number of virtual machines to grow automatically during the spikes and shrink afterwards, with all instances running the same configuration. Which Azure service should be used?

  • A. A single virtual machine with a larger size
  • B. A Virtual Machine Scale Set with autoscale rules based on CPU usage
  • C. Azure Container Instances with a single container group
  • D. An Azure App Service deployment slot

Answer: B. A Virtual Machine Scale Set manages a group of identical virtual machines and supports autoscale rules, such as scaling out when CPU usage rises and scaling in when it falls, which matches the predictable spike pattern. A single larger virtual machine cannot scale horizontally, a single container group does not provide the same VM-based autoscaling, and a deployment slot is for staging application versions rather than scaling virtual machines.

Sample Question 8: ARM Templates and Bicep (Compute)

A team deploys the same set of Azure resources to development, test, and production environments. Deployments must be repeatable, version-controlled, and identical except for environment-specific values such as names and sizes. Which approach best meets these requirements?

  • A. Create each resource manually in the Azure portal for every environment
  • B. Write an ARM template or Bicep file with parameters for the environment-specific values
  • C. Export the resource group to a CSV file and copy it between environments
  • D. Use Azure Policy to copy resources from one environment to another

Answer: B. ARM templates and Bicep files define infrastructure as code, so the same template can be deployed repeatedly with different parameter values for each environment, and the files can be stored in version control. Manual portal creation is slow and error-prone, a CSV export does not deploy resources, and Azure Policy enforces configuration rules rather than deploying infrastructure.

Sample Question 9: Network Security Groups (Virtual Networking)

A virtual machine in a subnet must accept inbound RDP traffic only from the company's office public IP address range, and must reject RDP traffic from every other source. Which configuration achieves this?

  • A. A network security group rule allowing inbound TCP port 3389 from the office IP range, with the default deny rule blocking all other inbound traffic
  • B. A network security group rule allowing inbound TCP port 443 from any source
  • C. A user-defined route that sends all traffic to the internet
  • D. An Azure DNS zone for the virtual machine's hostname

Answer: A. A network security group rule can allow RDP (TCP port 3389) from a specific source address prefix, and the built-in default rule denies all other inbound traffic, so only the office range can connect. Port 443 is HTTPS rather than RDP, a user-defined route controls routing rather than filtering, and a DNS zone resolves names rather than controlling network access.

Sample Question 10: VNet Peering and Private Endpoints (Virtual Networking)

Two virtual networks in the same Azure region need to communicate with each other using private IP addresses, and an Azure SQL Database used by an application in one of the networks must not be reachable over the public internet. Which combination meets both requirements?

  • A. Configure VNet peering between the two virtual networks and create a private endpoint for the SQL Database in the application virtual network
  • B. Configure VNet peering and enable a service endpoint for the SQL Database
  • C. Create a public load balancer and assign public IP addresses to the virtual machines
  • D. Configure Azure Bastion and a user-defined route to the internet

Answer: A. VNet peering connects the two virtual networks so traffic flows over the Azure backbone using private IP addresses, and a private endpoint gives the SQL Database a private IP address inside the virtual network so it is not exposed to the public internet. A service endpoint keeps traffic on the Azure backbone but the database still has a public endpoint, while a public load balancer, public IP addresses, Bastion, and an internet route do not remove the database's public exposure.

Sample Question 11: Azure Monitor Alerts (Monitoring and Maintenance)

An administrator wants to be notified by email whenever a virtual machine's average CPU usage exceeds 85 percent for 10 minutes, and wants the alert to stop firing automatically once CPU usage returns to normal. Which Azure Monitor configuration is required?

  • A. An alert rule with a metric signal on CPU percentage, a threshold of 85, and an action group that sends email
  • B. A diagnostic setting that sends platform logs to a Log Analytics workspace
  • C. A backup policy with a daily schedule
  • D. A Network Watcher Connection Monitor between two virtual machines

Answer: A. A metric alert rule evaluates the CPU percentage signal against the 85 percent threshold over the evaluation window, and its action group sends the email notification; metric alerts resolve automatically when the condition clears. A diagnostic setting only collects logs, a backup policy protects data rather than monitoring performance, and Connection Monitor checks network connectivity rather than CPU usage.

Sample Question 12: Azure Backup and Site Recovery (Monitoring and Maintenance)

A company backs up its virtual machines nightly to a Recovery Services vault. After a regional outage, the company needs its workloads running in a secondary region. Which Azure capability should the administrator use for the regional failover?

  • A. Restore the nightly backups into the secondary region and leave them stopped
  • B. Azure Site Recovery with replication to the secondary region, then fail over to it
  • C. Copy the virtual machine disks to a storage account in the primary region
  • D. Enable soft delete on the storage account that holds the backups

Answer: B. Azure Site Recovery continuously replicates virtual machines to a secondary region, so a failover can bring the workloads online there after a regional outage. Restoring nightly backups is a recovery operation but does not provide the continuous replication and orchestrated failover that Site Recovery does, copying disks within the primary region does not help if that region is down, and soft delete only protects blobs from accidental deletion.

These questions are original practice items written by Peopledumps for this guide. They are not questions from the exam.

Frequently Asked Questions About AZ-104

How many questions are on the AZ-104 exam?

Microsoft does not publish a question count for AZ-104 specifically. Microsoft states that most certification exams typically contain 40–60 questions, and that the number can vary by exam. Any site quoting a single fixed question count for AZ-104 is not quoting Microsoft.

How long is the AZ-104 exam, and what score do I need to pass?

The exam time is 100 minutes for the standard associate role-based exam, or 120 minutes if the exam contains labs; seat time is 120 or 140 minutes respectively. The passing score is 700 or greater on a scaled score of 1–1,000. Note that a scaled score of 700 is not the same as answering 70 percent of the questions correctly.

How much does the AZ-104 exam cost?

Associate and Expert exams typically cost US$165 in the United States, with prices set by the country or region where the exam is proctored, and taxes may apply in some countries and regions. The exam is scheduled through Pearson VUE, at a test center or online proctored (OnVUE).

Are there any prerequisites for AZ-104?

No. Microsoft lists no prerequisite exam or certification for AZ-104, and it is a single-exam certification. Microsoft does recommend subject-matter expertise in implementing, managing, and monitoring an Azure environment, plus familiarity with operating systems, networking, servers, and virtualization, and experience with PowerShell, Azure CLI, the Azure portal, ARM templates or Bicep, and Microsoft Entra ID.

What does the AZ-104 exam cover?

The skills measured as of April 17, 2026 are divided into five domains: Manage Azure identities and governance (20–25%), Implement and manage storage (15–20%), Deploy and manage Azure compute resources (20–25%), Implement and manage virtual networking (15–20%), and Monitor and maintain Azure resources (10–15%). The exam may contain labs; Microsoft does not publish which exams contain labs, and the exam introduction screen tells candidates whether labs are present.

How long is the AZ-104 certification valid, and how do I renew it?

The certification is valid for 1 year. Renewal is free: you pass an online assessment on Microsoft Learn, which takes about 45 minutes, is unproctored and open book, and can be retaken without limit before expiry. The renewal window opens 6 months before the certification expires, and passing extends the certification by one year from the expiration date.

Which languages is the AZ-104 exam available in?

The exam is offered in 10 languages: English, Chinese (Simplified), Chinese (Traditional), French, German, Italian, Japanese, Korean, Portuguese (Brazil), and Spanish. Microsoft updates the English version of the exam first, and localized versions are updated approximately eight weeks later.

Sources

Exam facts in this guide come from Microsoft Learn: the Azure Administrator certification page, the AZ-104 study guide (skills measured as of April 17, 2026), the Microsoft credentials FAQ, the exam duration and exam experience page, and the certification renewal FAQ. Candidates should verify current scheduling, fees, and exam details on Microsoft Learn before registering.