You have an Azure tenant that contains two subscriptions named Subscription1 and Subscription2.
In Subscription1, you deploy a virtual machine named Server1 that runs Windows Server 2016. Server1 uses managed disks.
You need to move Server1 to Subscription2. The solution must minimize administration effort.
What should you do first?
Click on the arrows to vote for the correct answer
A. B. C. D.B
To move existing resources to another resource group or subscription, use the Move-AzureRmResource cmdlet.
https://docs.microsoft.com/en-in/azure/azure-resource-manager/resource-group-move-resources#move-resourcesThe correct answer is D. Create a new virtual machine in Subscription2.
Explanation:
Moving a virtual machine between subscriptions is not possible. Instead, you must create a new virtual machine in Subscription2 and move the data from the old virtual machine to the new one. Here's how you can do it:
In Subscription2, create a new virtual machine with the same configuration as the existing virtual machine. You can do this using the Azure portal or Azure PowerShell. Be sure to use the same operating system and disk type (managed disks) as the existing virtual machine.
Stop the existing virtual machine in Subscription1 to ensure that no changes are made to the data during the migration process.
Copy the data from the existing virtual machine to the new virtual machine in Subscription2. There are several ways to do this:
Option A (create a copy of the virtual disk) is not a valid solution because virtual disks cannot be moved between subscriptions.
Option B (run the Move-AzureRmResource cmdlet) is not a valid solution for moving a virtual machine between subscriptions. This cmdlet is used to move resources within the same subscription.
Option C (create a snapshot of the virtual disk) is not a valid solution because snapshots cannot be moved between subscriptions.