An administrator wants to inspect Linux DHCP logs using the service-specific command shown in the course material. Which command should be used?

Answer

`journalctl -u dhcpd`

Explanation

The correct command is `journalctl -u dhcpd`, which requests journal entries associated with the Linux DHCP service. The course also identifies `/var/log/messages` as a possible location for Linux DHCP logging. The other options misuse command syntax, refer to a Windows graphical tool as though it were a Linux service, or do not correspond to the log-inspection method provided. Service-specific logs can reveal why a daemon is not starting or serving clients, but they should be considered alongside the configuration file and service state. **Key takeaway:** Use the service name `dhcpd` when filtering Linux journal logs.\n\n**Glossary:** **journalctl**: A Linux command used to query systemd journal logs.

Related Questions

Want to practice more questions like this?

Join myBenkio free and practice past questions for your Nigerian university courses with AI explanations for every answer.

Start Practicing Free