Courseiva
System ArchitecturehardMultiple ChoiceObjective-mapped

LPIC-1 System Architecture Practice Question

A sysadmin wants to ensure a specific kernel module is automatically loaded at boot. Which method is considered best practice?

⚠ Common exam trap

The trap is assuming that /etc/modprobe.d/ or the service itself is used for auto-loading. In reality, /etc/modprobe.d/ is for options and aliases, and the service reads configuration files like /etc/modules or /etc/modules-load.d/*.conf.

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

Add module name to /etc/modules

The best practice to automatically load a kernel module at boot is to add the module name to /etc/modules or a file in /etc/modules-load.d/. This method works on both sysvinit and systemd systems, as systemd-modules-load.service reads these configuration files. Directly using the service or adding lines to /etc/modprobe.d/ is not standard; /etc/modprobe.d/ is for module options, not auto-loading.

Answer analysis

Option-by-option breakdown

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

  • Use systemd-modules-load.service

    Why it's wrong here

    Using systemd-modules-load.service directly is not a standard method; it reads config files. This is not considered best practice.

  • All of the above are valid methods

    Why it's wrong here

    All methods are not valid; only adding the module name to /etc/modules or equivalent files is best practice.

  • Add module name to /etc/modules

    Why this is correct

    Adding the module name to /etc/modules is the traditional and standard method, and works across distributions. This is best practice.

  • Add a line to /etc/modprobe.d/

    Why it's wrong here

    Adding a line to /etc/modprobe.d/ configures module options, not auto-loading. Modules listed there are not automatically loaded.

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.