LPIC-1 System Architecture Practice Question
Which THREE of the following are valid sources to configure GRUB?
⚠ Common exam trap
Watch out — candidates often confuse GRUB Legacy files (`menu.lst` or `grub.conf`) with GRUB 2 files, or think `/etc/grub.conf` is a standard GRUB 2 configuration file, when in fact GRUB 2 uses `/etc/default/grub` and `/etc/grub.d/` as sources, with the generated output in `/boot/grub/grub.cfg`.
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
✓
/boot/grub/grub.cfg
C is correct because `/boot/grub/grub.cfg` is the primary configuration file generated by GRUB 2 (the default bootloader on modern Linux distributions). It is automatically created by running `update-grub` or `grub-mkconfig`, which reads settings from `/etc/default/grub` and scripts in `/etc/grub.d/`. This file contains the actual menu entries and boot directives used at boot time.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
/boot/grub/menu.lst
Why it's wrong here
Legacy file for GRUB Legacy; not used in current GRUB.
- ✗
/etc/grub.conf
Why it's wrong here
Legacy file for older GRUB; not in current systems.
- ✓
/boot/grub/grub.cfg
Why this is correct
The actual boot configuration file read by GRUB.
- ✓
/etc/default/grub
Why this is correct
Main configuration file for GRUB settings.
- ✓
/etc/grub.d/
Why this is correct
Scripts in this directory are used to generate grub.cfg.
Go deeper
Related to this question
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 →
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.