AZ-104 Practice Question 82: Move Resource Group ID Changes
Microsoft Azure Administrator Associate (AZ-104) · Test 9 · question 2 of 10
An administrator moves a virtual machine from resource group RG-Dev to resource group RG- Prod in the same subscription. RG-Prod is located in a different region than the virtual machine.
What is the result of the move?
Show answer and explanation
Answer:
Moving a resource between resource groups changes only where its metadata is stored. The resource keeps its region, and because the resource group is part of the resource ID, the ID changes, so scripts and references that use the old ID must be updated.
Option A confuses a resource group move with a region move, which needs a different process such as Azure Resource Mover.
Option B is wrong because a move does not restart the virtual machine or change its addresses.
Option C is wrong because role assignments inherited from RG-Dev no longer apply, and the assignments on RG-Prod start to apply.
Reference: Move Azure resources to a new resource group or subscription