Objective 1.7XK0-005

1.7 Given a scenario, manage software configurations.

Objective 1.7 sits in System Management, which carries 32% 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.

1-7System ManagementEasy

Which kernel interface do the parameters that sysctl reads and writes actually live under?

/sys/kernel/debugdebugfs holds debugging interfaces, not sysctl parameters.
/proc/sysCorrect · your answerCorrect. sysctl parameters live under /proc/sys.
/etc/kernel.dNo /etc/kernel.d parameter tree exists.
/dev/kmsg/dev/kmsg is the kernel log stream, not parameters.

Correct.

Concept

Runtime kernel parameters are exposed as a file tree, and the tool is a front end over that tree rather than a separate channel.

Why B

The parameters available are those listed under /proc/sys, and procfs is required for sysctl support, so the tool is reading and writing that tree.

#sysctl#kernel

Now you: objective 1.7 questions

No account needed. The explanation opens when you answer.

Sample question 1 of 3

1-7System ManagementModerate

A technician needs a kernel parameter changed right now on a running server, without editing any file. Which invocation does it?

Sample question 2 of 3

1-7System ManagementModerate

After a reboot, a parameter set last week with sysctl -w has reverted. The team wants it applied from configuration at boot. Where does sysctl -p read from when no file is named?

Sample question 3 of 3

1-7System ManagementHard

The same filename exists in /etc/sysctl.d and /usr/lib/sysctl.d with different values. With sysctl --system, which value wins and 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.

More objectives in System Management