BLACK FRIDAY SALE — 55% OFF sitewide with code BLACKFRIDAY · Ends Dec 15

AZ-104 Sample Questions and Passing Score Explained

AZ-104 Sample Questions and Passing Score Explained
AZ-104 is passed at 700 out of 1,000. Five original worked sample questions with full explanations, plus case-study pacing and scoring, are covered inside.

The passing score, first

The AZ-104 passing score is 700 out of 1,000. That is a scaled score, not a percentage: 700 does not mean you answered exactly 70 percent of the questions correctly. The exam currently contains roughly 46–61 questions, including case studies, with around 100–120 minutes on the clock — confirm the current numbers on the official AZ-104 exam page, as Microsoft adjusts both. The five questions below are original practice items written in the exam's style, not real exam questions. What they mirror is AZ-104's judgement style: several answers are defensible, and the credited one fits every constraint in the stem.

Identity and governance: scope is half the answer

Sample question 1: A resource group named RG-Prod contains several virtual machines. A team of junior administrators must be able to start, stop, restart, and redeploy those VMs. They must not manage other resource types, and they must not gain access to any other resource group. What should you assign?

  • A. The Contributor role at the subscription scope
  • B. The Virtual Machine Contributor role at the RG-Prod scope
  • C. The Owner role at the RG-Prod scope
  • D. The Virtual Machine Contributor role at the subscription scope

Correct answer: B. Least privilege has two dimensions: role and scope. Virtual Machine Contributor covers exactly the VM actions named and nothing else, and the RG-Prod scope confines it to that one resource group. The strongest distractor is D: it picks the right role but the wrong scope, quietly granting VM control across the entire subscription. A grants broad write access to almost everything, and C adds the ability to manage role assignments themselves, which junior VM administrators never need.

Storage: identity beats keys

Sample question 2: A web application running on an Azure virtual machine must read files from a blob container. Your security policy states the application must not use storage account access keys or shared access signatures. How should you grant the access?

  • A. Store the storage account access key in Azure Key Vault and have the application retrieve it at startup
  • B. Enable a system-assigned managed identity on the virtual machine and assign it the Storage Blob Data Reader role on the storage account
  • C. Generate a read-only shared access signature and store it in the application settings
  • D. Enable anonymous public read access on the container

Correct answer: B. A managed identity lets Azure AD authenticate the VM, and Storage Blob Data Reader grants data-plane read access to blobs without any key or token to store, leak, or rotate. The strongest distractor is A: Key Vault is a sensible home for secrets, but the application would still be authenticating with the account key — which the policy forbids, and which grants full control of the account rather than read-only blob access. C violates the policy directly, and D exposes the data to the internet.

Networking: the backbone is the shortcut

Sample question 3: Your organisation has VNet-East in the East US region and VNet-West in the West US region. VMs in both networks must communicate over private IP addresses. You want the solution with the lowest administrative overhead. What should you configure?

  • A. A site-to-site VPN between two virtual network gateways
  • B. Global VNet peering between VNet-East and VNet-West
  • C. An ExpressRoute circuit with Microsoft peering
  • D. User-defined routes forwarding traffic through a network virtual appliance in each region

Correct answer: B. Global VNet peering connects virtual networks across regions over the Microsoft backbone: no gateways to deploy, patch, or size, and traffic stays on private addresses. The strongest distractor is A — a gateway-based VPN does connect VNets, but it adds gateway cost, bandwidth ceilings, and ongoing management, which fails the stem's "lowest administrative overhead" requirement. ExpressRoute targets on-premises connectivity, and appliance routing adds hops and effort for no benefit.

Monitoring and backup: use the managed service

Sample question 4: A virtual machine hosts a line-of-business application. Policy requires a daily backup with restore points retained for 30 days, delivered through a managed Azure service with minimal operational effort. What should you implement?

  • A. An Azure Automation runbook that snapshots the managed disks daily and deletes snapshots after 30 days
  • B. A Recovery Services vault with an Azure Backup policy set to daily backups and 30-day retention, applied to the VM
  • C. Azure Site Recovery replicating the VM to a secondary region
  • D. A weekly AzCopy job that copies the VM's VHD file to a storage account

Correct answer: B. Azure Backup is built for this requirement: the policy enforces the daily schedule and 30-day retention, backups are application-consistent, and restores are managed, not a rebuild project. The strongest distractor is A — snapshots can imitate a schedule, but they are crash-consistent disk copies, their retention logic is your own script to maintain, and restores mean manually assembling disks. Site Recovery is a disaster-recovery tool, not a backup tool, and D protects data weekly at best while missing open files entirely.

Case study style: meet every constraint, then stop

Sample question 5: A case study describes a retail company's two-tier application running on Azure virtual machines. The requirements state: (1) the web tier must remain available if a single Azure facility fails; (2) monthly cost must be as low as possible while meeting requirement 1; (3) the application code cannot be changed. Which configuration meets ALL of the requirements?

  • A. Web-tier VMs in an availability set in one region, using Premium SSD disks
  • B. Web-tier VMs spread across two availability zones in one region, behind a load balancer
  • C. Web-tier VMs deployed in two Azure regions, with Traffic Manager routing between them
  • D. A single large VM with Premium storage and Azure Backup enabled

Correct answer: B. Availability zones are physically separate facilities within a region, so VMs in different zones survive one facility's loss, and a single region keeps the design — and the bill — as small as the requirement allows. The strongest distractor is C: multi-region also survives a facility failure, but it overshoots the cost constraint, and in case-study questions the most robust option is wrong when the stem asks for the cheapest option that works. An availability set protects against rack and update faults inside one datacentre, not the loss of the facility itself, and D is a single point of failure — a backup is recovery, not availability.

Case studies: you cannot go back

AZ-104 case studies appear as their own sections, typically at the start or end, and Microsoft's structure has a hard edge: once you leave a case-study section, you cannot return to it. Skim the requirements and questions first, then read the background hunting for the facts those questions need. Answer every question in the section before moving on, and give it a firm slice of your time — twenty minutes of re-reading starves the standalone questions behind it, and there is no coming back to fix a rushed answer.

Read your results by objective area

Your score report breaks performance down by the exam's objective areas — identities and governance, storage, compute, virtual networking, and monitoring and backup. Treat a practice-test report the same way. A single total hides the fixable problem: a candidate can be strong on compute and still fail on RBAC scoping. Revise the weakest area, re-test that area, and only then take another full mock. Timed, domain-scored free practice tests on Study4Pass are one practical way to rehearse that pacing before exam day. For the bigger picture, check the AZ-104 roadmap and retirement outlook and weigh up whether AZ-104 practice tests are accurate and safe and where to find the best AZ-104 practice test before relying on any of them.

AZ-104 Practice & Study Material

Study4Pass offers the Microsoft AZ-104 AI-Enabled practice test — a free practice test on the exam page, Ask AI on every question, and the full question bank with 90 days of free updates.

Related Microsoft Certifications

The Microsoft certifications below are related to the exam covered in this article — every certification page lists its exams with a free practice test on Study4Pass.

Share this guide X Facebook LinkedIn WhatsApp
Franky Rogers

Written by

Cloud Engineer · Cloud Desk

Franky Rogers leads the Study4Pass cloud desk for AWS, Microsoft Azure and Google Cloud. His guides turn reference architectures and service comparisons into plain steps candidates can follow.