LPIC-2 Linux Kernel and System Startup Practice Question
Exhibit
GRUB_DEFAULT=0 GRUB_TIMEOUT=10 GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX=""
Refer to the exhibit. A system administrator has configured the above in /etc/default/grub. After running update-grub, what will be the boot menu behavior?
⚠ Common exam trap
Many exam-takers confuse GRUB_TIMEOUT with GRUB_HIDDEN_TIMEOUT, assuming a positive timeout always hides the menu or that a hidden menu is the default behavior, when in fact the default GRUB_TIMEOUT_STYLE is 'menu' and the timeout simply controls how long the menu is displayed before auto-booting.
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
✓
The menu will be displayed for 10 seconds, then the default entry boots automatically.
The configuration shown in /etc/default/grub includes GRUB_TIMEOUT=10 and GRUB_TIMEOUT_STYLE=menu (or the default style if unset). After running update-grub, the boot menu will be displayed for 10 seconds, and then the default entry (set by GRUB_DEFAULT) will boot automatically. This is the standard behavior when GRUB_TIMEOUT is set to a positive integer and the timeout style is 'menu'.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The menu will be displayed for 10 seconds, then the default entry boots automatically.
Why this is correct
GRUB_HIDDEN_TIMEOUT=0 means no hidden menu, so the standard timeout applies and the menu is shown.
- ✗
The boot menu will be hidden for 0 seconds (i.e., not hidden), and the default entry boots immediately.
Why it's wrong here
When the menu is shown, it does not boot immediately; it waits for GRUB_TIMEOUT seconds or user input.
- ✗
The menu will be displayed but with no timeout; it will wait indefinitely for user input.
Why it's wrong here
The GRUB_TIMEOUT setting is 10 seconds, so there is a timeout.
- ✗
The boot menu will be hidden unless Shift is pressed, and the default entry will boot after 10 seconds.
Why it's wrong here
A hidden timeout is only effective if GRUB_HIDDEN_TIMEOUT is set to a non-zero value. Here it is 0, so the menu is always displayed.
Go deeper
Related to this question
About these practice questions
Courseiva writes every LPIC-2 question from scratch — 507 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-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.