Which template element should you modify?

You are an administrator of the Azure subscription for your company.You are updating an Azure Resource Manager (ARM) template.You need to ensure that the JSON file uses the latest version available.Which template element should you modify?This example shows a typical resource section of a template for creating a specified number of VMs:”resources”: [{“apiVersion”:”2016-04-30-preview”,”type”: “Microsoft.Compute/virtualMachines”,”name”: “[concat(‘myVM’, copyindex())]”,Etc.When you deploy resources using a template, you have to specify a version of the API to use. The example shows the virtual machine resource using this apiVersion element:”apiVersion”: “2016-04-30-preview”, The version of the API you specify in your template affects which properties you can define in the template. In general, you should select the most recent API version when creating templates. For existing templates, you can decide whether you want to continue using an earlier API version, or update your template for the latest version to take advantage of new features.References: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/template-description

Question:

Which template element should you modify?

Options:

parameters

resources

$schema

variables

Correct Answer

The Correct Answer for this Question is

parameters

Leave a Comment