EDITION) 300 Practice Questions |
Answers & Rationales
Exam domains (LPI Linux Essentials / LPIC-1 aligned):
System Architecture (10%) – 30 Qs
Linux Installation & Package Management (15%) – 45 Qs
GNU & Unix Commands (35%) – 105 Qs
Devices, Linux Filesystems, Filesystem Hierarchy Standard (20%) – 60 Qs
Shells, Scripting, & Data Management (10%) – 30 Qs
User Interfaces & Desktops (5%) – 15 Qs
Administrative Tasks (5%) – 15 Qs
Time limit (simulated): 3 hours (0.6 min/question)
Passing threshold: 70% (210/300)
SECTION 1: SYSTEM ARCHITECTURE (Questions 1–30)
1. Which component of a Linux system is responsible for loading the kernel
into memory?
A) BIOS/UEFI and bootloader (GRUB)
B) init system
C) shell
,D) kernel modules
Answer: A
Rationale: The BIOS/UEFI initializes hardware, then loads the bootloader
(GRUB), which loads the kernel into memory.
2. What is the first process started by the Linux kernel (PID 1)?
A) init (SysV) or systemd
B) bash
C) kernel
D) grub
Answer: A
Rationale: PID 1 is the first user-space process (init or systemd); it starts all
other processes.
3. Which command displays the current kernel version?
A) uname -r
B) uname -a
C) cat /proc/version
D) All of the above
Answer: D
Rationale: uname -r shows kernel release; uname -a shows all system
info; /proc/version also shows kernel version.
4. Which directory contains device files (e.g., /dev/sda, /dev/tty)?
A) /dev
B) /proc
C) /sys
,D) /etc
Answer: A
Rationale: /dev contains device special files managed by udev.
5. Which directory is a virtual filesystem providing process and system
information in real time?
A) /proc
B) /run
C) /dev/shm
D) /usr
Answer: A
Rationale: /proc is a virtual filesystem (procfs) that contains runtime system
information (CPU, memory, processes).
6. Which command displays CPU information?
A) cat /proc/cpuinfo
B) lscpu
C) nproc (number of cores)
D) All of the above
Answer: D
Rationale: All display CPU architecture, model, cores, frequency.
7. Which command displays memory information?
A) free -h
B) cat /proc/meminfo
C) vmstat
D) All of the above
Answer: D
Rationale: free and vmstat format /proc/meminfo data.
, 8. Which signal cannot be caught or ignored by a process?
A) SIGKILL (9)
B) SIGSTOP (19)
C) SIGTERM (15)
D) Both A and B
Answer: D
Rationale: SIGKILL and SIGSTOP cannot be caught, blocked, or ignored;
SIGTERM can be caught.
9. Which command sends a SIGTERM to a process?
A) kill PID
B) kill -15 PID
C) kill -TERM PID
D) All of the above
Answer: D
Rationale: kill without signal sends SIGTERM (15) by default.
10. Which directory contains kernel modules (drivers) on a typical Linux
system?
A) /lib/modules/$(uname -r)/
B) /usr/lib/modules/
C) /etc/modules
D) /boot
Answer: A
Rationale: Kernel modules are stored in /lib/modules/kernel-version/.
11. Which command loads a kernel module?
A) modprobe module_name
B) insmod /path/to/module.ko