Filters
Zo zoek je
  • Gewone woorden vinden namen, teksten en voorbeelden.
  • "twee woorden" vindt precies die zin.
  • --naam of -x vindt een optie.
  • #woord zoekt alleen in commando's.
  • @grep vindt lessen en labs die grep gebruiken.
  • Filters: cat:network · in:labs · in:notes · level:rhcsa · ch:8 · root:yes. Zet ! voor een woord om het weg te laten. OR tussen woorden betekent één ervan.
  • ↑ ↓ bewegen · Enter openen · Esc sluiten · / zoeken

Hoofdstuk 1Naam in de cursus: Prerequisites for Azure administrators

Find your way in Azure and its tools

Before the exam topics, learn how Azure is organised and the four ways to manage it: the portal, Azure CLI, Azure PowerShell and Cloud Shell. Every later chapter uses these tools.

  • 6 Lessen
  • 2 Commando's

Dit deel is nog niet vertaald. Je ziet de Engelse tekst.

$ als gewone gebruiker# als root (of met sudo)

1.1

Know the hierarchy of Azure

Azure resources live in a tree: management groups → subscriptions → resource groups → resources. Rights, policies and costs flow down this tree.

LevelWhat it isExample
Microsoft Entra tenantThe identity directory of the companycontoso.onmicrosoft.com
Management groupA folder of subscriptions, for policies and accessmg-production
SubscriptionA billing and limit boundarysub-prod, sub-dev
Resource groupA folder of resources with the same life cyclerg-web-prod
ResourceOne service instanceA VM, a storage account, a VNet

Onthoud

A resource is in exactly one resource group. Delete the group and you delete everything in it.

1.2

Choose regions and zones

A region is a set of data centres in one area. Availability zones are separate buildings inside a region. Region pairs back each other up.

ChoiceProtects againstExample
One zoneNothing beyond the serverA test VM
Zone-redundantLoss of one data centreVMs in zones 1, 2 and 3 behind a load balancer
Two regionsLoss of a whole regionSite Recovery to the paired region

Op het werk

Pick the region near your users and check that every service you need is available there (not every service is in every region).

1.3

Use the Azure portal

portal.azure.com is the web interface. Good to explore and learn; bad for repeatable work.

  • Search bar on top: find any service or resource by name.
  • Resource groups, All resources, Cost Management, Microsoft Entra ID are the pages you use every day.
  • Every create page has Review + create, and often Download a template for automation — the start of Infrastructure as Code.

1.4

Use Azure CLI

az works on Linux, macOS and Windows, and in scripts. The pattern is az GROUP COMMAND --options.

az login
az login --use-device-code
az account list --output table
az account set --subscription "sub-dev"
az group create --name rg-lab --location westeurope
az resource list --resource-group rg-lab --output table
az vm list -d --query "[].{name:name, state:powerState, ip:publicIps}" -o table
az group delete --name rg-lab --yes --no-wait
OptionMeaning
--output table / json / tsvOutput format
--query JMESPATHPick fields from the JSON answer
--help / -hHelp for any group or command
az find "create vm"Search examples

Commando's in deze les

1.5

Use Azure PowerShell and Cloud Shell

The Az PowerShell module does the same work with verb-noun commands. Cloud Shell is a browser shell with both tools already logged in.

PowerShell
Connect-AzAccount
Get-AzSubscription
Set-AzContext -Subscription "sub-dev"
New-AzResourceGroup -Name rg-lab -Location westeurope
Get-AzVM -ResourceGroupName rg-lab | Select-Object Name, Location
Remove-AzResourceGroup -Name rg-lab -Force
  • Open Cloud Shell from the >_ icon in the portal; choose Bash or PowerShell.
  • Cloud Shell can keep files in an Azure Files share (clouddrive).

Examentip

The exam shows commands in both CLI and PowerShell. Learn to read both: az vm create = New-AzVM, az group delete = Remove-AzResourceGroup.

Commando's in deze les

1.6

Understand limits and quotas

Every subscription has limits (for example vCPUs per region). A deployment fails when it would go over them.

az vm list-usage --location westeurope -o table | head
az quota list --scope /subscriptions/SUB_ID/providers/Microsoft.Compute/locations/westeurope

Ask for a higher quota in the portal: Subscriptions → Usage + quotas → Request increase.

Alle commando's in dit hoofdstuk