0
0
Azurecloud~10 mins

Resource groups as logical containers in Azure - Interactive Code Practice

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 in Azure CLI.

Azure
az group create --name [1] --location eastus
Drag options to blanks, or click blank then click option'
AMyResourceGroup
Beastus
Ccreate
Dresource
Attempts:
3 left
💡 Hint
Common Mistakes
Using the location value instead of the resource group name.
Confusing the command parameters.
2fill in blank
medium

Complete the code to list all resource groups in Azure CLI.

Azure
az group [1]
Drag options to blanks, or click blank then click option'
Acreate
Bdelete
Clist
Dshow
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'show' which requires a specific resource group name.
Using 'create' or 'delete' which modify resources.
3fill in blank
hard

Fix the error in the command to delete a resource group.

Azure
az group delete --name [1] --yes --no-wait
Drag options to blanks, or click blank then click option'
Aeastus
BMyResourceGroup
Cdelete
Dgroup
Attempts:
3 left
💡 Hint
Common Mistakes
Using a location like 'eastus' instead of the resource group name.
Confusing command words with parameter values.
4fill in blank
hard

Fill both blanks to create a resource group with a tag.

Azure
az group create --name [1] --location [2] --tags environment=production
Drag options to blanks, or click blank then click option'
AProdGroup
Beastus
Cwestus
DTestGroup
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up the name and location parameters.
Using invalid region names.
5fill in blank
hard

Fill all three blanks to tag a resource group with environment and owner.

Azure
az group update --name [1] --set tags.environment=[2] tags.owner=[3]
Drag options to blanks, or click blank then click option'
AProdGroup
Bproduction
Calice
Deastus
Attempts:
3 left
💡 Hint
Common Mistakes
Using a location instead of a resource group name.
Confusing tag keys with tag values.