By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
Authorization models define who can access what resources and how—a cornerstone of access control. Without proper authorization, attackers (or insiders) can escalate privileges, steal data, or disrupt systems. Real-world example: The 2020 Twitter breach occurred when attackers socially engineered employees to gain access to internal admin tools (DAC misconfiguration), leading to high-profile account takeovers (e.g., Barack Obama, Elon Musk). Proper authorization (e.g., RBAC or ABAC) could have limited the blast radius by enforcing least privilege.
chmod
user.department == "Finance" AND resource.type == "Invoice"
chmod 750 file.txt
setfacl
sudo -l
user_id=123
user_id=124
"Which authorization model is best for a healthcare system where access depends on patient-doctor relationships and time of day?" Answer: ABAC (context-aware attributes).
"A company wants to restrict access to financial data based on department, location, and time. Which model fits best?" Answer: ABAC (attributes = department, location, time).
"Which technique exploits weak DAC permissions to gain root access?" Answer: Privilege escalation via sudo misconfigurations* (e.g., sudo -l).
sudo
exploit/linux/local/sudo_baron_samedit
A financial institution needs to ensure that only traders in the "Equities" department can access stock trading systems between 9 AM and 4 PM. Which authorization model is most appropriate? - A) RBAC - B) ABAC - C) MAC - D) DAC Answer: B) ABACExplanation: ABAC uses attributes (department, time) to enforce dynamic access rules.
During a penetration test, you discover that a Linux server allows any user to run sudo vim to edit system files. Which authorization model is misconfigured, and what is the risk? - A) RBAC – privilege escalation - B) DAC – privilege escalation - C) MAC – data leakage - D) ABAC – policy bypass Answer: B) DAC – privilege escalationExplanation: DAC (file permissions) is misconfigured, allowing users to escalate privileges via sudo.
sudo vim
A government agency handling classified data must enforce system-enforced access controls where users cannot override permissions. Which model should they use? - A) RBAC - B) ABAC - C) MAC - D) DAC Answer: C) MACExplanation: MAC uses system-enforced labels (e.g., "Top Secret") and prevents user overrides.
user.department == "HR"
chmod 755
Final Tip: For exams, memorize the "best use case" for each model (e.g., MAC = military, ABAC = healthcare). In the real world, combine models (e.g., RBAC + ABAC for cloud environments).
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.