hardMultiple ChoiceObjective-mapped
XK0-006 Practice Question: An administrator is configuring a custom kernel…
An administrator is configuring a custom kernel module to be loaded automatically at boot for a specialized hardware device. The module is named 'custom_hw'. Which file should be created to ensure the module is loaded at boot?
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
✓
/etc/modules-load.d/custom_hw.conf with the line 'custom_hw'
On modern Linux distributions using systemd, the /etc/modules-load.d/ directory contains .conf files listing kernel modules to load automatically at boot. Each file should contain one module name per line. Option B refers to /etc/sysconfig/modules/, which is used by older distributions but is not the standard for systemd-based systems. Option C is for setting module parameters, not for loading modules. Option D is for blacklisting modules, preventing them from 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.
- ✓
/etc/modules-load.d/custom_hw.conf with the line 'custom_hw'
Why this is correct
This file lists module names to be loaded at boot.
- ✗
/etc/sysconfig/modules/custom_hw.modules with modprobe commands
Why it's wrong here
While possible in older distributions, the standard is modules-load.d.
- ✗
/etc/modprobe.d/custom_hw.conf with 'options custom_hw param=value'
Why it's wrong here
Used for setting module options, not to load the module.
- ✗
/etc/modprobe.d/blacklist.conf with 'blacklist custom_hw'
Why it's wrong here
Blacklists the module, preventing it from loading.
Go deeper
Related to this question
Learn chapter
Linux Fundamentals and History
Key term
systemd
systemd is a system and service manager for Linux operating systems that initializes and manages processes, services, and system resources after the kernel boots.
Key term
Linux
Linux is an open-source operating system that manages computer hardware and software, widely used in servers, desktops, and embedded systems.
About these practice questions
One of 979 original XK0-006 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This XK0-006 practice question is part of Courseiva's free CompTIA 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 XK0-006 exam.