Deploy and Manage Azure Compute Resources Flashcards
Name the 7 basic elements of an ARM template
$schema
contentVersion
parameters
variables
functions
resources
outputs
What basic element of an ARM template provides source control to track changes made in the template ?
$schema contentVersion parameters variables functions resources outputs
contentVersion
If you are using expressions a lot, which element of the ARM template allows you to define expressions and reuse them across the template ?
$schema contentVersion parameters variables functions resources outputs
functions
Which element of the ARM template allows you to return values after a deployment ?
$schema contentVersion parameters variables functions resources outputs
outputs
This ARM template element creates an array of multiple objects, each defining the service it’s going to be deploying
$schema contentVersion parameters variables functions resources outputs
resource
Using ……………………. , users can define the various values that are passed at run time without changing the exact template file.
$schema contentVersion parameters variables functions resources outputs
parameters
The ………………………. are key elements when dealing with nested templates to pass the values from parent template to the child templates.
$schema contentVersion parameters variables functions resources outputs
parameters
…………….. define values which are used in your template to simplify template language.
Mostly, ……………….. are hard-coded values, but they also can be created dynamically using parameters or standard template functions.
$schema contentVersion parameters variables functions resources outputs
variables
In an ARM template, what does the dependsON declaration do ?
It determines which resource must be deployed first before a specific resource
What are the three building blocks for parametrizing your ARM templates ?
$schema contentVersion parameters variables functions resources outputs
parameters
variables
functions
To obtain user input for your ARM template, you need to use…
$schema contentVersion parameters variables functions resources outputs
paremeters
This section is used to keep a track of resources that are being deployed or updated.
$schema contentVersion parameters variables functions resources outputs
outputs
In an ARM template, how can you make your variables dynamic ?
use parameters and functions within declaration of variables
True or false : A VM must have a depandancy with the virtual network
False : A VM has a dependancy with a network interface. It doesn’t have to have a dependancy with a VNET, because the network interface already does
True or false : A VM has a dependancy with a network interface.
True
This element is where you set the size of the virtual machine.
In the resources section of the ARM template, which critical element is this ?
hardwareProfile
osProfile
storageProfile
networkProfile
hardwareProfile
This element at a basic level is where you set the computerName and adminUsername properties. (The adminPassword property is required if you do not specify an SSH key. )
In the resources section of the ARM template, which critical element is this ?
hardwareProfile
osProfile
storageProfile
networkProfile
osProfile
What are the three sub elements of the osProfile element of an ARM template, used for deploying VMs ?
windowsConfiguration
linuxConfiguration
secrets
This element is where OS image is specified, and the OS and data disk configuration are set.
In the resources section of the ARM template, which critical element is this ?
hardwareProfile
osProfile
storageProfile
networkProfile
storageProfile
This element is where the network interfaces for the virtual machine are specified.
In the resources section of the ARM template, which critical element is this ?
hardwareProfile
osProfile
storageProfile
networkProfile
networkProfile
ARM supports 2 deployment modes : …………………………. and …………………………
complete
incremental
In …………………………… mode, Azure Resource Manager deletes resources that exist in the resource group that are not in the template.
This is helpful if you need to remove a resource from Azure and you want to make sure your template matches the deployment.
complete
In …………………………….. mode, Azure Resource Manager leaves unchanged resources that exist in the resource group but aren’t in the template. It will update the resources in the resource group if the settings in the template differ from what is deployed.
incremental
When you are deploying ARM templates through either the Azure Portal, CLI tools, or through visual studio, what is the default mode of deployment
incremental mode