0
0
Azurecloud~10 mins

Storage account creation 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 storage account with the correct SKU.

Azure
az storage account create --name mystorageaccount --resource-group myResourceGroup --location eastus --sku [1]
Drag options to blanks, or click blank then click option'
APremium_ZRS
BBasic_LRS
CStandard_LRS
DUltra_LRS
Attempts:
3 left
💡 Hint
Common Mistakes
Using an invalid SKU like Basic_LRS which does not exist.
Confusing Premium_ZRS which is for premium storage types.
2fill in blank
medium

Complete the code to specify the kind of storage account as BlobStorage.

Azure
az storage account create --name mystorageaccount --resource-group myResourceGroup --location eastus --sku Standard_LRS --kind [1]
Drag options to blanks, or click blank then click option'
ABlobStorage
BBlockBlobStorage
CFileStorage
DStorageV2
Attempts:
3 left
💡 Hint
Common Mistakes
Using StorageV2 which is a general-purpose kind, not specific to blobs.
Using FileStorage which is for file shares.
3fill in blank
hard

Fix the error in the command to enable HTTPS traffic only.

Azure
az storage account create --name mystorageaccount --resource-group myResourceGroup --location eastus --sku Standard_LRS --https-only [1]
Drag options to blanks, or click blank then click option'
Afalse
Byes
Cenable
Dtrue
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'enable' or 'yes' which are invalid values for this flag.
Using 'false' which disables HTTPS only.
4fill in blank
hard

Fill both blanks to create a storage account with access tier Hot and enable hierarchical namespace.

Azure
az storage account create --name mystorageaccount --resource-group myResourceGroup --location eastus --sku Standard_LRS --access-tier [1] --[2]
Drag options to blanks, or click blank then click option'
AHot
BCool
Chierarchical-namespace
Denable-hierarchical-namespace
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'Cool' instead of 'Hot' for access tier.
Using 'hierarchical-namespace' which is not a valid flag.
5fill in blank
hard

Fill all three blanks to create a storage account with name, resource group, and location variables.

Azure
az storage account create --name [1] --resource-group [2] --location [3] --sku Standard_LRS
Drag options to blanks, or click blank then click option'
AstorageName
BresourceGroupName
ClocationName
DstorageAccount
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing variable names or using undefined variables.
Using literal strings instead of variables.