Linux Foundations - D281
Exam questions with
Answers Plus Rationales
Guaranteed Pass
(GRADED A+)
SECTION 1: LINUX SYSTEM ARCHITECTURE & KERNEL
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) Kernel
Rationale: The kernel is the core of Linux that interacts directly
with hardware, managing memory, processes, and device drivers.
It serves as the "software glue" between hardware and software .
,Question 2
Which of the following is a function of the Linux kernel? (Choose
all that apply.)
A) Allocating memory for use by programs
B) Allocating CPU time for use by programs
C) Controlling access to hard disks
D) Creating menus in GUI programs
Answer: A, B, C
Rationale: The kernel manages memory, CPU, and devices for
programs running on a computer system. Creating menus in GUI
programs is handled by the desktop environment, not the kernel .
Question 3
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
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 4
,Which command displays the current kernel version?
A) uname -r
B) uname -a
C) cat /proc/version
D) All of the above
Answer: D) All of the above
Rationale: uname -r shows the kernel release, uname -a shows
all system information, and /proc/version also displays kernel
version information .
SECTION 2: LINUX FILESYSTEM & DIRECTORIES
Question 5
Which directory contains device files (e.g., /dev/sda, /dev/tty)?
A) /dev
B) /proc
C) /sys
D) /etc
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 6
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
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 7
Which directory contains system-wide configuration files in Linux?
A) /bin
B) /home
C) /etc
D) /usr
Answer: C) /etc
Rationale: The /etc directory contains system-wide configuration
files and scripts .
Question 8
What is the default filesystem type used in Linux installations?
Exam questions with
Answers Plus Rationales
Guaranteed Pass
(GRADED A+)
SECTION 1: LINUX SYSTEM ARCHITECTURE & KERNEL
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) Kernel
Rationale: The kernel is the core of Linux that interacts directly
with hardware, managing memory, processes, and device drivers.
It serves as the "software glue" between hardware and software .
,Question 2
Which of the following is a function of the Linux kernel? (Choose
all that apply.)
A) Allocating memory for use by programs
B) Allocating CPU time for use by programs
C) Controlling access to hard disks
D) Creating menus in GUI programs
Answer: A, B, C
Rationale: The kernel manages memory, CPU, and devices for
programs running on a computer system. Creating menus in GUI
programs is handled by the desktop environment, not the kernel .
Question 3
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
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 4
,Which command displays the current kernel version?
A) uname -r
B) uname -a
C) cat /proc/version
D) All of the above
Answer: D) All of the above
Rationale: uname -r shows the kernel release, uname -a shows
all system information, and /proc/version also displays kernel
version information .
SECTION 2: LINUX FILESYSTEM & DIRECTORIES
Question 5
Which directory contains device files (e.g., /dev/sda, /dev/tty)?
A) /dev
B) /proc
C) /sys
D) /etc
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 6
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
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 7
Which directory contains system-wide configuration files in Linux?
A) /bin
B) /home
C) /etc
D) /usr
Answer: C) /etc
Rationale: The /etc directory contains system-wide configuration
files and scripts .
Question 8
What is the default filesystem type used in Linux installations?