Courseiva
System ArchitecturemediumMultiple ChoiceObjective-mapped

LPIC-1 System Architecture Practice Question

An administrator wants to add a kernel parameter 'quiet splash' to the default boot entry. Which file should be edited?

⚠ Common exam trap

Candidates often confuse the auto-generated /boot/grub/grub.cfg (option D) with the source configuration file, or mistakenly think the legacy /etc/grub.conf (option C) is still used in GRUB 2 environments.

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/default/grub

The correct file to edit is /etc/default/grub because it is the main configuration file for GRUB 2 where kernel boot parameters like 'quiet splash' are defined in the GRUB_CMDLINE_LINUX_DEFAULT variable. After editing this file, the administrator must run update-grub (or grub-mkconfig) to regenerate the actual boot configuration file /boot/grub/grub.cfg.

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/default/grub

    Why this is correct

    This is the configuration file where kernel parameters are set and then applied by running update-grub.

  • /etc/grub.d/00_header

    Why it's wrong here

    This is a script that generates part of grub.cfg, not where parameters are stored.

  • /etc/grub.conf

    Why it's wrong here

    This is used by GRUB legacy, not GRUB 2.

  • /boot/grub/grub.cfg

    Why it's wrong here

    This file is generated by grub-mkconfig and should not be manually edited.

About these practice questions

One of 527 original LPIC-1 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 →

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.