nerdexam
LPI

117-102 · Question #716

Which file contains information about all loaded modules?

The correct answer is A. /proc/modules. See the full explanation below for the reasoning.

Question

Which file contains information about all loaded modules?

Options

  • A/proc/modules
  • B/etc/modules.conf
  • C/etc/conf.modules
  • D/lib/modules/kernel-version/modules.dep
  • E/proc/mod

How the community answered

(30 responses)
  • A
    83% (25)
  • B
    7% (2)
  • C
    3% (1)
  • D
    7% (2)

Community Discussion

5
Yusuf A.Yusuf A.Jun 27, 2026

A is the right one, /proc/modules is a live kernel virtual file that reflects exactly what is loaded in memory right now, which is what the question is asking about. The others like /etc/modules.conf or modules.dep are config or dependency files, not a real-time list of what the kernel has actually loaded.

30
Mateus R.Mateus R.Jun 28, 2026

Yusuf is dead-on that /proc/modules is the live view, but worth adding that "lsmod" is really just a friendlier face on that same file, so if you ever see both options on an exam, they are pointing at the exact same source of truth.

0
Mateus R.Mateus R.Jun 25, 2026

Think of /proc as a live dashboard showing what the kernel is doing right now, so which option sounds like a running scoreboard versus a config file or a map?

4
Devraj B.Devraj B.Jun 27, 2026

Saw this exact wording on my 102 sitting years ago, picked A on instinct: /proc/modules lists every loaded module live.

3
Yusuf A.Yusuf A.Jun 29, 2026

Yeah that is spot on, and one thing worth adding is that modinfo will pull the details on any of those listed modules, like the license or parameters, without you needing to unload anything.

0
Full 117-102 Practice