Verified Answers & Detailed Rationales
This comprehensive exam covers all major topic areas for the WGU D281 Linux Foundations
Objective Assessment, including Linux System Architecture, Installation & Package
Management, GNU & Unix Commands, Devices & Filesystems, Shells & Scripting, User
Interfaces, and Administrative Tasks. Each question includes a detailed rationale explaining the
correct answer and why distractors are incorrect.
Question 1
Which component of the Linux operating system directly manages hardware resources?
A) Shell
B) Kernel
C) Init system
D) User space
Correct Answer: B) Kernel
Rationale: The kernel is the core of Linux that interacts directly with hardware, managing
memory, processes, and device drivers. It acts as the "software glue" between hardware and
software. The shell provides user interaction, the init system manages services, and user space
is where applications run.
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 (init or systemd depending on distribution)
D) bash
Correct Answer: C) Both A and B (init or systemd depending on distribution)
Rationale: PID 1 is the first user-space process started by the kernel. Traditional SysV systems
use init, while modern systems use systemd. Both serve as the parent of all other processes.
Question 3
,Which command displays the current kernel version?
A) uname -r
B) uname -a
C) cat /proc/version
D) All of the above
Correct Answer: D) All of the above
Rationale: uname -r shows the kernel release, uname -a shows all system information including
the kernel version, and /proc/version also displays kernel version information. All three
commands provide the kernel version.
Question 4
Which directory contains device files (e.g., /dev/sda, /dev/tty)?
A) /dev
B) /proc
C) /sys
D) /etc
Correct Answer: A) /dev
Rationale: /dev contains device special files that represent hardware components. For example,
/dev/sda represents the first SATA hard drive. These files provide the interface for programs to
communicate with hardware.
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
Correct Answer: A) /proc
Rationale: /proc is a virtual filesystem (procfs) that contains runtime system information,
including CPU, memory, and process data. It is created in memory at system boot.
Question 6
Which command displays CPU information?
,A) cat /proc/cpuinfo
B) lscpu
C) nproc
D) All of the above
Correct Answer: D) All of the above
Rationale: cat /proc/cpuinfo displays detailed CPU information from the proc filesystem, 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
Correct Answer: D) All of the above
Rationale: free and vmstat display formatted memory information from /proc/meminfo. All
three commands provide memory usage data in different formats.
Question 8
Which system call is used to create a new process in Linux?
A) fork()
B) exec()
C) clone()
D) wait()
Correct Answer: A) fork()
Rationale: The fork() system call creates a new process by duplicating the calling process. The
new process (child) is an exact copy of the parent process, except for the PID.
Question 9
Which directory stores kernel modules?
A) /lib/modules/$(uname -r)
B) /usr/src/linux
C) /boot/modules
D) /etc/modules
, Correct Answer: A) /lib/modules/$(uname -r)
Rationale: Kernel modules are stored in /lib/modules/kernel-version/. The uname -r command
returns the current kernel version, allowing modules to be version-specific.
Question 10
Which command loads a kernel module?
A) modprobe
B) insmod
C) rmmod
D) lsmod
Correct Answer: A) modprobe
Rationale: modprobe intelligently loads a kernel module along with its dependencies. insmod
loads a module but does not handle dependencies, rmmod removes modules, and lsmod lists
currently loaded modules.
Question 11
Which of the following programs are web servers? (Choose two.)
A) Apache HTTPD
B) Postfix
C) Curl
D) Dovecot
E) NGINX
Correct Answer: A, E
Rationale: Apache HTTPD and NGINX are web servers. Postfix and Dovecot are mail servers. Curl
is a command-line tool for transferring data.
Question 12
What are the differences between hard disk drives and solid state disks? (Choose two.)
A) Hard disks have a motor and moving parts, solid state disks do not.
B) Hard disks can fail due to physical damage, while solid state disks cannot fail.
C) Solid state disks can store many times as much data as hard disk drives.
D) /dev/sda is a hard disk device while /dev/ssda is a solid state disk.
E) Solid state disks provide faster access to stored data than hard disks.
Correct Answer: A, E