Question 460
A technician needs recent kernel-reported device initialization messages after hardware connects. One student proposes Inspect dmesg output where permitted and another proposes Inspect the relevant file under /etc/. Which technical comparison is the soundest?
Explanation
Correct Answer
Correct distinction: Inspect dmesg output where permitted targets kernel ring-buffer messages; dmesg reads the kernel message buffer, subject to system access restrictions. The compared alternative instead serves system configuration under etc.
Incorrect Answers
Incorrect mapping: Inspect the relevant file under /etc/ is used for system configuration under etc. It does not displace Inspect dmesg output where permitted for the described requirement.
The mechanisms are different: dmesg reads the kernel message buffer, subject to system access restrictions. By contrast, The /etc hierarchy conventionally stores host-specific system configuration. They are not universally interchangeable.
The third option addresses persistent system logs: The /var/log hierarchy commonly contains persistent service and system log files. The original action remains relevant because dmesg reads the kernel message buffer, subject to system access restrictions.