الفلاتر
طريقة البحث
  • الكلمات العادية تجد الأسماء والنصوص والأمثلة.
  • "كلمتان" تجد العبارة بالضبط.
  • --name أو -x تجد خيارًا.
  • #كلمة تبحث داخل الأوامر فقط.
  • @grep تجد الدروس والمعامل التي تستخدم grep.
  • الفلاتر: cat:network · in:labs · level:rhcsa · ch:8 · root:yes. ضع ! قبل كلمة لاستبعادها. OR بين الكلمات تعني إحداها.
  • ↑ ↓ للتنقل · Enter للفتح · Esc للإغلاق · / للبحث

الفصل 1الاسم في الدورة: 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 الدروس
  • 2 الأوامر

هذا الجزء لم يُترجم بعد. أنت ترى النص الإنجليزي.

$ مستخدم عادي# بصلاحية root (أو مع 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

تذكّر

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

في العمل

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

الأوامر في هذا الدرس

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).

نصيحة للامتحان

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

الأوامر في هذا الدرس

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.

الأوامر في هذا الدرس

كل الأوامر في هذا الفصل