2.5 Given 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.
Concept
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.
Now you: objective 2.5 questions
No account needed. The explanation opens when you answer.
Sample question 1 of 2
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 2
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?
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.