010-160 Linux System Architecture & Installation — Questions and Answers
Question 1: What is the first step in the installation of a Linux system?
- Choosing a package manager.
- Selecting a Linux distribution based on system requirements (Correct answer)
- Configuring the file system.
- Setting up a user account.
Correct answer: Selecting a Linux distribution based on system requirements
Before any installation can begin, a user must choose which Linux distribution (e.g., Ubuntu, Fedora, Debian) they want to install. This choice is critical as it dictates the installation process, available software, and overall user experience, and must be compatible with the hardware's system requirements. Once a distribution is selected, the installation media can be prepared.
Question 2: Which file system is commonly used in Linux installations?
- NTFS
- FAT32
- Ext4 (Correct answer)
- exFAT
Correct answer: Ext4
Ext4 (fourth extended filesystem) is the most widely used and recommended journaling file system for Linux installations. It offers significant improvements over its predecessors, including larger file system and file size limits, improved performance, and backward compatibility. While other file systems exist, Ext4 is the default and most common choice for stability and features.
Question 3: What does the 'root' directory in Linux represent?
- The system's user directory.
- The directory containing the kernel.
- The top-level directory containing all system files (Correct answer)
- The directory for temporary files.
Correct answer: The top-level directory containing all system files
In Linux, the 'root' directory, denoted by '/', is the absolute top of the file system hierarchy. Every other directory and file on the system is located within this root directory. It serves as the starting point for all paths and is fundamental to how Linux organizes its entire operating system.
Question 4: What is the purpose of the Linux bootloader?
- To manage system processes.
- To load the operating system kernel (Correct answer)
- To configure hardware drivers.
- To store user files.
Correct answer: To load the operating system kernel
The Linux bootloader, such as GRUB, is the initial program that runs when a computer starts up. Its essential purpose is to locate the operating system kernel on the storage device and load it into the computer's memory. This action is critical as it initiates the entire boot process, allowing the operating system to take control and start up.
Question 5: Which command is used to display the current system's IP address in Linux?
- ifconfig (Correct answer)
- ip addr
- lsmod
- netstat
Correct answer: ifconfig
The `ifconfig` command is a traditional and widely used utility in Linux for network interface configuration. It displays detailed information about the system's network interfaces, including their IP addresses, netmask, and MAC addresses. While `ip addr` is a more modern alternative, `ifconfig` remains a common command for quickly checking IP addresses.
Question 6: Which command is used to install software on a Linux system that uses APT package management?
- yum install
- apt-get install (Correct answer)
- dpkg install
- pacman -S
Correct answer: apt-get install
For Linux systems utilizing APT (Advanced Package Tool) package management, primarily Debian-based distributions like Ubuntu, `apt-get install` is the command used to install software. This command handles the retrieval of packages from repositories, resolves dependencies, and installs the requested software. It streamlines the process of adding new applications to the system.
Question 7: What is the function of the Linux kernel?
- To manage system processes.
- To provide a user interface.
- To manage system resources and hardware (Correct answer)
- To store files.
Correct answer: To manage system resources and hardware
The Linux kernel is the core component of the operating system, acting as the fundamental interface between hardware and software. Its primary function is to manage all system resources, including the CPU, memory, and peripheral devices. The kernel handles crucial tasks like process scheduling, memory allocation, and device communication, ensuring the system operates efficiently and stably.
Question 8: What is the purpose of the '/etc/fstab' file in Linux?
- To store user passwords.
- To configure system logging.
- To define how file systems are mounted during boot (Correct answer)
- To configure network settings.
Correct answer: To define how file systems are mounted during boot
The `/etc/fstab` file (file system table) is a critical configuration file in Linux that defines how file systems are mounted. It specifies which partitions or devices should be automatically mounted during the system boot process, their mount points, file system types, and various mount options. This ensures that all necessary storage is accessible to the operating system upon startup.
Question 9: Which command is used to check disk usage in Linux?
- du
- df (Correct answer)
- lsblk
- fdisk
Correct answer: df
The `df` command, short for 'disk free', is used in Linux to report file system disk space usage. It displays information such as the total capacity, used space, available space, and percentage used for each mounted file system. This command is essential for monitoring disk capacity and managing storage resources effectively.
What is the first step in the installation of a Linux system?