AZ-104Hands-on lab35 min
Lab 02b — Manage Governance via Azure Policy
لاب 02b: الحوكمة باستخدام Azure Policy
The finance department wants to know which cost center every resource belongs to. You will use tags to classify resources, then Azure Policy to enforce the tag or inherit it automatically from the resource group, and finally a resource lock so nobody deletes the resource group by mistake.
The 4 tasks you will do
- Task 1 — A resource group with a tagالمهمة 1 — Resource group عليها Tag
- Task 2 — Enforce the tag with a policy (Deny)المهمة 2 — فرض الـ Tag بـ Policy (Deny)
- Task 3 — Inherit the tag automatically (Modify + remediation)المهمة 3 — توريث الـ Tag تلقائيًا (Modify + Remediation)
- Task 4 — Resource lockالمهمة 4 — Resource lock