0
0
Azurecloud~10 mins

Resource naming conventions 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 with a valid name.

Azure
az group create --name [1] --location eastus
Drag options to blanks, or click blank then click option'
A123ResourceGroup
Bmy_resource_group!
CResource Group
DMyResourceGroup1
Attempts:
3 left
💡 Hint
Common Mistakes
Using spaces or special characters in the resource group name.
Starting the name with a number.
2fill in blank
medium

Complete the code to create a storage account with a valid name.

Azure
az storage account create --name [1] --resource-group MyResourceGroup1 --location eastus --sku Standard_LRS
Drag options to blanks, or click blank then click option'
Astorage_account
BStorageAccount
Cstorageaccount123
DStorage-Account
Attempts:
3 left
💡 Hint
Common Mistakes
Using uppercase letters in the storage account name.
Including underscores or hyphens.
3fill in blank
hard

Fix the error in the storage account name to meet Azure naming rules.

Azure
az storage account create --name [1] --resource-group MyResourceGroup1 --location eastus --sku Standard_LRS
Drag options to blanks, or click blank then click option'
Astorageaccount!
Bstorageaccount123
Cstorage_account
DStorageAccount
Attempts:
3 left
💡 Hint
Common Mistakes
Including special characters like exclamation marks.
Using uppercase letters.
4fill in blank
hard

Fill both blanks to create a virtual network with a valid name and address prefix.

Azure
az network vnet create --name [1] --resource-group MyResourceGroup1 --address-prefix [2] --location eastus
Drag options to blanks, or click blank then click option'
AmyVnet
B10.0.0.0/16
Cmy_vnet
D192.168.0.0/33
Attempts:
3 left
💡 Hint
Common Mistakes
Using underscores in the virtual network name.
Using an invalid CIDR address prefix.
5fill in blank
hard

Fill all three blanks to create an Azure SQL server with a valid name, admin username, and location.

Azure
az sql server create --name [1] --resource-group MyResourceGroup1 --location [2] --admin-user [3] --admin-password MyP@ssw0rd!
Drag options to blanks, or click blank then click option'
Asqlserver01
Beastus
Csqladmin
Dsql_server
Attempts:
3 left
💡 Hint
Common Mistakes
Using underscores in the server name.
Using invalid region names.
Using complex or invalid admin usernames.