Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 22 of 221
Free Preview · 221 of 735 · questions 1–221 of 735 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Add-AzVhd -LocalFilePath "C:\Images\myvm.vhd" ` -ResourceGroupName "RG1" ` -Destination "https://storageaccount.blob.core.windows.net/vhds/myvm.vhd"
B. Add-AzVhd to upload a generalized VHD file to Azure C. Add-AzImage to register the uploaded VHD as a custom image in Azure, making it selectable for new VM creation. So B is the first step, but C is what makes it available for selection
The question asks for making it available for VM creation, which requires registering the uploaded VHD as an Azure image. So the best final answer remains Add-AzImage after the upload step. Thanks for pointing out an important part of the process!