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 variables for the virtual machine properties to the 'variables' 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 parameters for the virtual machine configuration to the 'parameters' 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 is an Azure Resource Manager (ARM) template?
Open an interactive chat with Bash
What role does the 'resources' section play in an ARM template?
Open an interactive chat with Bash
How do parameters and variables differ 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
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .