Bash, the Crucial Exams Chat Bot
AI Bot
AZ-104 - Azure Command & Portal Actions Flashcards
Microsoft Azure Administrator Associate AZ-104 Flashcards
| 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 |
Helps you map common admin tasks to the correct tools, CLI commands, and portal paths.