CompTIA Linux+ (XK0-004) — Question 269

A systems administrator needs to examine the output of all kernel-related events since the system was booted. Which of the following would BEST display this information?

Answer options

Correct answer: A

Explanation

The correct answer is A, dmesg, because this command specifically displays the ring buffer of kernel messages, which includes all kernel events since boot. The other options do not provide this information; modinfo gives details about kernel modules, systemctl manages system services, and logger is used to make entries in the system log.