Objective 2.5
XK0-005Given a scenario, apply the appropriate access controls.
Objective 2.5 sits in Security, which carries 21% of the Linux+ exam. The questions below are original, written from the official objective title above, and each explanation cites the CompTIA page it rests on.
Objective title verbatim from the official objectives. CompTIA exam page ↗
A worked example
Shown solved, with the whole explanation open: this is what every question here carries.
In the four-digit mode 4755, what does the leading 4 set?
Correct.
Checked against man7.org, August 2026Concept
The optional leading digit encodes the three special bits, each with its own value, ahead of the familiar owner, group and other digits.
Why A
The first digit combines set user ID at 4, set group ID at 2 and the sticky or restricted deletion attribute at 1, so a leading 4 sets set-user-ID.
Source
chmod(1), change file mode bits, checked August 2026…et user ID (4) and set group ID (2) and restricted deletion or sticky (1) attributes. The second digit selects permissions for the user who owns the file: read (4), write (2), and…
Now you: objective 2.5 questions
No account needed. The explanation opens when you answer.
Sample question 1 of 3
Users keep deleting each other's files in a world-writable shared directory. Which single bit stops that while leaving the directory writable?
Sample question 2 of 3
A script recursively applies numeric modes to a tree, and set-group-ID directories keep their bit even though the digits did not include it. Why?
Sample question 3 of 3
Even as root, an administrator cannot edit or delete /etc/resolv.conf, and no permission looks wrong. Which attribute most likely explains this?
Full Linux+ question bank coming
We’re writing the complete bank from the official objectives right now. Leave your email and we’ll tell you when it ships, nothing else, ever.
Read the sources
These are the official pages the questions above cite. Reading them is studying the objective from the primary source, which is what the explanations point you toward anyway.