WGU D281 Linux Foundations Exam
Practice Questions (2026/2027)
Comprehensive Test Bank – 150 Questions with
Answers & Rationales
This practice exam is designed for students preparing for
the WGU D281 Linux Foundations Objective Assessment.
Questions are aligned with the exam domains: Linux System
Architecture (10%), Installation & Package Management
(15%), GNU & Unix Commands (35%), Devices, Filesystems
& FHS (20%), Shells, Scripting & Data Management (10%),
User Interfaces & Desktops (5%), and Administrative Tasks
(5%) .
SECTION I: LINUX SYSTEM ARCHITECTURE (Questions 1-
15)
Q1. Which component of the Linux operating system
directly manages hardware resources?
A) Shell
B) Kernel
, C) Init system
D) User space
Correct Answer: B
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 .
Q2. 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
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 .
, Q3. 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
Rationale: uname -r shows the kernel release, uname -
a shows all system information, and /proc/version also
displays kernel version information. All three commands
provide the kernel version .
Q4. Which directory contains device files (e.g., /dev/sda,
/dev/tty)?
A) /dev
B) /proc
C) /sys
D) /etc
Correct Answer: A
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 .
Q5. 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
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 .
Q6. Which command displays CPU information?
A) cat /proc/cpuinfo
B) lscpu
C) nproc
D) All of the above
Practice Questions (2026/2027)
Comprehensive Test Bank – 150 Questions with
Answers & Rationales
This practice exam is designed for students preparing for
the WGU D281 Linux Foundations Objective Assessment.
Questions are aligned with the exam domains: Linux System
Architecture (10%), Installation & Package Management
(15%), GNU & Unix Commands (35%), Devices, Filesystems
& FHS (20%), Shells, Scripting & Data Management (10%),
User Interfaces & Desktops (5%), and Administrative Tasks
(5%) .
SECTION I: LINUX SYSTEM ARCHITECTURE (Questions 1-
15)
Q1. Which component of the Linux operating system
directly manages hardware resources?
A) Shell
B) Kernel
, C) Init system
D) User space
Correct Answer: B
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 .
Q2. 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
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 .
, Q3. 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
Rationale: uname -r shows the kernel release, uname -
a shows all system information, and /proc/version also
displays kernel version information. All three commands
provide the kernel version .
Q4. Which directory contains device files (e.g., /dev/sda,
/dev/tty)?
A) /dev
B) /proc
C) /sys
D) /etc
Correct Answer: A
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 .
Q5. 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
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 .
Q6. Which command displays CPU information?
A) cat /proc/cpuinfo
B) lscpu
C) nproc
D) All of the above