nerdexam
MicrosoftMicrosoft

AZ-104 · Question #685

AZ-104 Question #685: Real Exam Question with Answer & Explanation

The correct deployment order follows strict dependency chains: a Virtual Network must exist first as the foundational networking layer, then a Network Interface (NIC) can be created because it requires a subnet within the Virtual Network, then the Virtual Machine can be deployed

Submitted by yaw92· Mar 4, 2026Deploy and manage Azure compute resources / Implement and manage infrastructure as code using ARM templates (AZ-104: Manage Azure identities and governance / Deploy and manage Azure compute resources)

Question

Drag and Drop Question You have an Azure subscription that contains a resource group named RG1. You plan to create an Azure Resource Manager (ARM) template to deploy a new virtual machine named VM1. VM1 must support the capture of performance data. You need to specify resource dependencies for the ARM template. In which order should you deploy the resources? To answer, move all resources from the list of resources to the answer area and arrange them in the correct order. Answer:

Explanation

The correct deployment order follows strict dependency chains: a Virtual Network must exist first as the foundational networking layer, then a Network Interface (NIC) can be created because it requires a subnet within the Virtual Network, then the Virtual Machine can be deployed because it requires the NIC to attach to, and finally the Azure Monitor Extension is installed on top of the running VM to enable performance data capture. Each resource depends on the existence of the previous one, making this a linear dependency chain where no step can be skipped or reordered.

Topics

#ARM Templates#Resource Dependencies#Azure Virtual Machines#Azure Monitor

Community Discussion

No community discussion yet for this question.

Full AZ-104 PracticeBrowse All AZ-104 Questions