Challenge - 5 Problems
Azure Resource Group Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ service_behavior
intermediate2:00remaining
What is the output of this Azure CLI command?
You run the command
az group list --query "[].name" -o json. What will this command output?Azure
az group list --query "[].name" -o json
Attempts:
2 left
💡 Hint
The command lists resource groups and extracts only their names as a list.
✗ Incorrect
The command lists all resource groups and uses JMESPath query to select only the 'name' property, outputting a JSON array of strings.
❓ Configuration
intermediate2:00remaining
Which Azure CLI command creates a resource group in the East US region?
Select the correct command to create a resource group named
MyGroup in the eastus location.Attempts:
2 left
💡 Hint
The correct command uses 'az group create' with '--name' and '--location' parameters.
✗ Incorrect
The Azure CLI command to create a resource group is 'az group create' with the '--name' parameter for the group name and '--location' for the region.
❓ security
advanced2:00remaining
What happens if you delete a resource group with active resources?
You run
az group delete --name MyGroup --yes on a resource group that contains virtual machines and storage accounts. What is the result?Attempts:
2 left
💡 Hint
Deleting a resource group deletes everything inside it.
✗ Incorrect
Deleting a resource group deletes the group and all resources contained within it permanently.
❓ Architecture
advanced2:00remaining
Which option correctly describes the best practice for organizing resources in Azure?
You want to organize resources by environment (dev, test, prod) and by application. Which approach is best?
Attempts:
2 left
💡 Hint
Resource groups help manage and isolate resources logically.
✗ Incorrect
Creating separate resource groups per environment and application helps manage lifecycle, permissions, and billing clearly.
🧠 Conceptual
expert2:00remaining
What is the effect of running
az group update --name MyGroup --set tags.env=production?You run the command to update a resource group. What happens to the tags of the resource group?
Azure
az group update --name MyGroup --set tags.env=productionAttempts:
2 left
💡 Hint
The '--set' parameter updates or adds properties without removing others.
✗ Incorrect
Using '--set tags.env=production' updates or adds the 'env' tag to 'production' while preserving other tags.