Create and configure virtual machines

12 practice questions under this official exam objective (AZ-104), each with the answer key, an option-by-option explanation and instant feedback.

Questions under this objective

12 total · page 1 of 1
AZ-104 A-grade

Attach a Data Disk to Another VM with Minimum Downtime

When moving a data disk between Azure VMs, the fastest path is a hot detach: removing the disk from its current VM does not require powering off eithe

263 comments
AZ-104 A-grade

How to Associate Each VM with Its Department in RG1

When all departmental VMs already live in a single Azure resource group (RG1) and you only need a logical department association, Azure resource tags

124 comments
AZ-104 A-grade

Automate VM Configuration with SetupComplete.cmd

When provisioning new Windows virtual machines, running automation scripts requires a mechanism that executes early in the setup process. This page es

98 comments
AZ-104 A-grade

platformUpdateDomainCount Value in Availability Set ARM Template

When deploying Azure VMs into an availability set with an ARM template, the platformUpdateDomainCount property sets how many update domains the availa

85 comments
AZ-104 A-grade

Resizing a VM in an Availability Set After Allocation Failure

When a resize of a virtual machine inside an availability set returns an allocation failure, Azure cannot place the VM on the cluster hardware the set

82 comments
AZ-104 S-grade

Azure Disk Encryption KEK Cmdlet and Key Type

Azure Disk Encryption requires the Set-AzVMDiskEncryptionExtension cmdlet and an RSA key for the Key Encryption Key (KEK). This page establishes that

10 comments
AZ-104 A-grade

How to Ensure NGINX Is Available on VMSS VMs from an ARM Template?

Deploying NGINX onto every instance of a Windows Server 2022 virtual machine scale set requires a post-deployment script that runs inside each VM, not

6 comments
AZ-104 S-grade

Does Redeploy Move an Azure VM to a New Host?

Redeploying an Azure virtual machine moves it to a new node within the Azure infrastructure, which meets the goal of avoiding scheduled maintenance. T

6 comments
AZ-104 A-grade

First Step to Resize an Azure VM to an Unavailable Size

In AZ-104's VM resize scenario, the target size is missing because a running VM is pinned to the hardware cluster hosting it, and the size list only s

5 comments
AZ-104 A-grade

Which ADatum Virtual Machines Can Azure Disk Encryption Encrypt?

In the ADatum case study, Azure Disk Encryption can only be enabled on virtual machines whose OS image and disk types fall inside ADE's supported conf

5 comments
AZ-104 A-grade

How Do You Resize VM1 When the Target Azure VM Size Is Unavailable?

When VM1 in availability set AVSet1 cannot be scaled to the intended Azure VM size, the size is usually missing from the current host cluster. The pag

3 comments
AZ-104 A-grade

Does Moving VM1 to Another Subscription Move It to a New Host?

Azure VM host maintenance requires a redeploy to move the VM to a new node; moving VM1 to another subscription does not change its host. This page exp

3 comments