Advertisement

Linux Installation Process, Partitioning, and Dual-Booting Linux Quiz Part : 8

Linux Installation Process, Partitioning, and Dual-Booting Linux Quiz Part : 8

Question 1:
What is the purpose of the /lib directory in Linux?
A) To store user data
B) To store essential shared libraries and kernel modules
C) To store system logs
D) To store bootloader configuration

Answer: B) To store essential shared libraries and kernel modules


Question 2:
Which partition type is used to store boot-related files in a Linux system?
A) /usr
B) /boot
C) /var
D) /home

Answer: B) /boot


Question 3:
What is the primary function of the fstab file in Linux?
A) To manage system logs
B) To configure file system mounting at boot time
C) To list installed packages
D) To configure network settings

Answer: B) To configure file system mounting at boot time


Question 4:
What does the lsblk command display in Linux?
A) Disk usage statistics
B) A list of block devices
C) Kernel version information
D) Mounted file systems

Answer: B) A list of block devices


Question 5:
Which of the following is a Linux command used to format a partition?
A) mkfs
B) mkdir
C) mkswap
D) mkmount

Answer: A) mkfs


Question 6:
What is the purpose of the /srv directory in Linux?
A) To store user files
B) To contain data for services provided by the system
C) To store system logs
D) To store bootloader configuration

Answer: B) To contain data for services provided by the system


Question 7:
What does the du command do in Linux?
A) Displays free disk space
B) Shows disk usage by file and directory
C) Lists mounted file systems
D) Configures the bootloader

Answer: B) Shows disk usage by file and directory


Question 8:
Which directory typically contains the Linux kernel and initramfs files?
A) /etc
B) /usr
C) /boot
D) /home

Answer: C) /boot


Question 9:
What is a key benefit of using Logical Volume Management (LVM) in Linux?
A) It increases system speed
B) It allows resizing of disk partitions on the fly
C) It simplifies dual-boot configurations
D) It improves security

Answer: B) It allows resizing of disk partitions on the fly


Question 10:
Which Linux file system is best suited for flash drives and SD cards due to its lightweight nature?
A) ext4
B) NTFS
C) FAT32
D) Btrfs

Answer: C) FAT32

Post a Comment

0 Comments