WGU D281 / LPI LINUX ESSENTIALS
(010-160): 200-QUESTION PRACTICE
TEST BANK WITH EXPLANATION
Questions 1-10: Linux System Architecture & Hardware
Question 1
Which component of the Linux operating system directly manages hardware
resources?
• A) Shell
• B) Kernel
• C) Init system
• D) User space
Answer: B — The kernel is the core of Linux that interacts directly with hardware,
managing memory, processes, and device drivers .
Question 2
What is the first process started by the Linux kernel?
• A) init (PID 1)
• B) systemd (PID 1)
• C) Both A and B (depending on distribution)
• D) bash
Answer: C — PID 1 is the first user-space process started by the kernel. Traditional
SysV systems use init, while modern systems use systemd .
Question 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 — uname -r shows the kernel release, uname -a shows all system
information, and /proc/version also displays kernel version information .
Question 4
Which directory contains device files (e.g., /dev/sda, /dev/tty)?
• A) /dev
• B) /proc
• C) /sys
• D) /etc
Answer: A — /dev contains device special files that represent hardware components.
For example, /dev/sda represents the first SATA hard drive .
Question 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 — /proc is a virtual filesystem (procfs) that contains runtime system
information, including CPU, memory, and process data .
Question 6
Which command displays CPU information?
• A) cat /proc/cpuinfo
• B) lscpu
• C) nproc
• D) All of the above
Answer: D — All three commands display CPU information. cat /proc/cpuinfo shows
detailed info, lscpu formats it in a readable table, and nproc shows the number of
processing cores .
,Question 7
Which command displays memory information?
• A) free -h
• B) cat /proc/meminfo
• C) vmstat
• D) All of the above
Answer: D — free and vmstat display formatted memory information from
/proc/meminfo. All three commands provide memory usage data .
Question 8
Which system call is used to create a new process in Linux?
• A) fork()
• B) exec()
• C) clone()
• D) wait()
Answer: A — The fork() system call creates a new process by duplicating the calling
process .
Question 9
Which directory stores kernel modules?
• A) /lib/modules/$(uname -r)
• B) /usr/src/linux
• C) /boot/modules
• D) /etc/modules
Answer: A — Kernel modules are stored in /lib/modules/kernel-version/. The uname
-r command returns the current kernel version .
Question 10
What directly controls hardware and translates commands from software into
something hardware can understand?
• A) Finder
• B) Explorer
, • C) Kernel
• D) Procmon
Answer: C — The kernel acts as the "software glue" between hardware and
software .
Questions 11-20: File Systems & Directories
Question 11
Where should temporary files be stored on a Linux system that can be safely deleted
during a reboot?
• A) /var/tmp
• B) /etc/tmp
• C) /tmp
• D) /bin/tmp
Answer: C — /tmp is used for temporary files that are cleared on reboot .
Question 12
Which of the following directories is often used to store log files?
• A) /var
• B) /temp
• C) /dev/hdc1d2p3
• D) /log
Answer: A — /var contains variable data including log files .
Question 13
After installing a new package, in which directory are you most likely to find its
configuration file?
• A) /lib
• B) /etc
• C) /conf
(010-160): 200-QUESTION PRACTICE
TEST BANK WITH EXPLANATION
Questions 1-10: Linux System Architecture & Hardware
Question 1
Which component of the Linux operating system directly manages hardware
resources?
• A) Shell
• B) Kernel
• C) Init system
• D) User space
Answer: B — The kernel is the core of Linux that interacts directly with hardware,
managing memory, processes, and device drivers .
Question 2
What is the first process started by the Linux kernel?
• A) init (PID 1)
• B) systemd (PID 1)
• C) Both A and B (depending on distribution)
• D) bash
Answer: C — PID 1 is the first user-space process started by the kernel. Traditional
SysV systems use init, while modern systems use systemd .
Question 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 — uname -r shows the kernel release, uname -a shows all system
information, and /proc/version also displays kernel version information .
Question 4
Which directory contains device files (e.g., /dev/sda, /dev/tty)?
• A) /dev
• B) /proc
• C) /sys
• D) /etc
Answer: A — /dev contains device special files that represent hardware components.
For example, /dev/sda represents the first SATA hard drive .
Question 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 — /proc is a virtual filesystem (procfs) that contains runtime system
information, including CPU, memory, and process data .
Question 6
Which command displays CPU information?
• A) cat /proc/cpuinfo
• B) lscpu
• C) nproc
• D) All of the above
Answer: D — All three commands display CPU information. cat /proc/cpuinfo shows
detailed info, lscpu formats it in a readable table, and nproc shows the number of
processing cores .
,Question 7
Which command displays memory information?
• A) free -h
• B) cat /proc/meminfo
• C) vmstat
• D) All of the above
Answer: D — free and vmstat display formatted memory information from
/proc/meminfo. All three commands provide memory usage data .
Question 8
Which system call is used to create a new process in Linux?
• A) fork()
• B) exec()
• C) clone()
• D) wait()
Answer: A — The fork() system call creates a new process by duplicating the calling
process .
Question 9
Which directory stores kernel modules?
• A) /lib/modules/$(uname -r)
• B) /usr/src/linux
• C) /boot/modules
• D) /etc/modules
Answer: A — Kernel modules are stored in /lib/modules/kernel-version/. The uname
-r command returns the current kernel version .
Question 10
What directly controls hardware and translates commands from software into
something hardware can understand?
• A) Finder
• B) Explorer
, • C) Kernel
• D) Procmon
Answer: C — The kernel acts as the "software glue" between hardware and
software .
Questions 11-20: File Systems & Directories
Question 11
Where should temporary files be stored on a Linux system that can be safely deleted
during a reboot?
• A) /var/tmp
• B) /etc/tmp
• C) /tmp
• D) /bin/tmp
Answer: C — /tmp is used for temporary files that are cleared on reboot .
Question 12
Which of the following directories is often used to store log files?
• A) /var
• B) /temp
• C) /dev/hdc1d2p3
• D) /log
Answer: A — /var contains variable data including log files .
Question 13
After installing a new package, in which directory are you most likely to find its
configuration file?
• A) /lib
• B) /etc
• C) /conf