Bash, the Crucial Exams Chat Bot
AI Bot
AZ-104 - Azure Command & Portal Actions Flashcards
Restart a VM using Azure CLI
az vm restart --name <vm-name> --resource-group <rg-name>
Command to list all virtual machines
az vm disk attach --resource-group <rg> --vm-name <vm> --name <disk-name>
Azure Monitor → Alerts → New Alert Rule
az vm list -o table
Where to configure disk encryption for a VM in the portal
CLI to list installed extensions on a VM
VM → Disks → Encryption
az vm extension list --resource-group <rg> --vm-name <vm>
CLI to attach a data disk to a VM
How to configure Azure Monitor alerts in the portal
Front | Back |
Add a custom DNS server to a VNet | Azure Portal → Virtual Networks → DNS Servers tab |
CLI command to scale up an App Service Plan | az appservice plan update --sku <SKU> |
CLI command to show all subscriptions | az account list |
CLI to attach a data disk to a VM | az vm disk attach --resource-group <rg> --vm-name <vm> --name <disk-name> |
CLI to create a new resource group | az group create --name <name> --location <region> |
CLI to enable diagnostics logging on a VM | az monitor diagnostic-settings create |
CLI to list blob containers in a storage account | az storage container list --account-name <account> |
CLI to list installed extensions on a VM | az vm extension list --resource-group <rg> --vm-name <vm> |
CLI to update tags on a VM | az resource tag --tags key=value --resource <resource-id> |
Command to assign a role to a user | az role assignment create |
Command to create a virtual network | az network vnet create |
Command to create a VM in Azure CLI | az vm create --resource-group <rg> --name <vm-name> --image <image> |
Command to delete a resource group | az group delete --name <rg-name> |
Command to list all available VM sizes in a region | az vm list-sizes --location <region> |
Command to list all resource groups in the current subscription | az group list |
Command to list all virtual machines | az vm list -o table |
Command to resize a VM | az vm resize --resource-group <rg> --name <vm> --size <new-size> |
Command to show properties of a resource group | az group show --name <resource-group> |
Command to upload a blob to a container using CLI | az storage blob upload --account-name <account> --container-name <container> --name <blob-name> --file <file-path> |
Create a new storage account using the CLI | az storage account create |
How to configure Azure Monitor alerts in the portal | Azure Monitor → Alerts → New Alert Rule |
How to create a managed identity for an Azure VM | VM → Identity → System assigned → On → Save |
Portal path to enable soft delete on a blob container | Storage Account → Data Protection → Enable soft delete |
PowerShell command to create a new Azure resource group | New-AzResourceGroup |
PowerShell to assign a role to a user | New-AzRoleAssignment -ObjectId <user-id> -RoleDefinitionName "Contributor" -Scope "/subscriptions/<sub-id>/resourceGroups/<rg>" |
PowerShell to create a new virtual network | New-AzVirtualNetwork |
PowerShell to create a storage account | New-AzStorageAccount |
PowerShell to list all Azure subscriptions | Get-AzSubscription |
PowerShell to restart a VM | Restart-AzVM -ResourceGroupName <rg> -Name <vm> |
PowerShell to stop a running VM | Stop-AzVM -Name <vm-name> -ResourceGroupName <rg-name> -Force |
Restart a VM using Azure CLI | az vm restart --name <vm-name> --resource-group <rg-name> |
Set a VM to auto-shutdown in the portal | VM → Auto-shutdown blade |
What tool can automate Azure deployments using JSON templates? | ARM Templates |
Where do you assign RBAC roles in the portal? | Azure Portal → IAM (Access Control) |
Where to configure a network security group in the portal | Network Security Groups → Inbound/Outbound Security Rules |
Where to configure Azure Policy in the portal | Azure Portal → Policy → Assignments |
Where to configure disk encryption for a VM in the portal | VM → Disks → Encryption |
Where to configure NSG rules in the portal | Network Security Group → Inbound/Outbound Rules |
Where to configure retention settings for logs | Log Analytics Workspace → Usage and estimated costs → Data Retention |
Where to configure tags on a resource | Resource → Tags |
Where to create a file share in the portal | Storage Account → File shares → + File share |
Where to create alerts based on metrics | Monitor → Alerts → + Create → Alert rule |
Where to enable backup for an Azure VM in the portal | VM → Backup blade → Configure Backup |
Where to link VNets via peering in the portal | Virtual Network → Peerings → + Add |
Where to view activity logs in the portal | Monitor → Activity Log |
Where to view metrics for a resource in the portal | Resource → Monitoring → Metrics |
Front
Where to create alerts based on metrics
Click the card to flip
Back
Monitor → Alerts → + Create → Alert rule
Front
Where to configure disk encryption for a VM in the portal
Back
VM → Disks → Encryption
Front
Set a VM to auto-shutdown in the portal
Back
VM → Auto-shutdown blade
Front
Create a new storage account using the CLI
Back
az storage account create
Front
Command to list all available VM sizes in a region
Back
az vm list-sizes --location <region>
Front
Where to enable backup for an Azure VM in the portal
Back
VM → Backup blade → Configure Backup
Front
Command to delete a resource group
Back
az group delete --name <rg-name>
Front
CLI command to scale up an App Service Plan
Back
az appservice plan update --sku <SKU>
Front
PowerShell to stop a running VM
Back
Stop-AzVM -Name <vm-name> -ResourceGroupName <rg-name> -Force
Front
Where do you assign RBAC roles in the portal?
Back
Azure Portal → IAM (Access Control)
Front
PowerShell to create a new virtual network
Back
New-AzVirtualNetwork
Front
CLI to list installed extensions on a VM
Back
az vm extension list --resource-group <rg> --vm-name <vm>
Front
Command to list all resource groups in the current subscription
Back
az group list
Front
Where to create a file share in the portal
Back
Storage Account → File shares → + File share
Front
PowerShell command to create a new Azure resource group
Back
New-AzResourceGroup
Front
CLI to update tags on a VM
Back
az resource tag --tags key=value --resource <resource-id>
Front
Command to list all virtual machines
Back
az vm list -o table
Front
Add a custom DNS server to a VNet
Back
Azure Portal → Virtual Networks → DNS Servers tab
Front
CLI to enable diagnostics logging on a VM
Back
az monitor diagnostic-settings create
Front
PowerShell to restart a VM
Back
Restart-AzVM -ResourceGroupName <rg> -Name <vm>
Front
Where to configure tags on a resource
Back
Resource → Tags
Front
Portal path to enable soft delete on a blob container
Back
Storage Account → Data Protection → Enable soft delete
Front
Where to configure NSG rules in the portal
Back
Network Security Group → Inbound/Outbound Rules
Front
CLI to create a new resource group
Back
az group create --name <name> --location <region>
Front
How to configure Azure Monitor alerts in the portal
Back
Azure Monitor → Alerts → New Alert Rule
Front
Where to configure Azure Policy in the portal
Back
Azure Portal → Policy → Assignments
Front
Command to create a VM in Azure CLI
Back
az vm create --resource-group <rg> --name <vm-name> --image <image>
Front
What tool can automate Azure deployments using JSON templates?
Back
ARM Templates
Front
PowerShell to create a storage account
Back
New-AzStorageAccount
Front
Command to resize a VM
Back
az vm resize --resource-group <rg> --name <vm> --size <new-size>
Front
PowerShell to list all Azure subscriptions
Back
Get-AzSubscription
Front
CLI to attach a data disk to a VM
Back
az vm disk attach --resource-group <rg> --vm-name <vm> --name <disk-name>
Front
PowerShell to assign a role to a user
Back
New-AzRoleAssignment -ObjectId <user-id> -RoleDefinitionName "Contributor" -Scope "/subscriptions/<sub-id>/resourceGroups/<rg>"
Front
Command to upload a blob to a container using CLI
Back
az storage blob upload --account-name <account> --container-name <container> --name <blob-name> --file <file-path>
Front
Where to link VNets via peering in the portal
Back
Virtual Network → Peerings → + Add
Front
Where to configure a network security group in the portal
Back
Network Security Groups → Inbound/Outbound Security Rules
Front
CLI command to show all subscriptions
Back
az account list
Front
How to create a managed identity for an Azure VM
Back
VM → Identity → System assigned → On → Save
Front
Where to view metrics for a resource in the portal
Back
Resource → Monitoring → Metrics
Front
Command to assign a role to a user
Back
az role assignment create
Front
Where to configure retention settings for logs
Back
Log Analytics Workspace → Usage and estimated costs → Data Retention
Front
CLI to list blob containers in a storage account
Back
az storage container list --account-name <account>
Front
Command to create a virtual network
Back
az network vnet create
Front
Where to view activity logs in the portal
Back
Monitor → Activity Log
Front
Restart a VM using Azure CLI
Back
az vm restart --name <vm-name> --resource-group <rg-name>
Front
Command to show properties of a resource group
Back
az group show --name <resource-group>
1/46
Helps you map common admin tasks to the correct tools, CLI commands, and portal paths.