0
0
Azurecloud~10 mins

Subscriptions and management groups 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 new management group in Azure.

Azure
az account management-group create --name [1]
Drag options to blanks, or click blank then click option'
AresourceGroup
BMyManagementGroup
CsubscriptionId
DtenantId
Attempts:
3 left
💡 Hint
Common Mistakes
Using subscription or tenant IDs instead of a management group name.
Leaving the name parameter empty.
2fill in blank
medium

Complete the code to list all subscriptions under a specific management group.

Azure
az account management-group subscription list --name [1]
Drag options to blanks, or click blank then click option'
AsubscriptionId
BtenantId
CresourceGroup
DMyManagementGroup
Attempts:
3 left
💡 Hint
Common Mistakes
Using subscription ID instead of management group name.
Confusing resource groups with management groups.
3fill in blank
hard

Fix the error in the command to move a subscription to a different management group.

Azure
az account management-group subscription add --subscription [1] --name NewGroup
Drag options to blanks, or click blank then click option'
AsubscriptionId
BresourceGroup
CmanagementGroupName
DtenantId
Attempts:
3 left
💡 Hint
Common Mistakes
Using resource group or tenant ID instead of subscription ID.
Omitting the subscription parameter.
4fill in blank
hard

Fill both blanks to assign a subscription to a management group using Azure CLI.

Azure
az account management-group subscription add --subscription [1] --name [2]
Drag options to blanks, or click blank then click option'
A12345678-1234-1234-1234-123456789abc
BMyManagementGroup
CresourceGroupName
DtenantIdValue
Attempts:
3 left
💡 Hint
Common Mistakes
Using resource group name instead of subscription ID.
Using tenant ID instead of management group name.
5fill in blank
hard

Fill all three blanks to create a management group, add a subscription, and list subscriptions under it.

Azure
az account management-group create --name [1]
az account management-group subscription add --subscription [2] --name [3]
az account management-group subscription list --name [1]
Drag options to blanks, or click blank then click option'
AFinanceGroup
B87654321-4321-4321-4321-cba987654321
DOperationsGroup
Attempts:
3 left
💡 Hint
Common Mistakes
Using different names for the management group in commands.
Using resource group names instead of management group names.
Using incorrect subscription IDs.