Authorization Models: RBAC, ABAC, MAC, DAC, and Least Privilege

Key Takeaways

  • Authorization decides what an authenticated subject may access; it is separate from a successful login.
  • RBAC grants permissions through roles/groups; ABAC evaluates attributes such as department, device, time, and data label.
  • MAC is centrally enforced with labels and clearances; DAC lets the resource owner grant access at their discretion.
  • Least privilege, need-to-know, separation of duties, and just-in-time access shrink the blast radius of a breach.
  • Permission creep is the classic scenario clue after transfers, projects, and emergency access that was never removed.
Last updated: June 2026

Authentication Ends, Authorization Begins

Authentication says the user is who they claim to be. Authorization says what that proven user may do. A subject can authenticate perfectly and still be denied because the requested action falls outside policy. SY0-701 tests four core access-control models plus rule-based access, and you must map a scenario's wording to the right one.

ModelHow access is decidedBest clue word
RBAC (Role-Based)Permissions come from job roles or groupsanalyst role, payroll role, admin role
ABAC (Attribute-Based)A policy engine evaluates multiple attributesdepartment, data label, device health, location, time
MAC (Mandatory)A central authority enforces labels and clearancesclassified, clearance level, mandatory label
DAC (Discretionary)The resource owner grants accessfile owner shares a folder
Rule-BasedAccess follows explicit, predefined rulesfirewall ACL, time-of-day rule

A frequent trap: RBAC and rule-based both abbreviate awkwardly, but RBAC ties to roles while rule-based ties to conditions like an ACL. MAC is the strict, non-negotiable model associated with government clearances; the owner cannot override the label.

The Least-Privilege Family

Least privilege is the umbrella; the exam expects you to distinguish its relatives.

PrincipleMeaningScenario clue
Least privilegeGrant only the access required for the taskread-only access for reporting
Need-to-knowAccess only when a specific business need existsinvestigator sees only assigned cases
Separation of duties (SoD)Split a sensitive task across peopleone requests payment, another approves
Just-in-time (JIT) accessGrant elevated rights only brieflyadmin rights expire after the change window
Privileged Access Management (PAM)Control and monitor powerful accountscredential checkout, vaulting, session recording

Separation of duties prevents one person from completing a fraud end-to-end; dual control and mandatory vacations support it by forcing a second pair of eyes. Need-to-know is narrower than least privilege: you may have a clearance level yet still be denied a specific file because you have no business reason to see it.

Choosing the Right Model

Match the wording precisely. RBAC is efficient when access maps cleanly to a job. ABAC is flexible when the decision depends on context and combines several signals. MAC is rigid and label-driven. DAC is flexible but sprawls because owners share freely.

ScenarioBest fitReason
All help desk staff need identical ticket permissionsRBACOne role maps to the job function
Payroll files reachable only from managed devices, in business hours, when labeled internalABACSeveral attributes drive one decision
A classified file requires a matching clearance labelMACCentral labels and clearances control access
A project owner shares read access to a documentDACThe owner chooses who gets in
Inbound traffic blocked unless a port rule allows itRule-basedA predefined condition decides

The ABAC tell is multiple attributes in one sentence (role and device and time and label). If you only see a single job title driving access, it is RBAC.

Trap Callout: Admin Convenience Is Not Least Privilege

If a user must restart one service, full local administrator on the whole server is excessive. Prefer a narrowly scoped permission, a delegated service-management role, or a JIT privileged session that expires.

Permission Creep, Zero Trust, and a Scenario

Permission creep (privilege creep) is the steady accumulation of rights a user no longer needs after transfers, projects, and emergency grants. The countermeasure is periodic access recertification plus automated deprovisioning. This concept underpins Zero Trust, which assumes no implicit trust and re-checks the policy on every request rather than once at login.

Scenario Walkthrough

A developer is temporarily pulled in to investigate a production outage. The weak answer adds them permanently to the production admin group. The strong answer grants time-limited access through PAM with approval, MFA, session logging, and automatic removal when the work ends, satisfying least privilege and leaving an audit trail.

Quick Drill

ClueAnswer
Access follows the job title onlyRBAC
Access depends on role, classification, device posture, and timeABAC
Data owner shares access with a coworkerDAC
Labels and clearances decide accessMAC
Old access lingers after a transferPermission creep
Elevated rights expire after a change windowJIT access
One person cannot both create and approve a paymentSeparation of duties
Cleared user still denied a file with no business reasonNeed-to-know

A closing nuance the exam likes: implicit deny is the safe default that should sit at the end of any rule set, so anything not explicitly permitted is blocked. Pair that with least privilege and recertification and you cover the three concepts examiners most often combine in a single authorization scenario.

Test Your Knowledge

A policy allows finance employees to open payroll only from managed laptops, only during business hours, and only when the data is labeled internal. Which model is most directly represented?

A
B
C
D
Test Your Knowledge

A document's owner personally grants another user read access to a folder they created. Which authorization model is this?

A
B
C
D
Test Your Knowledge

An administrator needs elevated rights for a two-hour maintenance window. Which option best supports least privilege?

A
B
C
D
Test Your Knowledge

Six months after transferring departments, a user still holds permissions from three previous roles that no one removed. What is this condition called, and what fixes it?

A
B
C
D