π From Operating System β’ 14. Protection β’ 12 questions available
Practice MCQs for Principles of Protection in Operating System. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.
π Last updated: 2026-07-27
Q1. What is the definition of the principle of least privilege?
π‘ Difficulty: easy | β Correct: A
Q2. A web server daemon runs with root privileges. An attacker exploits a bug and gains control of the daemon. Which outcome best illustrates the danger of not following least privilege?
π‘ Difficulty: medium | β Correct: A
Q3. A system call interface offers functions A, B, C, and D. Function C allows a process to change its own UID to any user ID. Which function most clearly violates the principle of least privilege?
π‘ Difficulty: hard | β Correct: B
β¬οΈ View all questions in the quiz below