You will deploy several resources with a single ARM template. Which resource should be included in the dependsOn list for VM1?
Choose an answer
Tap an option to check your answer.
Correct answer: NIC1.
Why this is the answer
VM1 (Virtual Machine) depends on NIC1 (Network Interface Card) because a VM requires a NIC to connect to a virtual network. Without a NIC, the VM cannot be provisioned with network connectivity. Therefore, NIC1 must be successfully deployed before VM1 can be created. VNET1 (Virtual Network) is a prerequisite for NIC1, not directly for VM1 in terms of deployment order within an ARM template's dependsOn property for the VM itself. NIC1 will depend on VNET1. IP1 (Public IP Address) and NSG1 (Network Security Group) are often associated with NIC1 or VNET1, but VM1's direct dependency for network connectivity is the NIC.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed