Microsoft Azure Administrator Associate AZ-104 Practice Question
An administrator has manually configured a virtual network, storage account, and a virtual machine in the Azure portal. They want to replicate this setup in another resource group without recreating the resources manually. What is the best way to achieve this?
Use the 'Export template' feature in the Azure portal to generate a template of the existing resources and deploy it to the new resource group.
Use Azure Site Recovery to replicate the resources to the new resource group.
Write PowerShell scripts to recreate the resources in the new resource group.
Create a snapshot of the virtual machine and use it to deploy in the new resource group.
Using the 'Export template' feature in the Azure portal allows the administrator to generate an Azure Resource Manager (ARM) template of the existing resources. This template can then be used to deploy the same set of resources in another resource group, ensuring consistency and saving time. Writing PowerShell scripts would require manual effort to script all configurations. Creating a snapshot of the virtual machine only captures the VM state, not the associated network or storage configurations. Azure Site Recovery is designed for disaster recovery scenarios, not for cloning resource setups within Azure.
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.
What is an Azure Resource Manager (ARM) template?
Open an interactive chat with Bash
How does the 'Export template' feature work in the Azure portal?
Open an interactive chat with Bash
What are the advantages of using ARM templates over manual resource creation?
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