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?
You selected this option
Modify the 'outputs' section to include details of the virtual machine.
You selected this option
Add new resources for the virtual machine and its network interface to the 'resources' section of the template.
You selected this option
Add new parameters for the virtual machine configuration to the 'parameters' section of the template.
You selected this option
Add new variables for the virtual machine properties to the 'variables' section of the template.
To include a virtual machine in the ARM template and connect it to the existing virtual network, adding new resources for the virtual machine and its network interface in the 'resources' section is necessary. This ensures that the virtual machine and its dependencies are properly defined and deployed within the same template. Modifying parameters or variables would not create the actual resources; they only define values used by resources. The outputs section is used to return values from the deployment and does not affect resource creation.
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 are Azure Resource Manager (ARM) templates?
Open an interactive chat with Bash
What is the purpose of the 'resources' section in an ARM template?
Open an interactive chat with Bash
What is the difference between 'parameters' and 'variables' in an ARM template?
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
Oh snap!
Loading...
Loading...
Loading...
Information Technology Package Join Premium for Full Access