Exam4Training

What should you include in the template?

HOTSPOT

You play to deploy an Azure virtual machine named VM1 by using an Azure Resource Manager template. You need to complete the template.

What should you include in the template? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Answer:

Explanation:

Within your template, the dependsOn element enables you to define one resource as a dependent on one or more resources. Its value can be a comma-separated list of resource names.

Box 1: ‘Microsoft.Network/networkInterfaces’

This resource is a virtual machine. It depends on two other resources:

Microsoft.Storage/storageAccounts

Microsoft.Network/networkInterfaces

Box 2: ‘Microsoft.Network/virtualNetworks/’

The dependsOn element enables you to define one resource as a dependent on one or more resources. The resource depends on two other resources:

Microsoft.Network/publicIPAddresses

Microsoft.Network/virtualNetworks

References:

https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-tutorial-create­templates-with-dependent-resources

Latest AZ-300 Dumps Valid Version with 283 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version