You manage a virtual Windows Server 2012 web server that is hosted by an on-premises
Windows Hyper-V server. You plan to use the virtual machine (VM) in Azure.
You need to migrate the VM to Azure Storage to add it to your repository.
Which Azure Power Shell cmdlet should you use?
A.
Import-AzureVM
B.
New-AzureVM
C.
Add-AzureDisk
D.
Add-AzureWebRole
E.
Add-AzureVhd
Explanation:
Ref: http://msdn.microsoft.com/en-us/library/dn495173.aspx
Answer C http://foxdeploy.com/2013/12/09/uploading-a-custom-vhd-to-azure-with-powershell-and-adding-it-to-your-vms/
Wrong. The question states “You need to migrate the VM to Azure Storage to add it to your repository.” Add-AzureDisk will not do that. Add-AzureVhd will. Answer E
If you read that article it says to use Add-AzureVhd to upload the VHD and then to add it to your list of disks you can use Add-AzureDisk (“Finally, lets add this to our disk repository by using Add-AzureDisk”)
i completely agree
Not agree, you can use add-azurevhd when the vhd is already in Azure.
You need to use Add-AzureVhd to migrate the vhd, from on-premise to azure.
Not really, The Add-AzureVhd cmdlet uploads on premise Virtual hard disk (VHD) images to a blob storage
https://docs.microsoft.com/en-us/powershell/module/azure/add-azurevhd?view=azuresmps-4.0.0
Not agree, you can use Add-AzureDISK when the vhd is already in Azure.
You need to use Add-AzureVhd to migrate the vhd, from on-premise to azure.
Wrong. The questions states “You need to migrate the VM to Azure Storage to add it to your repository” which translates as upload a VHD. Answer is E. Add-AzureDisk just adds an existing VHD from a storage account into your list of disks that you can then choose when creating a new VM; it doesn’t migrate/upload the VM VHD from your on-premise site.
https://blogs.technet.microsoft.com/canitpro/2014/05/07/step-by-step-upload-your-own-vhd-to-add-to-the-gallery-in-azure/
Answer: E
Explanation: * How do I move an existing virtual machine to the cloud?
The steps are pretty basic:
✑ Create a place to store your hard disk in Windows Azure
✑ Prepare your virtual hard disk
✑ Upload your virtual hard disk
✑ Create your machine in Windows Azure
* Add-AzureVhd
Uploads a virtual hard disk (in .vhd file format) from an on-premises virtual machine to a blob in a cloud storage account in Azure.
The Add-AzureVhd cmdlet allows you to upload on-premises virtual hard disks (in .vhd file format) to a blob storage account as fixed virtual hard disks. You can configure the number of uploader threads that will be used or overwrite an existing blob in the specified
destination URI. Also supported is the ability to upload a patched version of an on-premises .vhd file: When a base virtual hard disk has already been uploaded, you can upload differencing disks that use the base image as the parent. Shared access signature (SAS URI) is supported as well.
Reference: Add-AzureVhd
URL: http://msdn.microsoft.com/en-us/library/dn495173.aspx
I agree. I Found something similiar here http://ms70533.free-exams.com..
You have an Azure subscription named Subscription1
You create several Azure virtual machines in Subscription1. All of the virtual machines belong to the same virtual network.
You have an on premise Hyper V server nmamed Server1, Server 1 hosts a virtual machine named VM1
You plan to replicate VM1 to Azure
You need create additional objects in Subscription 1 to support the planned deployment
Which objects should you create
I thinks the correct one is C, is not E because you want to migrate THE vm, you dont want to create more vms based on an image (Add-AzureVHD)