Bird
0
0

A developer wrote code to implement Least Privilege but accidentally gave all users admin rights. What is the main error?

medium📝 Analysis Q6 of 15
Cybersecurity - Security Architecture and Design
A developer wrote code to implement Least Privilege but accidentally gave all users admin rights. What is the main error?
AThey violated the Least Privilege principle by over-assigning permissions
BThey implemented Separation of Duties correctly
CThey used Fail-Safe Defaults properly
DThey applied Defense in Depth incorrectly
Step-by-Step Solution
Solution:
  1. Step 1: Identify the principle violated

    Giving all users admin rights contradicts Least Privilege, which limits permissions to what is necessary.
  2. Step 2: Match options to the error

    They violated the Least Privilege principle by over-assigning permissions correctly identifies the violation. The other options do not relate to this specific mistake.
  3. Final Answer:

    They violated the Least Privilege principle by over-assigning permissions -> Option A
  4. Quick Check:

    Least Privilege violation = Too many permissions [OK]
Quick Trick: Least Privilege means no extra permissions [OK]
Common Mistakes:
MISTAKES
  • Confusing this with Defense in Depth
  • Assuming admin rights are always safe

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Cybersecurity Quizzes