Answers and Explanations

Chapter 1: Hardware and System Configuration

  1. A. The modprobe command loads the module and its dependencies, if applicable. The lsmod command is used to list currently loaded modules, making answer B incorrect. The insmod command will load a given module but not its dependencies. Answer D, rmmod, is used to remove a module from memory.
  2. C. The keyword single given on the Linux kernel command line will boot the system into single-user mode. The other options are not valid.
  3. A. The Shift key, if pressed when control has first been handed to GRUB, will cause the GRUB menu to be displayed.
  4. D. The dmesg command displays the contents of the kernel ring buffer. On many Linux distributions, this log is also saved to /var/log/dmesg ...

Get CompTIA Linux+ Practice Tests, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.