koenig-logo

LPIC-1 Exam Prep (Course 1) v5.0 Quiz Questions and Answers

Answer :
  • df -T

Explanation :

The df -h command shows mounted devices and the amount of disk space currently in use on these devices. The -T option helps in recognizing real file systems (as opposed to kernel interfaces) because it shows the file system type as well.
Answer :
  • Soft links create a reference to files path, hard links reference inode directly.

Explanation :

Hard links directly reference the inode of the file, functioning as a clone of the original file, whereas soft links (symbolic links) reference the files pathname, making them dependent on the original files location.
Answer :
  • d[o-u]g

Explanation :

The bracket expression within the d[o-u]g regular expression in option C means that any three-character string beginning in d , ending in g , and with the middle character being between o and u will match.
Answer :
  • By isolating functions for specialized tasks

Explanation :

Modularity in Unix refers to the design principle of splitting tasks into smaller sub-tasks or 'modules,' simplifying both development and troubleshooting, thus enhancing efficiency and effectiveness.
Answer :
  • set default=

Explanation :

The `set default=` directive in the GRUB configuration file specifies the default entry to boot. This helps manage multiple operating system installations and ensures the correct one boots by default.
Answer :
  • The kernel handles processes, memory, device management, and system calls.

Explanation :

The kernel is the core component of the Linux operating system responsible for managing resources like CPU, memory, and devices, ensuring applications can request system resources via system calls.
Answer :
  • modprobe

Explanation :

The modprobe utility along with its -r switch is the utility to employ for removing (unloading) a kernel module along with any of its dependencies. Therefore, option E is the correct answer.
Answer :
  • mv moves on the same partition without data duplication

Explanation :

The mv command moves files without duplicating when within the same partition, which leads to faster operation without data duplication, while cp copies data, preserving the original files.