Microsoft certification practice

AZ-104 practice questions written by a practising architect

Prepare for AZ-104 with hands-on administration scenarios and realistic case studies. Understand why each configuration works or fails, with detailed explanations and links to Microsoft Learn.

Start practising in Telegram

Free to start, no card needed.

165 questions (+14 new) · 11 case studies (+1 new) · latest content update:

The exam

About the AZ-104 exam

Level
Associate
Duration
100 minutes
Passing score
700 / 1000
Question format
Multiple formats

Skills measured

DomainExam weightOur questions
Identities & governance20–25%39 (+9 new)
Storage15–20%30 (+1 new)
Compute20–25%41 (+2 new)
Virtual networking15–20%32 (+1 new)
Monitoring & maintenance10–15%23 (+1 new)
165 questions in the bank (+14 new)

Try it

Sample question

You are an Azure administrator. A virtual machine with a Standard public IP address is in a subnet that has an NSG named nsg-subnet. Its inbound rule at priority 100 allows TCP 443 from the Internet service tag. The VM’s network interface has an NSG named nsg-nic that contains only the default rules. Clients on the internet can’t connect to the VM on port 443. What is the cause?

  1. A. Inbound traffic must be allowed by both NSGs, and the default DenyAllInBound rule in nsg-nic blocks it.
  2. B. nsg-nic is evaluated before nsg-subnet for inbound traffic, so the subnet rule is never reached.
  3. C. The default AllowVnetInBound rule in nsg-nic takes precedence over the rule in nsg-subnet.
  4. D. nsg-nic has no outbound rule for port 443, so the responses to the clients are dropped.
Show answerHide answer
Correct answer: A — Inbound traffic must be allowed by both NSGs. For inbound traffic, Azure evaluates the subnet NSG and then the network interface NSG, and the traffic must be allowed by both. nsg-nic has only the default rules, so DenyAllInBound (65500) drops traffic from the internet; AllowVnetInBound doesn’t match internet sources. The subnet’s allow rule doesn’t override the NIC’s deny. NSGs are stateful, so return traffic for an allowed connection needs no outbound rule. Microsoft Learn →

Case studies

Practise on realistic company scenarios

Each case study is a fictional company with its current systems, problems and requirements. You read the scenario, then answer a series of questions about it.

Halvorsen Maritime

Halvorsen Maritime is a fictional Norwegian shipping company with offices in Bergen and Rotterdam. It runs vessel tracking, crew scheduling and port billing workloads in Azure. A central platform team of four administrators manages the tenant, the management group hierarchy and all governance settings; application teams deploy their own resources inside the subscriptions they are given. Management wants tighter control of non-production spending and better visibility of changes to production protection settings, without slowing the application teams down.

Requirements from the client

Audit
The platform team must be notified within minutes whenever anyone deletes a resource lock in sub-vessel-prod or sub-billing-prod. Avoid log ingestion costs.
Cost control
Each non-production subscription has its own monthly budget. When the forecast spend of a non-production subscription reaches 90% of its budget, Stop-DevVMs must run automatically for that subscription.
Pilot
sub-sandbox may deploy to Sweden Central for 90 days only, after which the exception must end without anyone having to remember it. Every other HM-Baseline rule must keep applying to sub-sandbox.

Practice more AZ-104 questions

Get instant explanations and links to Microsoft Learn after every question.

Start practising in Telegram

User experience

What practice looks like in Telegram

An explanation after every answer

Whether you were right, why, and a link to Microsoft Learn.

Telegram chat with the bot: question 6 of 10, about tiering and deleting stored documents, answered correctly, followed by an explanation of blob lifecycle management policies and a Microsoft Learn link.

Case studies

Read a company scenario page by page, then answer questions about it.

Telegram chat with the bot: page 3 of 5 of the Harbourline Water case study, listing the company’s problems, with buttons to page through the scenario.

Results by section

Your score against the pass mark, plus a PDF with every explanation.

Telegram chat with the bot: a completed AZ-104 test scoring 100% against a 70% pass mark, with results for three exam sections and a button to download the explanations as a PDF.

Your weak sections

Progress for each exam shows which sections to work on next.

Telegram chat with the bot: AI-901 progress showing a 70% overall success rate and a score for each exam section, each marked green, amber or red.

FAQ

Frequently asked questions

How many questions are in the AZ-104 exam?
Microsoft certification exams typically have 40–60 questions, and the number and question types can vary. AZ-104 includes scenario-based questions and may include case studies. You have 100 minutes to complete it.
Is AZ-104 hard?
AZ-104 is an associate-level exam focused on hands-on administration: identities and governance, storage, compute, networking and monitoring. How long you need to prepare depends on your experience: regular hands-on work in the Azure portal, PowerShell and Azure CLI shortens it considerably.
What are the prerequisites for AZ-104?
Microsoft expects experience implementing, managing and monitoring an Azure environment, including virtual networks, storage, compute, identity, security and governance, and with PowerShell, Azure CLI, the Azure portal, ARM templates and Microsoft Entra ID. Passing AZ-900 first is helpful but not required.
Are these real AZ-104 exam questions?
No. These are independently written practice questions, not leaked or recalled exam content. They are built around the skills measured in the official AZ-104 study guide.