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?

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?

A.
parameters

B.
resources

C.
$schema

D.
variables

Explanation:
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.
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/template-description



Leave a Reply 11

Your email address will not be published. Required fields are marked *


MP

Mo

Mo

agreed..

$schema = Location of the JSON schema file that describes the version of the template language. Use the URL shown in the preceding example

parameters = Values that are provided when deployment is executed to customize resource deployment

geo

geo

B resources definitely

brain

brain

@Reman. Stop doing publicity please, if you can share with us your knowledgre or dump that OK and we are so thankfull either you can stop please 🙂

panic

panic

Reman offers all questions already on equizzing, for a fee

vijayaguru

vijayaguru

Hi Panic,

Can you get me a latest dump as i want to take the exam this week friday. please help me to send it to [email protected]

Ivan

Ivan

Hi Panic,

Can you get me a latest dump as i want to take the exam this week friday. please help me to send it to [email protected]

ALI SOHAIL

ALI SOHAIL

Correct answer is Schema.