Microsoft
AZ-104 · Question #650
Hotspot Question You have an Azure subscription. You need to deploy a virtual machine by using an Azure Resource Manager (ARM) template. How should you complete the template? To answer, select the app
Sign in or unlock AZ-104 to reveal the answer and full explanation for question #650. The question stem and answer options stay visible for context.
Submitted by weili_xi· Mar 4, 2026Deploy and manage Azure compute resources - specifically authoring and understanding Azure Resource Manager (ARM) templates for VM provisioning, including resource dependencies and image reference configuration.
Question
Hotspot Question You have an Azure subscription. You need to deploy a virtual machine by using an Azure Resource Manager (ARM) template. How should you complete the template? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer:
Answer Area
- The 'dependsOn' array in the ARM template should include 'resourceId'.
- The 'imageReference' object in the ARM template should use 'publisher' for 'WindowsServer'.
Unlock AZ-104 to see the answer
You've previewed enough free AZ-104 questions. Unlock AZ-104 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#ARM Templates#Virtual Machine Deployment#Azure IaaS#Infrastructure as Code