LPIC-2 Linux Kernel and System Startup Practice Question
Which two of the following are valid methods to pass kernel parameters during the boot process? (Choose two.)
⚠ Common exam trap
Watch out — candidates often confuse kernel boot parameters with runtime kernel parameters, leading them to select /etc/sysctl.conf or /proc/cmdline, which are not valid for boot-time configuration.
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
✓
Edit /boot/grub/grub.cfg and append parameters to the 'linux' line
Editing /boot/grub/grub.cfg to append parameters to the 'linux' line directly modifies the kernel command line that GRUB 2 passes to the Linux kernel at boot. This is a standard method for permanently adding kernel parameters like 'quiet' or 'nomodeset'.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Edit /boot/grub/grub.cfg and append parameters to the 'linux' line
Why this is correct
This is a permanent method for GRUB 2.
- ✓
Use the 'linux' command in the GRUB 2 interactive shell
Why this is correct
This allows temporary parameters for a single boot.
- ✗
Use the 'initrd' command in GRUB
Why it's wrong here
The 'initrd' command specifies the initial ramdisk image, not kernel parameters.
- ✗
Write the parameter directly to /proc/cmdline
Why it's wrong here
/proc/cmdline is a read-only file reflecting the current kernel command line.
- ✗
Set the parameter in /etc/sysctl.conf
Why it's wrong here
sysctl configures kernel runtime parameters, not boot parameters.
Go deeper
Related to this question
About these practice questions
One of 507 original LPIC-2 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 LPIC-2 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-2 exam.