010-160 Linux System Architecture & Installation 2 — Questions and Answers
Question 1: Which directory contains hardware and driver information exposed by the kernel as virtual files?
- /sys (Correct answer)
- /dev
- /run
- /mnt
Correct answer: /sys
/sys (sysfs) is a virtual filesystem that exposes kernel objects, hardware info, and driver parameters.
Question 2: What is the purpose of the initramfs (initial RAM filesystem) during Linux boot?
- Provide a temporary root filesystem before the real root is mounted (Correct answer)
- Store permanent user data during installation
- Cache the kernel image for faster reboots
- Initialize the network interfaces at boot
Correct answer: Provide a temporary root filesystem before the real root is mounted
initramfs loads a temporary root filesystem into RAM so the kernel can mount the real root filesystem.
Question 3: Which command displays the system's hardware architecture (e.g., x86_64)?
- uname -m (Correct answer)
- lscpu -a
- arch -v
- hwinfo --arch
Correct answer: uname -m
uname -m prints the machine hardware name, such as x86_64 or aarch64.
Question 4: In a UEFI system, where is the EFI System Partition (ESP) typically mounted?
- /boot/efi (Correct answer)
- /efi
- /boot/grub
- /sys/firmware/efi
Correct answer: /boot/efi
The EFI System Partition is conventionally mounted at /boot/efi on Linux systems.
Question 5: Which file in /proc contains information about the CPU(s) installed in the system?
- /proc/cpuinfo (Correct answer)
- /proc/meminfo
- /proc/modules
- /proc/devices
Correct answer: /proc/cpuinfo
/proc/cpuinfo lists detailed information about each CPU core, including model, speed, and flags.
Question 6: What does the term 'cold plug' mean in the context of Linux hardware management?
- Devices present at boot time that are detected during system startup (Correct answer)
- Devices that require a system shutdown before removal
- Devices that operate at reduced voltage
- Devices detected only after udev is restarted
Correct answer: Devices present at boot time that are detected during system startup
Cold plug refers to hardware that is detected and initialized during the boot process rather than while the system is running.
Question 7: Which partitioning scheme supports more than 4 primary partitions and disks larger than 2 TB?
- GPT (GUID Partition Table) (Correct answer)
- MBR (Master Boot Record)
- BSD disklabel
- Apple Partition Map
Correct answer: GPT (GUID Partition Table)
GPT supports up to 128 partitions by default and addresses disks beyond 2 TB using 64-bit LBA addressing.
Which directory contains hardware and driver information exposed by the kernel as virtual files?