010-160 Linux System Architecture & Installation 3 — Questions and Answers
Question 1: Which runlevel in traditional SysV init corresponds to multi-user mode with networking but without a graphical interface?
- 3 (Correct answer)
- 1
- 5
- 2
Correct answer: 3
Runlevel 3 is the standard multi-user networked text mode; runlevel 5 adds the graphical display manager.
Question 2: What systemd target is roughly equivalent to SysV runlevel 5 (graphical multi-user)?
- graphical.target (Correct answer)
- multi-user.target
- runlevel5.target
- desktop.target
Correct answer: graphical.target
graphical.target starts a full graphical environment and is the systemd equivalent of runlevel 5.
Question 3: Which command lists all PCI devices recognized by the Linux kernel?
- lspci (Correct answer)
- lsusb
- lsblk
- lshw
Correct answer: lspci
lspci enumerates all PCI and PCI-Express devices visible to the kernel.
Question 4: What is the role of udev in a Linux system?
- Dynamically manage device nodes in /dev based on kernel events (Correct answer)
- Load kernel modules at boot time from /etc/modules
- Mount filesystems listed in /etc/fstab
- Configure network interfaces during boot
Correct answer: Dynamically manage device nodes in /dev based on kernel events
udev listens for kernel uevent notifications and creates, removes, or renames device nodes in /dev accordingly.
Question 5: During installation, which tool is commonly used to partition disks in a text-based Linux environment?
- fdisk (Correct answer)
- mkfs
- fsck
- parted only
Correct answer: fdisk
fdisk is the classic text-based disk partitioning tool widely available in Linux installation environments.
Question 6: Which file contains kernel boot parameters that were passed at startup?
- /proc/cmdline (Correct answer)
- /boot/cmdline
- /etc/kernel/params
- /sys/kernel/cmdline
Correct answer: /proc/cmdline
/proc/cmdline shows the exact command line that the bootloader passed to the running kernel.
Question 7: What does 'LVM' stand for and what problem does it solve?
- Logical Volume Manager — allows flexible resizing and management of disk partitions (Correct answer)
- Linux Volume Mounter — automatically mounts volumes at boot
- Large Volume Module — supports disks over 2 TB
- Layered Volume Manager — provides RAID redundancy
Correct answer: Logical Volume Manager — allows flexible resizing and management of disk partitions
LVM (Logical Volume Manager) abstracts physical storage into logical volumes that can be resized and managed without repartitioning.
Which runlevel in traditional SysV init corresponds to multi-user mode with networking but without a graphical interface?