Comprehensive Final Exam (Qns & Ans)
2025
Question 1 (Multiple Choice)
Question:
Which of the following statements best describes one of the
fundamental advantages of systemd over traditional SysVinit
systems?
A) It completely eliminates the need for configuration files.
B) It enables parallel service startup and socket activation to
reduce boot times.
C) It uses an interpretive scripting language to manage services.
D) It confines all services to run exclusively in kernel space.
Correct ANS:
B) It enables parallel service startup and socket activation to
reduce boot times.
©2025
, Rationale:
Systemd significantly accelerates system boot-up by starting
services in parallel and using socket activation for on-demand
service initialization. This approach contrasts with SysVinit,
which sequentially starts services, resulting in longer boot times.
---
Question 2 (Fill in the Blank)
Question:
The default logging mechanism integrated with systemd, which
stores logs in a binary format for efficient retrieval and analysis, is
called ________ .
Correct ANS:
journald
Rationale:
Journald manages and stores logs in a fast, indexed binary format.
It integrates with systemd to facilitate log collection from various
sources, enhancing the monitoring and troubleshooting process.
©2025
,---
Question 3 (True/False)
Question:
True/False: Logical Volume Management (LVM) allows
administrators to resize disk partitions dynamically without
having to unmount a filesystem, provided that the filesystem
supports online resizing.
Correct ANS:
True
Rationale:
LVM provides flexibility in disk space management through
features such as resizing, snapshots, and migration. When used
with filesystems that support online resizing (e.g., ext4, XFS),
logical volumes can be expanded or reduced without downtime.
---
Question 4 (Multiple Response)
Question:
©2025
, Select all of the following components that are integral parts of
the Linux LVM architecture:
A) Physical Volume (PV)
B) Logical Volume (LV)
C) Volume Group (VG)
D) Partition Map (PM)
Correct ANS:
A, B, C
Rationale:
LVM is composed of Physical Volumes (actual storage devices),
Volume Groups (aggregates of PVs), and Logical Volumes
(virtual partitions carved from VGs). A partition map is a separate
concept related to disk partitioning but is not a specific
component of LVM.
---
Question 5 (Multiple Choice)
Question:
©2025