0
0
Azurecloud~10 mins

Why automation matters in Azure - Test Your Understanding

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a resource group automatically in Azure.

Azure
az group create --name [1] --location eastus
Drag options to blanks, or click blank then click option'
Aeastus
BMyResourceGroup
Cvm1
Dstorageaccount
Attempts:
3 left
💡 Hint
Common Mistakes
Using location value instead of the resource group name.
Confusing resource group name with resource names.
2fill in blank
medium

Complete the code to deploy a virtual machine automatically using Azure CLI.

Azure
az vm create --resource-group MyResourceGroup --name [1] --image UbuntuLTS
Drag options to blanks, or click blank then click option'
AMyVM
Beastus
CMyResourceGroup
DUbuntuLTS
Attempts:
3 left
💡 Hint
Common Mistakes
Using location or resource group name instead of VM name.
Confusing image name with VM name.
3fill in blank
hard

Fix the error in the command to automate storage account creation.

Azure
az storage account create --name [1] --resource-group MyResourceGroup --location eastus --sku Standard_LRS
Drag options to blanks, or click blank then click option'
AMyResourceGroup
Beastus
Cmystorageaccount
DStandard_LRS
Attempts:
3 left
💡 Hint
Common Mistakes
Using uppercase letters or spaces in the storage account name.
Confusing resource group or location with storage account name.
4fill in blank
hard

Fill both blanks to automate creating a network security group and associating it with a subnet.

Azure
az network nsg create --resource-group MyResourceGroup --name [1]
az network vnet subnet update --resource-group MyResourceGroup --vnet-name MyVNet --name MySubnet --network-security-group [2]
Drag options to blanks, or click blank then click option'
AMyNSG
BMyVNet
DMySubnet
Attempts:
3 left
💡 Hint
Common Mistakes
Using different names for NSG creation and association.
Confusing subnet or virtual network names with NSG name.
5fill in blank
hard

Fill all three blanks to automate tagging resources during creation.

Azure
az resource tag --tags [1]=[2] --resource-group MyResourceGroup --resource-type Microsoft.Compute/virtualMachines --name [3]
Drag options to blanks, or click blank then click option'
Aenvironment
Bproduction
CMyVM
Dlocation
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up tag keys and values.
Using incorrect resource names.