Bash, the Crucial Exams Chat Bot
AI Bot

AZ-104 - Azure Command & Portal Actions  Flashcards

Microsoft Azure Administrator Associate AZ-104 Flashcards

FrontBack
Add a custom DNS server to a VNetAzure Portal → Virtual Networks → DNS Servers tab
CLI command to scale up an App Service Planaz appservice plan update --sku <SKU>
CLI command to show all subscriptionsaz account list
CLI to attach a data disk to a VMaz vm disk attach --resource-group <rg> --vm-name <vm> --name <disk-name>
CLI to create a new resource groupaz group create --name <name> --location <region>
CLI to enable diagnostics logging on a VMaz monitor diagnostic-settings create
CLI to list blob containers in a storage accountaz storage container list --account-name <account>
CLI to list installed extensions on a VMaz vm extension list --resource-group <rg> --vm-name <vm>
CLI to update tags on a VMaz resource tag --tags key=value --resource <resource-id>
Command to assign a role to a useraz role assignment create
Command to create a virtual networkaz network vnet create
Command to create a VM in Azure CLIaz vm create --resource-group <rg> --name <vm-name> --image <image>
Command to delete a resource groupaz group delete --name <rg-name>
Command to list all available VM sizes in a regionaz vm list-sizes --location <region>
Command to list all resource groups in the current subscriptionaz group list
Command to list all virtual machinesaz vm list -o table
Command to resize a VMaz vm resize --resource-group <rg> --name <vm> --size <new-size>
Command to show properties of a resource groupaz group show --name <resource-group>
Command to upload a blob to a container using CLIaz storage blob upload --account-name <account> --container-name <container> --name <blob-name> --file <file-path>
Create a new storage account using the CLIaz storage account create
How to configure Azure Monitor alerts in the portalAzure Monitor → Alerts → New Alert Rule
How to create a managed identity for an Azure VMVM → Identity → System assigned → On → Save
Portal path to enable soft delete on a blob containerStorage Account → Data Protection → Enable soft delete
PowerShell command to create a new Azure resource groupNew-AzResourceGroup
PowerShell to assign a role to a userNew-AzRoleAssignment -ObjectId <user-id> -RoleDefinitionName "Contributor" -Scope "/subscriptions/<sub-id>/resourceGroups/<rg>"
PowerShell to create a new virtual networkNew-AzVirtualNetwork
PowerShell to create a storage accountNew-AzStorageAccount
PowerShell to list all Azure subscriptionsGet-AzSubscription
PowerShell to restart a VMRestart-AzVM -ResourceGroupName <rg> -Name <vm>
PowerShell to stop a running VMStop-AzVM -Name <vm-name> -ResourceGroupName <rg-name> -Force
Restart a VM using Azure CLIaz vm restart --name <vm-name> --resource-group <rg-name>
Set a VM to auto-shutdown in the portalVM → 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 portalNetwork Security Groups → Inbound/Outbound Security Rules
Where to configure Azure Policy in the portalAzure Portal → Policy → Assignments
Where to configure disk encryption for a VM in the portalVM → Disks → Encryption
Where to configure NSG rules in the portalNetwork Security Group → Inbound/Outbound Rules
Where to configure retention settings for logsLog Analytics Workspace → Usage and estimated costs → Data Retention
Where to configure tags on a resourceResource → Tags
Where to create a file share in the portalStorage Account → File shares → + File share
Where to create alerts based on metricsMonitor → Alerts → + Create → Alert rule
Where to enable backup for an Azure VM in the portalVM → Backup blade → Configure Backup
Where to link VNets via peering in the portalVirtual Network → Peerings → + Add
Where to view activity logs in the portalMonitor → Activity Log
Where to view metrics for a resource in the portalResource → Monitoring → Metrics
Helps you map common admin tasks to the correct tools, CLI commands, and portal paths.
Share on...
Follow us on...