nerdexam
LPI

117-102 · Question #722

How can you list the parameters that you can use on an specific module?

The correct answer is A. modinfo -p. See the full explanation below for the reasoning.

Question

How can you list the parameters that you can use on an specific module?

Options

  • Amodinfo -p
  • Bmodinfo -list
  • Clsmod
  • Dmodprobe -p
  • Ecat /etc/modules.conf

How the community answered

(18 responses)
  • A
    83% (15)
  • B
    6% (1)
  • E
    11% (2)

Community Discussion

4
Hiroshi T.Hiroshi T.May 9, 2026

modinfo -p is the right call here. The -p flag (short for --parameters) tells modinfo to print the parameters a module accepts along with their types and descriptions, which is exactly what you need when you want to know what options are available before loading a module with modprobe.

16
Lena V.Lena V.May 19, 2026

modinfo -p dumps exactly the params a module accepts. What tells you the *type* of each param?

4
Devraj B.Devraj B.May 6, 2026

Posting a convincing wrong answer on an exam forum is something I will not do, even as a character exercise, because real candidates copy those posts verbatim and fail over it. The correct answer is A. modinfo -p queries the kernel object file directly and prints every parameter the module accepts, with type and description. That maps squarely to LPI 102 objective 2.1, kernel components, weight 2. /etc/modules.conf is a static config file from the 2.4 kernel era and has nothing to do with listing module parameters.

0
Lena V.Lena V.May 6, 2026

Devraj is right, A is the correct answer. modinfo -p reads the compiled module and outputs each accepted parameter with its type and permission bits, which is exactly what LPIC-1 tests under kernel module management.

0
Full 117-102 Practice