Microsoft Azure Administrator AZ-104 practice questions
Original & expert-reviewed · explanation for every option · no dumps
ExamDeck's Microsoft Azure Administrator AZ-104 bank has 156 original questions. 35 of them are open without sign-up: 10 on this page and 25 across the 5 knowledge-area pages, each with the correct answer, the reasoning for every option and its source. A free account adds 6 more in study mode; the full bank is $9 (regularly $15) one-time.
Questions on this page last changed 26 Nov 2026. Exam facts checked 26 Nov 2026.
Free: 6 questions in study mode, no card. Full AZ-104 bank with mock exams and the error log: $9 (regularly $15) one-time, or every exam with All-Access for $19/mo or $119/yr.
35
Open, no sign-up
Not published
On the real exam
5
skills measured
$0
To begin
What makes these different from dumps
An explanation for every option
Not just the right answer - why each wrong option is wrong, linked to the source. Wrong answers teach the most.
Timed mocks
Sit timed 50-question, 100-minute runs (Microsoft doesn't publish the exam's question count) and get a readiness report by area - know when you're ready.
Spaced-repetition error log
Every miss comes back on a 1 → 3 → 7 → 16-day schedule, so the fixes actually stick.
Original and reviewed
Every question is written to test the concepts and reviewed before it ships - never copied or leaked “dumps”.
These 10 questions span all 5 knowledge areas of the bank: 0 easy, 8 medium, 2 hard. The answer and the reasoning are shown under every question, with the source to read - no tap, no email wall.
1/10 · Manage Azure identities and governance · medium
You plan to assign a policy that limits storage account SKUs and uses a deny effect to a production subscription. For two weeks, you need compliance results that show which resources break the rule, while deployments that break it must still succeed. What should you do?
A.list the resource groups under the excluded scopes of the assignment
B.create the assignment with its enforcement mode set to DoNotEnforce
C.create the assignment without a managed identity on the Remediation tab
D.assign a copy of the definition that has its effect changed to disabled
Answer: B. The enforcement mode of a policy assignment controls whether the effect is applied. With DoNotEnforce, the effect is not enforced during resource creation or update and no Activity log entry is triggered, while compliance can still be reviewed. This suits testing the impact of a new assignment. Excluded scopes and the disabled effect remove the evaluation itself.
A. Resources in excluded scopes are not evaluated and do not count toward compliance, so the review would return no results for them.
B. This mode evaluates the assignment and reports compliance, but the deny effect is not applied when resources are created or updated.
C. A managed identity serves deployIfNotExists and modify remediation. Leaving it out does not stop a deny effect from rejecting requests.
D. The disabled effect is checked first and determines that the rule is not evaluated, so deployments succeed but the needed results are missing.
Source: Microsoft Azure documentation (retrieved 26 November 2026), Azure Policy assignment structure - Enforcement mode · Governance / Azure Policy assignment structure - Enforcement mode / DoNotEnforce for evaluating an assignment before enforcement
2/10 · Implement and manage storage · medium
A storage account without a hierarchical namespace has blob soft delete enabled and blob versioning disabled. A faulty script then changes several existing blobs in different ways. For which change does soft delete keep the earlier state so that it can be recovered?
A.replacing the custom metadata of a blob by using Set Blob Metadata
B.replacing the content of a block blob by using Put Block List
C.replacing a range of data in a page blob by using Put Page
D.replacing the content type of a blob by using Set Blob Properties
Answer: B. On an account with a flat namespace, blob soft delete covers data overwrites made by operations such as Put Blob, Put Block List and Copy Blob by creating a soft-deleted snapshot that can be restored during the retention period. Writes to metadata or properties create no such snapshot when versioning is off, and Put Page does not preserve the pages it replaces.
A. With versioning disabled, a metadata write produces no soft-deleted snapshot, so soft delete holds no copy of the old metadata.
B. An overwrite of blob data through Put Block List makes soft delete generate a soft-deleted snapshot of the earlier state.
C. Page data that Put Page overwrites or clears is not saved, so soft delete cannot bring it back.
D. Blob soft delete does not cover property writes; the overwritten property values cannot be recovered.
Source: Microsoft Azure documentation (retrieved 26 November 2026), Soft delete for blobs - How overwrites are handled when soft delete is enabled · Implement and manage storage / Soft delete for blobs - How overwrites are handled when soft delete is enabled / operations that create a soft-deleted snapshot
3/10 · Deploy and manage Azure compute resources · medium
A web app in a Premium plan has a staging slot. An administrator makes four changes on the staging slot only and then swaps staging with production. No app setting that overrides the default sticky slot behavior has been added. Which change will be in effect in the production slot after the swap?
A.an IP restriction rule that was added for a partner range
B.a minimum TLS version that was raised for inbound requests
C.a handler mapping that was added for a custom file extension
D.a virtual network integration that was added to a subnet
Answer: C. A swap moves some configuration with the app content and leaves other configuration on the slot. Handler mappings move, as do items such as the WebSockets setting, the platform bitness, public certificates and path mappings. IP restrictions, protocol settings such as the TLS version, and virtual network integration stay where they were configured. Some of the sticky items can be made swappable through an override app setting, but virtual network integration is not one of them, and no override is in place here.
A. IP restrictions stay with their slot by default. They become swappable only when the override app setting is added to every slot, which the scenario rules out.
B. The TLS version belongs to the protocol settings, which stay with the slot under default behavior, so production keeps its previous minimum.
C. Handler mappings are among the configuration elements that follow the content during a swap, so the new mapping arrives in production.
D. Virtual network integration is not swapped. The integration configured on staging remains on the staging slot.
Source: Microsoft Azure documentation (retrieved 26 November 2026), Set up staging environments in Azure App Service - Which settings are swapped · appservice / Set up staging environments in Azure App Service - Which settings are swapped / swapped versus slot-specific configuration
4/10 · Implement and manage virtual networking · medium
VNet1 is linked to the private DNS zone corp.contoso.com with autoregistration enabled. VMs in VNet1 must also resolve records that are maintained in a second private DNS zone named partners.contoso.com. What should you do?
A.link VNet1 to partners.contoso.com and enable autoregistration on that link
B.link VNet1 to partners.contoso.com and leave autoregistration disabled
C.peer VNet1 with a virtual network that is linked to partners.contoso.com
D.set 168.63.129.16 as a custom DNS server on VNet1 without adding a link
Answer: B. To resolve a private zone, a virtual network must be linked to it. Autoregistration is limited to one zone per virtual network, but the same network can also be linked to further zones as a resolution network. Adding a second link with autoregistration off lets VMs in VNet1 query partners.contoso.com while their records keep registering in corp.contoso.com.
A. A virtual network can have only one registration zone, and corp.contoso.com already holds that role for VNet1.
B. A link without autoregistration makes VNet1 a resolution network for the second zone, and a network can have several such zones.
C. Resolving a private zone from a virtual network depends on a link between that network and the zone. Peering does not create that link.
D. The address belongs to Azure DNS, but VNet1 still needs a virtual network link before it can resolve records in the private zone.
Source: Microsoft Azure documentation (retrieved 26 November 2026), What is a virtual network link? - Resolution virtual network · Implement and manage virtual networking / What is a virtual network link? - Resolution virtual network / Additional private zone links for one virtual network
5/10 · Monitor and maintain Azure resources · medium
Vault1 is a Recovery Services vault that was created with default settings and has been backing up several Azure VMs for two months. A new cost rule requires that future backups of these VMs use locally redundant storage (LRS). What should you do?
A.edit the backup configuration of Vault1 and switch the VM storage to LRS
B.stop the VM backups in Vault1 and protect the VMs in a new vault set to LRS
C.stop the VM backups with retain data, set Vault1 to LRS, and resume them
D.create a new vault set to LRS and move the VM recovery points into it
Answer: B. A new Recovery Services vault uses geo-redundant storage by default, and the replication type can be changed only before backups are stored. To use LRS for future backups, create another vault, set LRS first, stop the VM backups in Vault1, and assign the VMs to the new vault. Existing recovery points cannot be moved; if you retain them, they stay in Vault1.
A. After backup is configured in a vault, the option to modify its storage replication type is disabled.
B. The replication type is set on the new vault before protection starts, and a VM changes vaults by stopping backup and assigning the new vault.
C. Stopping protection does not reset the vault. Backups have already been stored in it, so the replication type stays locked.
D. Azure Backup does not support moving backed-up data from one vault to another.
Source: Microsoft Azure documentation (retrieved 26 November 2026), Create and configure a Recovery Services vault - Set storage redundancy · backup / Create and configure a Recovery Services vault - Set storage redundancy / changing replication type after backups begin
6/10 · Manage Azure identities and governance · medium
A subscription has a policy assignment with a deny effect that allows resources only in North Europe. A resource group in that subscription has a second assignment with an audit effect that allows resources only in West Europe. A developer deploys a virtual network to North Europe in that resource group. What happens to the virtual network?
A.it is rejected during deployment by the resource group assignment rule
B.it is created and reported as compliant with each of the two assignments
C.it is created and flagged as non-compliant with the subscription assignment
D.it is created and flagged as non-compliant with the resource group assignment
Answer: D. Each policy assignment that applies to a resource is evaluated on its own, whatever its scope. The subscription rule with deny is met, so the request is not blocked. The resource group rule expects West Europe, and because its effect is audit, the network is deployed and marked non-compliant for that assignment. A narrower scope does not replace the broader assignment, and an audit effect does not block.
A. Cumulative restriction does not turn an audit effect into a block. The resource group assignment only records the violation, and the deny rule is satisfied.
B. The network is outside West Europe, so it matches the audit rule on the resource group and cannot be compliant with that assignment.
C. The subscription assignment allows North Europe, so the deployment satisfies it. The violated rule is the one on the resource group.
D. The deny assignment is satisfied by North Europe, while the audit assignment records the location as a violation without blocking the request.
Source: Microsoft Azure documentation (retrieved 26 November 2026), Azure Policy definitions effect basics - Layering policy definitions · Governance / Azure Policy definitions effect basics - Layering policy definitions / independent evaluation of overlapping deny and audit assignments
7/10 · Implement and manage storage · medium
Container soft delete on a storage account has a retention period of 7 days. An administrator deletes container1 on 1 June. On 3 June, the administrator raises the retention period to 30 days, and on 5 June deletes container2. For how long after its own deletion can each container be restored?
A.container1 for 30 days and container2 for 30 days
B.container1 for 7 days and container2 for 7 days
C.container1 for 7 days and container2 for 30 days
D.container1 for 32 days and container2 for 30 days
Answer: C. The retention clock for a soft-deleted container starts when the container is deleted. Changing the retention period affects containers deleted after the update. A container that is already soft-deleted is permanently removed according to the period in effect at its deletion, so container1 has 7 days and container2 has 30 days.
A. The longer period is not applied retroactively. container1 was deleted while the 7-day setting was in effect and expires under that setting.
B. container2 was deleted after the update, so the new 30-day period applies to it. The retention period can be changed at any time.
C. A new retention value affects containers deleted after the change, while an earlier deletion keeps the period that applied when it happened.
D. The clock does not restart on the date of the setting change. It starts at deletion, and container1 keeps the original 7-day period.
Source: Microsoft Azure documentation (retrieved 26 November 2026), Soft delete for containers - How container soft delete works · Implement and manage storage / Soft delete for containers - How container soft delete works / effect of changing the retention period
8/10 · Deploy and manage Azure compute resources · medium
A development team wants each code push to a staging slot to be warmed up and then moved into production automatically by using auto swap. Which web app can be configured in this way?
A.a Windows code app that runs in a Standard plan
B.a Linux code app that runs in a Premium V3 plan
C.a custom container app that runs in a Premium plan
D.a Windows code app that runs in a Basic plan
Answer: A. Two conditions apply. The app needs a deployment slot, which is available in the Standard, Premium and Isolated tiers. The app type must also support auto swap, and web apps on Linux and Web App for Containers do not. A Windows code app in a Standard plan meets both conditions. Moving a Linux or container app to a more expensive tier does not add the feature.
A. Standard supports deployment slots, and a Windows code app is not in either of the app types for which auto swap is unsupported.
B. The tier supports slots, but auto swap is not supported for web apps on Linux, so a higher tier does not help.
C. Web App for Containers can use a Premium plan with slots, but auto swap is not supported for that app type.
D. Auto swap depends on a deployment slot, and slots require the Standard, Premium or Isolated tier. Basic does not qualify.
Source: Microsoft Azure documentation (retrieved 26 November 2026), Set up staging environments in Azure App Service - Configure auto swap · appservice / Set up staging environments in Azure App Service - Configure auto swap / platform and tier support
9/10 · Implement and manage virtual networking · hard
A virtual network is linked to the private DNS zone contoso.internal with autoregistration enabled. You then deploy into that network an internal load balancer and a VM named app1 that has two network interfaces. You create no records manually. Which records does Azure add to the zone for these resources?
A.an A record for each network interface of app1, and none for the load balancer
B.an A record for the primary interface of app1 and one for the load balancer frontend
C.an A record and a PTR record for the primary interface of app1, and no others
D.an A record for the primary interface of app1, and no others for these resources
Answer: D. Autoregistration in a private DNS zone has a narrow scope. It creates address records for virtual machines and covers the primary network interface. Other interfaces and resources such as internal load balancers need manual records, and PTR records are not created by this feature.
A. Automatic records cover the primary network interface. Records for additional interfaces have to be created manually.
B. Autoregistration applies to virtual machines. A record for an internal load balancer must be added manually.
C. Autoregistration does not support reverse DNS pointer records, so it adds no PTR record to the zone.
D. Only virtual machines are registered automatically, through an A record for the primary network interface.
Source: Microsoft Azure documentation (retrieved 26 November 2026), What is the autoregistration feature in Azure DNS private zones? - Restrictions · Implement and manage virtual networking / What is the autoregistration feature in Azure DNS private zones? - Restrictions / Resources and interfaces that are registered
10/10 · Monitor and maintain Azure resources · hard
Subscriptions Sub1 and Sub2 belong to the same Microsoft Entra tenant. A Recovery Services vault is in Sub1, resource group RG1, East US. You have these Azure VMs: VM1 (Sub1, RG1, East US), VM2 (Sub1, RG2, East US), VM3 (Sub2, RG3, East US), and VM4 (Sub1, RG1, West US). No other restrictions apply to the VMs. Which VMs can you protect with this vault?
A.VM1, VM2, and VM4, but not VM3
B.VM1 and VM2, but not VM3 or VM4
C.VM1, VM2, and VM3, but not VM4
D.VM1 and VM4, but not VM2 or VM3
Answer: C. Region is a firm limit: a vault can protect only VMs located in its own region, so VM4 in West US needs a vault there. VM3 still qualifies although it sits in Sub2, because Azure VM backup can cross subscription lines if the vault and the VM share one tenant (the support matrix for Azure VM backup lists the scenarios and limits). VM2 can be selected too, since its separate resource group does not affect eligibility.
A. This treats the subscription as the boundary. VM4 is outside the vault region, while VM3 qualifies because it is in the same tenant and region.
B. Excluding VM3 is wrong because a separate subscription does not block Azure VM backup when the tenant is shared and the region matches.
C. All three are in the vault region. A different resource group or a different subscription in the same tenant does not block protection.
D. This treats the resource group as the boundary. The region matters, so VM4 does not qualify, while VM2 does.
Source: Microsoft Azure documentation (retrieved 26 November 2026), Back up Azure VMs in a Recovery Services vault - Apply a backup policy · backup / Back up Azure VMs in a Recovery Services vault - Apply a backup policy / vault region and subscription scope
How this bank fits the current exam. This bank has single-choice questions only, written from Microsoft's public documentation repositories on GitHub, published under CC BY 4.0: the Azure, Azure compute, Azure Monitor and Microsoft Entra documentation, plus the text units of Microsoft Learn training modules (never their knowledge checks or assessments). Every explanation names the document its answer comes from. The study guide only sets the scope. It is spread close to the exam: of its 156 questions, 32 cover identities and governance, 29 storage, 40 compute, 30 virtual networking and 25 monitoring and backup. Azure Container Registry questions rest on the training modules only, because its documentation sits in a private repository. The bank has no questions from Microsoft's official Practice Assessment and no lab tasks: it cannot replace practising in a real Azure subscription.
The exam format →Source: Microsoft AZ-104 study guide
Covering all skills measured
The bank spans the whole AZ-104 blueprint, weighted toward what the exam tests most:
Do I need AZ-900 before Microsoft Azure Administrator AZ-104?
No - Microsoft's certification page lists no prerequisite exam or certification for Microsoft Azure Administrator AZ-104. AZ-900 covers cloud and Azure basics and is optional.
Does Microsoft Azure Administrator AZ-104 include hands-on labs?
Microsoft doesn't publish which exams contain labs or the mix of question types. The AZ-104 page says you may have interactive components to complete, and Microsoft's exam sandbox demonstrates the item types it uses, labs included. The skills measured assume real admin experience, so practise in a real Azure subscription.
Can I use Microsoft Learn during Microsoft Azure Administrator AZ-104?
Yes - associate and expert exams give access to learn.microsoft.com, except Q&A, Practice Assessments and your profile. No time is added and the clock keeps running, so it helps to check a detail, not to learn a topic.
What changed in the April 2026 Microsoft Azure Administrator AZ-104 skills outline?
Microsoft's change log shows no change to the five skill groups or their weights, and minor wording changes in the audience profile and in Azure Files and Blob Storage, virtual machines, containers, virtual networks and monitoring.
How many questions is the Microsoft Azure Administrator AZ-104 exam and how long is it?
Microsoft doesn't publish a question count for AZ-104; it says most of its exams contain 40-60 questions.
What is the passing score for Microsoft Azure Administrator AZ-104?
The passing score is 700 on a 1-1,000 scale. Aim for a consistent 80-85% on realistic practice exams before booking.
What is the Microsoft Azure Administrator AZ-104 pass rate?
Microsoft does not publish official pass rates, so any exact percentage quoted online is unverified. Our rule of thumb, not an official figure: hold 80-85% on realistic, full-length practice exams before you book.
What are the Microsoft Azure Administrator AZ-104 eligibility requirements?
No prerequisite exam or certification: Microsoft's certification page names only Exam AZ-104. Microsoft expects hands-on Azure administration experience (the current study guide gives no minimum number of months), plus familiarity with PowerShell, Azure CLI, the Azure portal, ARM/Bicep and Microsoft Entra ID.
How much does Microsoft Azure Administrator AZ-104 cost?
US$165 in the United States. Microsoft prices the exam by the country where it is proctored - for example EUR 126 in Germany, GBP 106 in the United Kingdom and INR 4,865 in India (Microsoft's price list, checked 26 Nov 2026). Retakes are paid: a 24-hour wait after the first fail, then 14 days between attempts, with at most 5 attempts in 12 months from the first.
Does the Microsoft Azure Administrator AZ-104 certification need recertification?
Expires after 12 months; renew free online on Microsoft Learn (a short, open-book assessment in the 6 months before expiry).
Are ExamDeck's Microsoft Azure Administrator AZ-104 questions exam dumps?
No - every question is original, written to test the concepts and reviewed before it ships, with an explanation linked to the source for every option. Dumps are stale, often wrong, and against Microsoft's policies.
ExamDeck is an independent study tool, not affiliated with, endorsed by, or sponsored by Microsoft. AZ-104 and related marks are trademarks of their respective owners, used for identification only. Exam facts checked against official Microsoft materials (as of November 2026); always confirm current details with the vendor before booking.