Microsoft Azure Architect Technologies (2020, legacy) — Question 54
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?
Answer options
- A. Create a new virtual machine in Subscription2
- B. In Subscription2, create a copy of the virtual disk
- C. Create a snapshot of the virtual disk
- D. From Azure PowerShell, run the Move-AzureRmResource cmdlet
Correct answer: D
Explanation
The correct answer is D because using the Move-AzureRmResource cmdlet allows for a direct and efficient transfer of resources between subscriptions with minimal effort. Options A and B require additional steps that do not directly facilitate the move, while C only creates a snapshot and does not complete the transfer process.