nerdexam
CompTIA

XK0-005 · Question #1192

A junior administrator is installing kernel modules. The administrator is given a checklist that outlines the following tasks to be completed: - Display currently installed module version. - Display…

The correct answer is C. lsmod F. dmesg. Two different commands address the two tasks. 'lsmod' (C) reads /proc/modules and displays a formatted list of all kernel modules currently loaded, which corresponds to displaying currently installed/loaded module information. 'dmesg' (F) prints the kernel ring buffer, which…

System Management

Question

A junior administrator is installing kernel modules. The administrator is given a checklist that outlines the following tasks to be completed: - Display currently installed module version. - Display which modules loaded at startup. Which of the following commands would be used to accomplish these tasks? (Choose two.)

Options

  • Acat /etc/issue
  • Binsmod
  • Clsmod
  • Drmmod
  • Edepmod
  • Fdmesg

How the community answered

(30 responses)
  • B
    3% (1)
  • C
    87% (26)
  • D
    3% (1)
  • E
    7% (2)

Explanation

Two different commands address the two tasks. 'lsmod' (C) reads /proc/modules and displays a formatted list of all kernel modules currently loaded, which corresponds to displaying currently installed/loaded module information. 'dmesg' (F) prints the kernel ring buffer, which captures messages from the boot process including which modules were loaded at startup - making it the tool to review startup module loading. The distractors: 'insmod' manually inserts a module, 'rmmod' removes a module, 'depmod' generates module dependency maps, and 'cat /etc/issue' shows the OS distribution banner - none of which fulfill these two tasks.

Topics

#Kernel Modules#System Information#Linux Commands#Boot Process

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice