QuestionQ203

VerifiedManage Azure identities and governance

You have an Azure subscription that contains the resource groups shown in the following table.

Question Image

RG1 contains the resources shown in the following table.

Question Image

VM1 is running and connects to NIC1 and Disk1. NIC1 connects to VNet1.

RG2 contains a public IP address named IP2 that is in the East US location. IP2 is not assigned to a virtual machine.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

Yes or No
StatementsYesNo
You can move storage1 to RG2.
You can move NIC1 to RG2.
If you move IP2 to RG1, the location of IP2 will change.
Explanation

Storage accounts support moves between resource groups, so storage1 can be moved to RG2; it stays in West US. Network interfaces also support resource group moves. A NIC can be in a different resource group from the VM it's attached to and from its virtual network, and the rule that a resource and its dependent resources must share a resource group and move together applies only to moves across subscriptions. So within the same subscription, NIC1 can be moved to RG2 on its own while VM1 keeps running. Moving a resource only changes its resource group (and resource ID), never its region, so IP2 stays in East US after it moves to RG1.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!