nerdexam
MicrosoftMicrosoft

AZ-104 · Question #478

AZ-104 Question #478: Real Exam Question with Answer & Explanation

The correct answer is B: Add-AzVhd. The Add-AzVhd cmdlet uploads on-premises virtual hard disks, in .vhd file format, to a blob storage account as fixed virtual hard disks. https://docs.microsoft.com/en-us/azure/virtual-machines/windows/upload-generalized-managed

Submitted by yuki_2020· Mar 4, 2026Deploy and manage Azure compute resources

Question

Your company has an Azure Active Directory (Azure AD) tenant that is configured for hybrid coexistence with the on-premises Active Directory domain. You plan to deploy several new virtual machines (VMs) in Azure. The VMs will have the same operating system and custom software requirements. You configure a reference VM in the on-premise virtual environment. You then generalize the VM to create an image. You need to upload the image to Azure to ensure that it is available for selection when you create the new Azure VMs. Which PowerShell cmdlets should you use?

Options

  • AAdd-AzVM
  • BAdd-AzVhd
  • CAdd-AzImage
  • DAdd-AzImageDataDisk

Explanation

The Add-AzVhd cmdlet uploads on-premises virtual hard disks, in .vhd file format, to a blob storage account as fixed virtual hard disks. https://docs.microsoft.com/en-us/azure/virtual-machines/windows/upload-generalized-managed

Community Discussion

No community discussion yet for this question.

Full AZ-104 PracticeBrowse All AZ-104 Questions