Linux Installation Process, Partitioning, and Dual-Booting Linux Quiz Part : 9
Question 1:
What is the purpose of the /bin
directory in Linux?
A) To store user files
B) To contain essential command binaries for all users
C) To store system logs
D) To house temporary files
Answer: B) To contain essential command binaries for all users
Question 2:
Which command is used to create a swap partition in Linux?
A) mkfs
B) mkswap
C) fdisk
D) mkpartition
Answer: B) mkswap
Question 3:
What does the grub-install
command do in Linux?
A) Installs the GRUB bootloader to a specified device
B) Configures the bootloader
C) Installs a new Linux distribution
D) Installs software packages
Answer: A) Installs the GRUB bootloader to a specified device
Question 4:
Which directory in Linux is used to store log files?
A) /etc
B) /var/log
C) /boot
D) /usr
Answer: B) /var/log
Question 5:
What is the main advantage of using the Btrfs filesystem in Linux?
A) It is faster than ext4
B) It supports snapshots and built-in RAID
C) It is compatible with Windows
D) It requires less disk space
Answer: B) It supports snapshots and built-in RAID
Question 6:
What is the function of the swap
partition in Linux?
A) To store the Linux kernel
B) To provide virtual memory
C) To store system configuration files
D) To house user data
Answer: B) To provide virtual memory
Question 7:
Which command is used to modify the GRUB configuration file in Linux?
A) grub-install
B) update-grub
C) grub-mkconfig
D) grub-setup
Answer: C) grub-mkconfig
Question 8:
What does the /media
directory typically contain in a Linux system?
A) Mounted removable media such as USB drives
B) User data
C) System binaries
D) Temporary files
Answer: A) Mounted removable media such as USB drives
Question 9:
Which file in Linux holds the bootloader configuration for GRUB?
A) /boot/vmlinuz
B) /etc/grub.conf
C) /boot/grub/grub.cfg
D) /var/log/grub.log
Answer: C) /boot/grub/grub.cfg
Question 10:
What is the purpose of the /usr/local
directory in Linux?
A) To store locally compiled software and custom applications
B) To store user documents
C) To store system-wide configuration files
D) To contain kernel modules
Answer: A) To store locally compiled software and custom applications
0 Comments