Microsoft Azure Administrator Associate AZ-104 Practice Question
You have an Azure Resource Manager (ARM) template that deploys a storage account and a virtual network. You need to update the template to include a virtual machine that is connected to the virtual network defined in the same template. What is the most appropriate way to modify the template to accomplish this?
Add new parameters for the virtual machine configuration to the 'parameters' section of the template.
Add new resources for the virtual machine and its network interface to the 'resources' section of the template.
Modify the 'outputs' section to include details of the virtual machine.
Add new variables for the virtual machine properties to the 'variables' section of the template.