Courseiva
System ArchitecturemediumMultiple ChoiceObjective-mapped

LPIC-1 System Architecture Practice Question

Which command can be used to check whether a specific kernel module is currently loaded?

⚠ Common exam trap

A common mix-up: candidates confuse `modinfo` (which shows module information from disk) with `lsmod` (which shows runtime load status), leading them to incorrectly select option A.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

lsmod | grep <module>

`lsmod` lists all currently loaded kernel modules by reading the `/proc/modules` file, and piping its output through `grep` filters for the specific module name. This directly shows whether the module is loaded in the running kernel, which is the exact requirement of the question.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • modinfo <module>

    Why it's wrong here

    modinfo displays module information, not load status.

  • lsmod | grep <module>

    Why this is correct

    lsmod lists loaded modules; grep filters.

  • depmod -a

    Why it's wrong here

    depmod generates dependency files, does not show loaded modules.

  • insmod <module>

    Why it's wrong here

    insmod loads a module, does not check.

About these practice questions

Courseiva writes every LPIC-1 question from scratch — 527 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This LPIC-1 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-1 exam.