What should you include in the template?

Posted by: Pdfprep Category: AZ-303 Tags: , ,

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

Leave a Reply

Your email address will not be published.