WGU D281
Linux Foundations
Objective Assessment (OA)— LPI Linux Essentials
Questions and Answers
1. Which of the following best defines 'open source' software?
A. Software that is always free of charge
B. Software whose source code is publicly available and can be viewed,
modified, and redistributed under an open license
C. Software that only runs on Linux
D. Software developed exclusively by a single company
Answer: B. Software whose source code is publicly available and can be
viewed, modified, and redistributed under an open license
Rationale: Open source refers to software whose source code is freely available
for anyone to inspect, modify, and distribute, typically under a license like the
GPL. It does not necessarily mean free of charge (free as in freedom, not free
beer).
2. Which license is commonly associated with the Linux kernel?
A. MIT License
B. Apache License 2.0
C. GNU General Public License (GPL)
, D. Creative Commons
Answer: C. GNU General Public License (GPL)
Rationale: The Linux kernel is licensed under the GNU General Public License
version 2 (GPLv2), which requires that derivative works also be distributed with
source code under the same license (copyleft).
3. A 'copyleft' license, such as the GPL, requires that:
A. Derivative works be released under the same or a compatible open license,
with source code available
B. The software can never be modified
C. Only the original author can distribute the software
D. Users must pay a licensing fee
Answer: A. Derivative works be released under the same or a compatible
open license, with source code available
Rationale: Copyleft licenses require that any distributed derivative work
remain open source under the same (or compatible) license, ensuring the
freedoms granted to users are preserved downstream.
4. A Linux 'distribution' (distro) refers to:
A. A version of the Linux kernel only
B. A complete operating system package that bundles the Linux kernel with
system utilities, package management, and often a desktop environment
C. A type of hardware driver
D. A programming language used to write Linux
Answer: B. A complete operating system package that bundles the Linux
kernel with system utilities, package management, and often a desktop
environment
Rationale: A distribution combines the Linux kernel with additional software—
libraries, utilities, a package manager, and often a GUI—to create a complete,
usable operating system, such as Ubuntu, Fedora, or Debian.
5. Which of the following is an example of a Debian-based Linux distribution?
A. Fedora
, B. Ubuntu
C. openSUSE
D. CentOS
Answer: B. Ubuntu
Rationale: Ubuntu is derived from Debian and uses the same package format
(.deb) and APT package management tools, while Fedora, openSUSE, and
CentOS are based on the RPM package format.
6. Which package management command is commonly used on Debian/Ubuntu-
based systems to install software?
A. yum install
B. apt install
C. rpm -i
D. pacman -S
Answer: B. apt install
Rationale: Debian and Ubuntu-based distributions use APT (Advanced Package
Tool), with 'apt install' (or the lower-level 'apt-get install') as the standard
command to install packages from configured repositories.
7. On a Red Hat/Fedora-based system, which command is typically used to
install a package?
A. apt-get install
B. dpkg -i
C. yum install or dnf install
D. zypper install
Answer: C. yum install or dnf install
Rationale: Red Hat-based distributions use RPM-based package managers;
'yum' (older) and 'dnf' (newer, used in Fedora and current RHEL/CentOS) are
the standard commands to install and manage packages.
8. Which of the following best describes a 'kernel' in the context of an operating
system?
A. The graphical user interface
, B. The core component that manages hardware resources, memory, and
process scheduling
C. A type of application software
D. A web browser bundled with the OS
Answer: B. The core component that manages hardware resources, memory,
and process scheduling
Rationale: The kernel is the core of the operating system, responsible for
managing hardware resources such as the CPU, memory, and devices, and
providing services to applications through system calls.
9. Which of the following is an example of a popular Linux desktop environment?
A. GNOME
B. Apache
C. MySQL
D. Nginx
Answer: A. GNOME
Rationale: GNOME (along with KDE Plasma, XFCE, and others) is a desktop
environment providing a graphical user interface, panels, and applications,
whereas Apache, MySQL, and Nginx are server-side software, not desktop
environments.
10. The command 'uname -r' is used to display:
A. The current user's username
B. The kernel release version
C. The list of installed packages
D. The system's IP address
Answer: B. The kernel release version
Rationale: 'uname -r' prints the kernel release (version) currently running on
the system, which is useful for verifying compatibility or troubleshooting.
11. Which of the following best distinguishes a Linux 'shell' from the 'kernel'?
A. The shell is hardware; the kernel is software
Linux Foundations
Objective Assessment (OA)— LPI Linux Essentials
Questions and Answers
1. Which of the following best defines 'open source' software?
A. Software that is always free of charge
B. Software whose source code is publicly available and can be viewed,
modified, and redistributed under an open license
C. Software that only runs on Linux
D. Software developed exclusively by a single company
Answer: B. Software whose source code is publicly available and can be
viewed, modified, and redistributed under an open license
Rationale: Open source refers to software whose source code is freely available
for anyone to inspect, modify, and distribute, typically under a license like the
GPL. It does not necessarily mean free of charge (free as in freedom, not free
beer).
2. Which license is commonly associated with the Linux kernel?
A. MIT License
B. Apache License 2.0
C. GNU General Public License (GPL)
, D. Creative Commons
Answer: C. GNU General Public License (GPL)
Rationale: The Linux kernel is licensed under the GNU General Public License
version 2 (GPLv2), which requires that derivative works also be distributed with
source code under the same license (copyleft).
3. A 'copyleft' license, such as the GPL, requires that:
A. Derivative works be released under the same or a compatible open license,
with source code available
B. The software can never be modified
C. Only the original author can distribute the software
D. Users must pay a licensing fee
Answer: A. Derivative works be released under the same or a compatible
open license, with source code available
Rationale: Copyleft licenses require that any distributed derivative work
remain open source under the same (or compatible) license, ensuring the
freedoms granted to users are preserved downstream.
4. A Linux 'distribution' (distro) refers to:
A. A version of the Linux kernel only
B. A complete operating system package that bundles the Linux kernel with
system utilities, package management, and often a desktop environment
C. A type of hardware driver
D. A programming language used to write Linux
Answer: B. A complete operating system package that bundles the Linux
kernel with system utilities, package management, and often a desktop
environment
Rationale: A distribution combines the Linux kernel with additional software—
libraries, utilities, a package manager, and often a GUI—to create a complete,
usable operating system, such as Ubuntu, Fedora, or Debian.
5. Which of the following is an example of a Debian-based Linux distribution?
A. Fedora
, B. Ubuntu
C. openSUSE
D. CentOS
Answer: B. Ubuntu
Rationale: Ubuntu is derived from Debian and uses the same package format
(.deb) and APT package management tools, while Fedora, openSUSE, and
CentOS are based on the RPM package format.
6. Which package management command is commonly used on Debian/Ubuntu-
based systems to install software?
A. yum install
B. apt install
C. rpm -i
D. pacman -S
Answer: B. apt install
Rationale: Debian and Ubuntu-based distributions use APT (Advanced Package
Tool), with 'apt install' (or the lower-level 'apt-get install') as the standard
command to install packages from configured repositories.
7. On a Red Hat/Fedora-based system, which command is typically used to
install a package?
A. apt-get install
B. dpkg -i
C. yum install or dnf install
D. zypper install
Answer: C. yum install or dnf install
Rationale: Red Hat-based distributions use RPM-based package managers;
'yum' (older) and 'dnf' (newer, used in Fedora and current RHEL/CentOS) are
the standard commands to install and manage packages.
8. Which of the following best describes a 'kernel' in the context of an operating
system?
A. The graphical user interface
, B. The core component that manages hardware resources, memory, and
process scheduling
C. A type of application software
D. A web browser bundled with the OS
Answer: B. The core component that manages hardware resources, memory,
and process scheduling
Rationale: The kernel is the core of the operating system, responsible for
managing hardware resources such as the CPU, memory, and devices, and
providing services to applications through system calls.
9. Which of the following is an example of a popular Linux desktop environment?
A. GNOME
B. Apache
C. MySQL
D. Nginx
Answer: A. GNOME
Rationale: GNOME (along with KDE Plasma, XFCE, and others) is a desktop
environment providing a graphical user interface, panels, and applications,
whereas Apache, MySQL, and Nginx are server-side software, not desktop
environments.
10. The command 'uname -r' is used to display:
A. The current user's username
B. The kernel release version
C. The list of installed packages
D. The system's IP address
Answer: B. The kernel release version
Rationale: 'uname -r' prints the kernel release (version) currently running on
the system, which is useful for verifying compatibility or troubleshooting.
11. Which of the following best distinguishes a Linux 'shell' from the 'kernel'?
A. The shell is hardware; the kernel is software