CertLumen

Microsoft Azure Administrator (AZ-104) · Section 1 · 23% of the exam

Assign roles at different scopes

One of the objectives of the Microsoft Azure Administrator (AZ-104) exam, in the section “Manage Azure identities and governance”. Here is what it covers, the points to remember and a question to try.

What it covers

Azure role-based access control (Azure RBAC) is the authorization system for Azure resources. This lesson covers role definitions and the key built-in roles, how assignments combine a principal, a role and a scope, how inheritance and additive permissions work, and how to read and troubleshoot who has access to what.

Points to remember

  • A role assignment = security principal + role definition + scope; scopes are management group, subscription, resource group, resource.
  • Assignments inherit downward and are additive; there is no explicit deny in a role assignment.
  • Owner can assign roles; Contributor cannot; Reader is read-only; User Access Administrator manages access only.
  • Role Based Access Control Administrator manages assignments with optional ABAC conditions; prefer it to Owner for delegation.
  • Actions minus NotActions give management permissions; DataActions grant data-plane access (for example Storage Blob Data Reader).

Try a question

Which Azure CLI command lists all role assignments for the user [email protected] in the current subscription, including those at resource group and resource scope?

  1. Aaz role definition list --name [email protected]
  2. Baz role assignment list --assignee [email protected] --all
  3. Caz ad user show --id [email protected] --query roles --output table
  4. Daz role assignment list --role Owner
Show the answer

B. az role assignment list shows assignments; --assignee filters by principal and --all shows every assignment in the subscription rather than only the default scope. az role definition list lists role definitions, not assignments.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Azure RBAC: roles, scopes and reading assignments teaches this objective (about 50 minutes), and 19 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 81 objectives · Next objective →