Implement IaaS solutions, ARM templates Flashcards

1
Q

What does ARM Templates stand for

A

Azure Resource Manager Templates. Azure Resource Manager is the interface for managing and organizing cloud resources. Think of Resource Manager as a way to deploy cloud resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the main goal of ARM Templates

A

Simplify resource deployment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ARM Format

A

JSON, like:

{
    "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion": "",
    "parameters": {  },
    "variables": {  },
    "functions": [  ],
    "resources": [  ],
    "outputs": {  }
}
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

ARM Format main parts?

A

Schema, Parameters, variables, functions, resources and outputs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are ARM Parameters used for

A

Values that are provided when deployment is executed to customize resource deployment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are ARM Variables used for

A

This is where you define values that are used throughout the template. Variables can help make your templates easier to maintain. For example, you might define a storage account name one time as a variable and use that variable throughout the template. If the storage account name changes, you need to only update the variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are ARM functions used for

A

This is where you define procedures that you don’t want to repeat throughout the template. Like variables, functions can help make your templates easier to maintain.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are ARM Resources used for

A

This section is where you define the Azure resources that make up your deployment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are ARM Outputs used for

A

This is where you define any information you’d like to receive when the template runs. For example, you might want to receive your VM’s IP address or FQDN – information you do not know until the deployment runs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How to write a Resource Manager template?

A

From Scratch or modify existing. Using Azure Portal to export templates from existing resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

. Declarative automation means that:

  • You define both what resources you need as well as the steps needed to create them.
  • You define what resources you need but not how to create them.
  • You define what resources you need, and the system ensures that those resources are always available.
A

You define what resources you need but not how to create them.
In the case of Resource Manager templates, Resource Manager takes care of these details for you.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does Resource Manager do when receiving JSON Template

A

Converting Template into REST API Operation and sending to appropriate target.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly