0
0
Azurecloud~10 mins

Azure Advisor recommendations - Interactive Code Practice

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

Complete the code to get Azure Advisor recommendations using Azure CLI.

Azure
az advisor recommendation list --[1]
Drag options to blanks, or click blank then click option'
Asubscription
Bresource-group
Clocation
Dpolicy
Attempts:
3 left
💡 Hint
Common Mistakes
Using resource-group instead of subscription causes an error.
Using location or policy is not valid for this command.
2fill in blank
medium

Complete the code to filter Azure Advisor recommendations by category.

Azure
az advisor recommendation list --category [1]
Drag options to blanks, or click blank then click option'
ACompute
BNetwork
CStorage
DSecurity
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing Compute or Storage when filtering for security recommendations.
Using an invalid category name causes no results.
3fill in blank
hard

Fix the error in the command to suppress a specific Azure Advisor recommendation by its ID.

Azure
az advisor recommendation [1] --ids <recommendation-id>
Drag options to blanks, or click blank then click option'
Asuppress
Bdelete
Cremove
Ddisable
Attempts:
3 left
💡 Hint
Common Mistakes
Using delete or remove deletes the recommendation permanently, which is not supported.
Using disable is not a valid command for Azure Advisor.
4fill in blank
hard

Fill both blanks to create a JSON output of Azure Advisor recommendations filtered by resource type.

Azure
az advisor recommendation list --[1] [2] --output [3]
Drag options to blanks, or click blank then click option'
Aresource-type
Bjson
Ctable
Dsubscription
Attempts:
3 left
💡 Hint
Common Mistakes
Using subscription instead of resource-type for filtering.
Choosing table output when JSON is required.
5fill in blank
hard

Fill all three blanks to assign a suppression reason and expiration date when suppressing an Azure Advisor recommendation.

Azure
az advisor recommendation suppress --ids <recommendation-id> --[1] '[2]' --[3] '2024-12-31'
Drag options to blanks, or click blank then click option'
Areason
BJustified maintenance window
Cexpires-on
Dcomment
Attempts:
3 left
💡 Hint
Common Mistakes
Using comment instead of reason for the suppression explanation.
Omitting the expiration date or using wrong parameter name.