Microsoft Azure Administrator Associate AZ-104 Practice Question
You need to move an existing Azure virtual machine to a different resource group within the same subscription. Which method should you use to accomplish this?
Delete the virtual machine and recreate it in the new resource group
Use the Azure Portal to move the virtual machine to the new resource group
Stop the virtual machine and change its resource group using Azure CLI
Export the virtual machine as a template and deploy it in the new resource group
You can use the Azure Portal to move a virtual machine and its associated resources to a different resource group within the same subscription. This preserves the VM's configuration and data without downtime. Deleting and recreating the VM would lead to unnecessary downtime and potential data loss. Exporting the VM as a template and redeploying it is more complex and not needed for simply moving a VM to a new resource group. Stopping the VM and changing its resource group using Azure CLI is not sufficient; you must perform a move operation.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
How do I access the Azure Portal to move a virtual machine?
Open an interactive chat with Bash
What are associated resources in the context of moving a virtual machine?
Open an interactive chat with Bash
What would happen if I try to delete and recreate a virtual machine instead of moving it?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Deploy and manage Azure compute resources
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access