Objective 1.9220-1202

1.9 Identify common features and tools of the Linux client/desktop operating system.

Objective 1.9 sits in Operating Systems, which carries 28% of the A+ Core 2 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.

1-9Operating SystemsModerate

A technician on a Linux workstation runs a command with sudo and is prompted for a password. Which password does the default sudoers policy expect?

The root account passwordAsking for the root password is how su behaves, and it is also what the rootpw flag configures. The default policy does not ask for it.
The invoking user's own passwordCorrect · your answerCorrect. sudoers authenticates the invoking user, so nobody has to know the superuser secret.
The target user's passwordThe targetpw flag switches sudo to ask for the target account's password. It is off by default and is generally discouraged.
The password of the workstation ownerFile or device ownership never drives this prompt. Ownership matters to commands such as chown, which set who owns a file.

Correct.

Concept

Privilege escalation tools differ in whose identity they verify. One family confirms you are who you claim to be before granting elevated rights; another makes you prove you hold the account being switched to.

Why B

The sudoers policy validates the credentials of the person running the command, not those of the account the command will run as. That is what separates sudo from su, and it is why each administrator keeps a personal secret rather than sharing one.

#linux#sudo#privilege-escalation

Now you: objective 1.9 questions

No account needed. The explanation opens when you answer.

Sample question 1 of 3

1-9Operating SystemsHard

A Linux workstation drops to an emergency shell after a technician installs a second internal disk. An /etc/fstab line names /dev/sdb1, which is now the new disk. Which first-field entry avoids this?

Sample question 2 of 3

1-9Operating SystemsEasy

Users on a Linux workstation share a world-writable /srv/upload directory and keep deleting each other's files. Which permission bit stops that?

Sample question 3 of 3

1-9Operating SystemsModerate

A technician adds an external archive drive to /etc/fstab so it can be mounted by name. The drive is often disconnected and must not be mounted at boot. Which option belongs on that line?

Full A+ Core 2 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.

More objectives in Operating Systems