Home / Microsoft / AZ-104
Microsoft · AZ-104

AZ-104 Exam Practice Questions

Microsoft Azure Administrator

AZ-104 English PDF practice questions: 606 questions with answers and available explanations. Access covers this exam only. One-time payment; no automatic renewal.

Exam overview

For Azure administrators managing identities, storage, compute, virtual networks and monitoring.

Exam code
AZ-104
Official exam / credential
Microsoft Azure Administrator
Exam format
Proctored assessment; interactive items may be included
Exam duration
100 minutes
Official exam languages
English, Simplified Chinese, Korean, Japanese, French, Spanish, German, Portuguese (Brazil), Traditional Chinese, Italian

Official exam languages and practice-question file languages are listed separately. Confirm the exam version and available languages when booking with the provider.

Official sources: Provider reference
Information checked: 2026-10-20

How to prepare for AZ-104

Start with the provider’s current objectives as a checklist, then test whether you can explain each topic and apply it in a practical setting. Use the free sample questions as a diagnostic for finding the areas that need review.

  1. Attempt the question before opening its answer and explanation.
  2. For every missed question, verify the underlying concept with official documentation or hands-on practice instead of memorising an answer.
  3. Before booking, recheck the exam code, version and available test languages on the provider’s official page.

View the free sample questions · Build a PDF study plan

Supported languages

  • English
  • Simplified Chinese
Try before you buy

First 20 practice questions

This page shows free preview questions 16–20.

606 total questions

Questions follow the source order. Expand each answer to see its explanation.

Disclaimer: All questions on ExamPico are compiled from internet sources and are provided for study reference only.

Question 16

Your company has three virtual machines (VMs) that are included in an availability set.
You try to resize one of the VMs, which returns an allocation failure message.
It is imperative that the VM is resized.
Which of the following actions should you take?

  1. A. You should only stop one of the VMs.
  2. B. You should stop two of the VMs.
  3. C. You should stop all three VMs.
  4. D. You should remove the necessary VM from the availability set.
Show answer and explanation

Answer

C

Explanation

If the VM you wish to resize is part of an availability set, then you must stop all VMs in the availability set before changing the size of any VM in the availability set.
The reason all VMs in the availability set must be stopped before performing the resize operation to a size that requires different hardware is that all running VMs in the availability set must be using the same physical hardware cluster. Therefore, if a change of physical hardware cluster is required to change the VM size then all VMs must be first stopped and then restarted one-by-one to a different physical hardware clusters.
Reference:
https://azure.microsoft.com/es-es/blog/resize-virtual-machines/

Question 17

You have an Azure virtual machine (VM) that has a single data disk. You have been tasked with attaching this data disk to another Azure VM.
You need to make sure that your strategy allows for the virtual machines to be offline for the least amount of time possible.
Which of the following is the action you should take FIRST?

  1. A. Stop the VM that includes the data disk.
  2. B. Stop the VM that the data disk must be attached to.
  3. C. Detach the data disk.
  4. D. Delete the VM that includes the data disk.
Show answer and explanation

Answer

C

Explanation

Stopping is unnecessary - so why even take the VM offline in the first place. Detaching the disk from the source VM is enough.

Question 18

Your company has an Azure subscription.
You need to deploy a number of Azure virtual machines (VMs) using Azure Resource Manager (ARM) templates. You have been informed that the VMs will be included in a single availability set.
You are required to make sure that the ARM template you configure allows for as many VMs as possible to remain accessible in the event of fabric failure or maintenance.
Which of the following is the value that you should configure for the platformFaultDomainCount property?

  1. A. 10
  2. B. 30
  3. C. Min Value
  4. D. Max Value
Show answer and explanation

Answer

D

Explanation

The number of fault domains for managed availability sets varies by region - either two or three per region.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/manage-availability

Question 19

Your company has an Azure subscription.
You need to deploy a number of Azure virtual machines (VMs) using Azure Resource Manager (ARM) templates. You have been informed that the VMs will be included in a single availability set.
You are required to make sure that the ARM template you configure allows for as many VMs as possible to remain accessible in the event of fabric failure or maintenance.
Which of the following is the value that you should configure for the platformUpdateDomainCount property?

  1. A. 10
  2. B. 20
  3. C. 30
  4. D. 40
Show answer and explanation

Answer

B

Explanation

'Each virtual machine in your availability set is assigned an update domain and a fault domain by the underlying Azure platform. Each availability set can be configured with up to three fault domains and twenty update domains.' https://docs.microsoft.com/en-us/azure/virtual-machines/availability-set-overview

Question 20

DRAG DROP -
You have downloaded an Azure Resource Manager (ARM) template to deploy numerous virtual machines (VMs). The ARM template is based on a current VM, but must be adapted to reference an administrative password.
You need to make sure that the password cannot be stored in plain text.
You are preparing to create the necessary components to achieve your goal.
Which of the following should you create to achieve your goal? Answer by dragging the correct option from the list to the answer area.
Select and Place:
Question illustration

Show answer and explanation

Answer

AD

Explanation

1. An Azure Key Vault: you can store the administrative password in an Azure Key Vault, which provides secure storage and management of cryptographic keys, certificates, and secrets. Storing the password in a Key Vault ensures that it is not stored in plain text and provides an additional layer of security to protect the password.2. An access policy: You should create an access policy to control access to the Key Vault secrets. An access policy specifies who can perform operations on the secrets stored in the Key Vault. You can grant permissions to users, applications, and services to access the Key Vault and its secrets, and you can specify the level of access that they have. By creating an access policy, you can control who has access to the administrative password and ensure that it is used only by authorized entities.Therefore, to achieve your goal, you should create an Azure Key Vault to store the administrative password, and an access policy to control access to the Key Vault secrets.

Downloads and personal use

  • Purchase this exam question set separately with 1, 3, 6 or 12 months of download access.
  • After payment confirmation, My Library shows the generation status. We will email you when your PDF is ready to download.
  • Download again during your term. Purchase a new term after expiry.
  • PDFs are licensed for personal study only and must not be resold or shared publicly.
  • Files already saved to your device are not remotely deleted when access expires.
How to choose your certification