0
0
Azurecloud~10 mins

Azure free account and credits - 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 free Azure account with initial credits.

Azure
az account create --offer-type [1]
Drag options to blanks, or click blank then click option'
AFreeTrial
BPayAsYouGo
CEnterpriseAgreement
DVisualStudio
Attempts:
3 left
💡 Hint
Common Mistakes
Using PayAsYouGo instead of FreeTrial
Confusing EnterpriseAgreement with free account
Using VisualStudio offer which is not free trial
2fill in blank
medium

Complete the command to check your remaining Azure free credits.

Azure
az consumption budget show --name [1] --resource-group MyResourceGroup
Drag options to blanks, or click blank then click option'
AFreeCredits
BTrialBudget
CFreeTrialBudget
DAzureFree
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect budget names like FreeCredits
Assuming budget names are case insensitive
Not specifying the correct resource group
3fill in blank
hard

Fix the error in the command to activate Azure free credits.

Azure
az account [1] --offer-type FreeTrial
Drag options to blanks, or click blank then click option'
Aactivate
Bstart
Ccreate
Denable
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'activate' instead of 'create'
Using 'enable' which is invalid here
Trying 'start' which is not a valid command
4fill in blank
hard

Fill both blanks to set a spending limit and check remaining credits.

Azure
az consumption budget create --amount [1] --name [2] --resource-group MyResourceGroup
Drag options to blanks, or click blank then click option'
A200
BTrialBudget
C100
DFreeTrial
Attempts:
3 left
💡 Hint
Common Mistakes
Setting amount to 100 instead of 200
Using incorrect budget names
Omitting resource group parameter
5fill in blank
hard

Fill all three blanks to list all subscriptions and filter the free trial one.

Azure
az account list --query "[?[1]=='[2]'].[3]"
Drag options to blanks, or click blank then click option'
AofferType
BFreeTrial
Cname
Dstate
Attempts:
3 left
💡 Hint
Common Mistakes
Filtering by wrong property like 'state'
Using incorrect offer type string
Returning wrong field like 'state' instead of 'name'