0
0
Azurecloud~10 mins

Azure Reserved Instances - Interactive Code Practice

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

Complete the code to specify the purchase of a reserved instance for a virtual machine.

Azure
az vm reservation purchase --vm-name [1] --reservation-term 1-year
Drag options to blanks, or click blank then click option'
Alocation
BmyVM
CresourceGroup
DsubscriptionId
Attempts:
3 left
💡 Hint
Common Mistakes
Using resource group name instead of VM name.
Using location or subscription ID where VM name is required.
2fill in blank
medium

Complete the code to list all reserved instances in a specific subscription.

Azure
az reservations reservation list --subscription [1]
Drag options to blanks, or click blank then click option'
A12345678-1234-1234-1234-123456789abc
BmyResourceGroup
Ceastus
DmyVM
Attempts:
3 left
💡 Hint
Common Mistakes
Using resource group name instead of subscription ID.
Using location or VM name instead of subscription ID.
3fill in blank
hard

Fix the error in the command to update a reserved instance's scope to shared.

Azure
az reservations reservation update --reservation-id [1] --scope [2]
Drag options to blanks, or click blank then click option'
AresourceGroup
Bsingle
Cshared
Dsubscription
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'resourceGroup' or 'subscription' as scope values, which are invalid.
Confusing reservation ID with scope value.
4fill in blank
hard

Fill both blanks to create a reservation order with a specific SKU and quantity.

Azure
az reservations reservation-order create --sku [1] --quantity [2]
Drag options to blanks, or click blank then click option'
AStandard_D2s_v3
B5
CEastUS
DmyResourceGroup
Attempts:
3 left
💡 Hint
Common Mistakes
Using location or resource group instead of SKU or quantity.
Entering quantity as a string instead of a number.
5fill in blank
hard

Fill all three blanks to create a reservation order with a specific term, billing scope, and SKU.

Azure
az reservations reservation-order create --reservation-term [1] --billing-scope [2] --sku [3]
Drag options to blanks, or click blank then click option'
A1-year
B12345678-1234-1234-1234-123456789abc
CStandard_F4s_v2
DmyResourceGroup
Attempts:
3 left
💡 Hint
Common Mistakes
Using resource group name instead of subscription ID for billing scope.
Using invalid term values or SKU names.