Advertisement

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

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

Question 1:
Which command is commonly used to check available disk space on Linux?
A) ls
B) df
C) du
D) fdisk

Answer: B) df


Question 2:
What is the maximum number of primary partitions supported by the MBR partitioning scheme?
A) 2
B) 4
C) 6
D) 8

Answer: B) 4


Question 3:
Which of the following is a partitioning tool available during many Linux installations?
A) fdisk
B) top
C) ps
D) lsblk

Answer: A) fdisk


Question 4:
What does the mount command do in Linux?
A) It creates a new partition
B) It attaches a filesystem to a directory
C) It formats a partition
D) It installs a new OS

Answer: B) It attaches a filesystem to a directory


Question 5:
What is the purpose of the /dev directory in Linux?
A) To store user files
B) To contain device files representing hardware
C) To store system logs
D) To store bootloader configuration

Answer: B) To contain device files representing hardware


Question 6:
Which file system should you choose if you need compatibility with both Linux and older Windows systems?
A) ext3
B) NTFS
C) FAT32
D) ext4

Answer: C) FAT32


Question 7:
What does the mkfs command do in Linux?
A) Mounts a filesystem
B) Creates a new filesystem on a partition
C) Resizes a partition
D) Deletes a partition

Answer: B) Creates a new filesystem on a partition


Question 8:
What is the function of the /sbin directory in Linux?
A) To store user binaries
B) To store system binaries used by the root user
C) To store system libraries
D) To store temporary files

Answer: B) To store system binaries used by the root user


Question 9:
Which of the following directories is often recommended to be placed on a separate partition for security reasons?
A) /tmp
B) /var
C) /usr
D) /etc

Answer: A) /tmp


Question 10:
What is the purpose of the /proc directory in Linux?
A) To store user files
B) To contain system information as virtual files
C) To house the kernel
D) To store bootloader settings

Answer: B) To contain system information as virtual files

Post a Comment

0 Comments