Azure Automation (ARM Templates): Answers for First Set of ARM Templates Questions (Basic Questions)


  • Azure Resource Manager Templates

  • What are ARM Templates?

  • An Automation platform files, where you can define the configuration to deploy the different types of resources in Azure.


  • In Which language ARM Templates will be written?

  • JSON (JSON is a data format)

  • How many types of templates we can develop according to supported format?

  • we can deploy the ARM Templates in two ways.

  • 1) For resource group deployments

  • https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#

  • 2) For Subscription deployments

  • https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#

  • What are the components of ARM Template?


  • S C P V R O

  • S refers Schema

  • C refers ContentVersion

  • P refers Parameters

  • V refers Variables

  • R refers Resources

  • O refers Output



  • In the ARM Template elements, which are mandatory and which are not mandatory and explain the same?


  • In S C P V R O 

  • Schema, ContentVersion, Resources are mandatory

  • Parameters, Variables, Output are not mandatory


  • How many types of templates we can develop according to requirement?


  • According to requirement

  • 1) Single Instance ARM Templates

  • 2) Multi or Nested Instance ARM Templates



  • What are the two JSON files required to work with ARM Templates?


  • Template.JSON and Paramters.JSON


  • can we deploy ARM Resources with only Template.JSON?


  • Yes, we can deploy ARM Resource with only Template. JSON


  • can we deploy ARM Resources with only Parameters.JSON?


  • No, we can't deploy ARM Resources.


  • List out the mandatory files those are required to deploy a resource using ARM Templates?


  • Template.JSON is enough if you are not dealing with any parameters separately.


  • Should we use the same name for Template and Parameters for those or we can do change according to our requirement?


  • There are no rules about the naming of the Template.JSON and Parameters.JSON files.

  • you can use as per your understanding.


  • What are the Tools those we can use to develop the ARM Templates?


  • Notepad++, Visual Studio 2015, Visual Studio 2017 and Visual Studio Code (VS Code) 

  • and any other tools which supports JSON format.



  • In Paramaeters.JSON file, what is the limit to define the no of parameters to be used?


  • No limit to define the parameters in parameters.json file


  • Can i use parameters  in Template.json which are not declared in Parameters.JSON?


  • yes, you can use


  • What is the parameter declaration and parameters definition in ARM Templates?


  • Parameter Declaration:  Declaring a parameter in parameters.json file

  • Parameter Definition:  Defining a value to the parameter defined in Parameters.JSON


  • What is the importance of "SCHEMA" element in ARM Templates?


  • SCHEMA is a mandatory component in ARM Template

  • Reason:  The developed ARM template will be complied and validated with the scope

  • with the template of Azure Resource Manager default template.


  • What is the importance of "CONTENT VERSION" element in ARM Templates?


  • CONTENTVERSION is mandatory component in ARM Template.

  • Reason: Where there is a necessity to deploy multiple versions of applications, this 

  • component will make you to identify the same.
  • It's role is like to Version Control (to define the uniqueness among the ARM templates)


  • What is the importance of "PARAMETERS" element in ARM Templates?


  • PARAMETERS is not mandatory component in ARM Templates.

  • Reason: These are the values help you to identify the environments that you wanted 

  • to deploy the resource or that you wanted to differentiate the environments if you are 

  • doing do so.


  • What is the importance of "VARIABLES" element in ARM Templates?


  • VARIABLES is not mandatory component in ARM Templates.
  • Reason: Variables are the values to be used to simplify template language expressions.


  • What is the importance of "RESOURCES" element in ARM Templates?


  • RESOURCES is mandatory component in ARM Templates.

  • Reason: These are the keys to be passed in ARM template to define the kind of 

  • resource you want to deploy or update using ARM Template.


  • What is the importance of "OUTPUT" element in ARM Templates?


  • OUTPUT is not mandatory component in ARM Templates.

  • Reason:  Values those will be returned after deployment.


  • What is the importance of "API PROFILE" element in ARM Templates?


  • API Profile is not mandatory component in ARM Templates.

  • Reason:  helps you to ensure to deploy the correct version of the API versions of resources 

  • available in Azure.


  • What is the importance of "FUNCTIONS" element in ARM Templates?


  • Function is not mandatory component in ARM Templates.

  • Reason:  according to the requirement developers can define user defined functions.






Comments

Popular posts from this blog

Basic Questions About Azure Active Directory with Answers - PART 1

Daily Agenda to Learn Azure DevOps and Practice along with your friends.

Azure Administration : Interview Questions on Virtual Machines - Part 1