AZ‐500 Microsoft Azure Security Technologies Study Guide_32 - itnett/FTD02H-N GitHub Wiki
Below is a ready-to-import CSV file formatted with |
as the delimiter, optimized for Anki on mobile, focused on mastering CLI commands for AZ-500. Each question will be tagged for easier categorization within Anki.
"Front" | "Back" | "Tags"
"How do you log into Azure CLI?" | "az login" | "az-500,cli,basic"
"How do you create a new resource group in Azure CLI?" | "az group create --name MyResourceGroup --location 'East US'" | "az-500,cli,resource-group"
"How do you create a new user in Azure AD using CLI?" | "az ad user create --display-name 'John Doe' --password 'P@ssw0rd123!' --user-principal-name [email protected]" | "az-500,cli,identity"
"How do you list all Azure AD users?" | "az ad user list --output table" | "az-500,cli,identity"
"How do you delete an Azure AD user?" | "az ad user delete --id [email protected]" | "az-500,cli,identity"
"How do you create a security group in Azure AD?" | "az ad group create --display-name 'Admins' --mail-nickname 'Admins'" | "az-500,cli,group"
"How do you add a user to a group in Azure AD?" | "az ad group member add --group 'Admins' --member-id <userObjectID>" | "az-500,cli,group"
"How do you list all members of a group in Azure AD?" | "az ad group member list --group 'Admins' --output table" | "az-500,cli,group"
"How do you assign a role to a user in Azure?" | "az role assignment create --assignee <userPrincipalName> --role 'Contributor' --scope /subscriptions/<subscriptionID>/resourceGroups/<resourceGroupName>" | "az-500,cli,rbac"
"How do you list all role assignments in Azure?" | "az role assignment list --output table" | "az-500,cli,rbac"
"How do you create a virtual network (VNet) in Azure?" | "az network vnet create --resource-group MyResourceGroup --name MyVnet --address-prefix 10.0.0.0/16 --subnet-name MySubnet --subnet-prefix 10.0.1.0/24" | "az-500,cli,network"
"How do you peer two virtual networks?" | "az network vnet peering create --name Vnet1ToVnet2 --resource-group MyResourceGroup --vnet-name Vnet1 --remote-vnet /subscriptions/<sub-id>/resourceGroups/OtherResourceGroup/providers/Microsoft.Network/virtualNetworks/Vnet2 --allow-vnet-access" | "az-500,cli,network"
"How do you list all virtual networks?" | "az network vnet list --output table" | "az-500,cli,network"
"How do you create an Azure firewall?" | "az network firewall create --name MyFirewall --resource-group MyResourceGroup --location 'East US'" | "az-500,cli,firewall"
"How do you add an inbound SSH rule to a firewall?" | "az network firewall rule create --firewall-name MyFirewall --resource-group MyResourceGroup --collection-name 'AllowSSH' --rule-name 'AllowSSH' --priority 100 --rule-type NetworkRule --action Allow --protocols 'TCP' --source-addresses '*' --destination-addresses '10.0.1.0/24' --destination-ports 22" | "az-500,cli,firewall"
"How do you list all firewall rules?" | "az network firewall rule list --firewall-name MyFirewall --resource-group MyResourceGroup --output table" | "az-500,cli,firewall"
"How do you create an Azure Key Vault?" | "az keyvault create --name MyKeyVault --resource-group MyResourceGroup --location 'East US'" | "az-500,cli,key-vault"
"How do you store a secret in Azure Key Vault?" | "az keyvault secret set --vault-name MyKeyVault --name 'MySecret' --value 'P@ssw0rd!'" | "az-500,cli,key-vault"
"How do you retrieve a secret from Azure Key Vault?" | "az keyvault secret show --name 'MySecret' --vault-name MyKeyVault" | "az-500,cli,key-vault"
"How do you create a new virtual machine in Azure?" | "az vm create --resource-group MyResourceGroup --name MyVM --image UbuntuLTS --admin-username azureuser --generate-ssh-keys" | "az-500,cli,vm"
"How do you start a stopped virtual machine?" | "az vm start --name MyVM --resource-group MyResourceGroup" | "az-500,cli,vm"
"How do you stop a running virtual machine?" | "az vm stop --name MyVM --resource-group MyResourceGroup" | "az-500,cli,vm"
"How do you delete a virtual machine in Azure?" | "az vm delete --resource-group MyResourceGroup --name MyVM --yes" | "az-500,cli,vm"
"How do you enable backup for a virtual machine?" | "az backup protection enable-for-vm --resource-group MyResourceGroup --vault-name MyRecoveryVault --vm MyVM" | "az-500,cli,backup"
"How do you trigger a backup for a virtual machine?" | "az backup protection backup-now --resource-group MyResourceGroup --vault-name MyRecoveryVault --container-name MyVM --item-name MyVMItem --retain-until 2023-12-31" | "az-500,cli,backup"
"How do you restore a virtual machine from a backup?" | "az backup restore restore-disks --resource-group MyResourceGroup --vault-name MyRecoveryVault --container-name MyVM --item-name MyVMItem --restore-to-staging-storage-account MyStorageAccount" | "az-500,cli,backup"
"How do you create a storage account in Azure?" | "az storage account create --name mystorageaccount --resource-group MyResourceGroup --location 'East US' --sku Standard_LRS" | "az-500,cli,storage"
"How do you generate a shared access signature (SAS) for a storage account?" | "az storage account generate-sas --account-name mystorageaccount --permissions rwdlac --expiry 2023-12-31T00:00:00Z --services b --resource-types sco" | "az-500,cli,storage"
"How do you list all storage containers in a storage account?" | "az storage container list --account-name mystorageaccount --output table" | "az-500,cli,storage"
"How do you create an alert rule in Azure Monitor?" | "az monitor activity-log alert create --name 'HighCPUAlert' --resource-group MyResourceGroup --scope /subscriptions/<subscription-id> --condition 'category=Administrative' --description 'Alert on high CPU usage'" | "az-500,cli,monitor"
"How do you onboard Azure Sentinel?" | "az sentinel workspace create --resource-group MyResourceGroup --name MySentinelWorkspace --location 'East US'" | "az-500,cli,sentinel"
- Open Anki, then go to File > Import.
- Select the CSV file that contains the data formatted as shown above.
- Make sure to set the delimiter as
|
(pipe). - Ensure that each card contains the Front (question), Back (answer), and Tags.
- After importing, you’ll be able to organize, study, and filter cards based on tags like
az-500
,cli
,vm
,firewall
, etc.
- az-500: General tag for the AZ-500 exam.
- cli: Focus on Azure CLI commands.
- resource-group: Related to resource group management.
- identity: Related to Azure AD identity management.
- group: Group management in Azure AD.
- rbac: Role-Based Access Control.
- network: Virtual network management.
- firewall: Azure Firewall.
- key-vault: Azure Key Vault.
- vm: Virtual machine management.
- backup: Backup and restore operations.
- storage: Azure storage services.
- monitor: Monitoring and alerts.
- sentinel: Azure Sentinel security monitoring.
This CSV file will provide a comprehensive, well-organized set of CLI commands that are crucial for preparing for the AZ-500 exam, with a focus on mobile training using Anki.