LPIC-2: Linux Engineer 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 :
  • /etc

Explanation :

The /etc/directory contains configuration files that are needed while your server boots. Putting /etc on a dedicated device would make your server unbootable.
Answer :
  • pkill
  • kill

Explanation :

he pkill and kill commands allow you to send Linux process signals to running applications, so options B and D are correct.
Answer :
  • ForwardX11 yes

Explanation :

The ForwardX11 option in the /etc/ssh/ssh_config file enables support for graphical applications through SSH.
Answer :
  • /var/log/audit/audit.log

Explanation :

SELinux events are logged through the audit service, which maintains its log in /var/log/audit/audit.log.
Answer :
  • /etc/hostname

Explanation :

Explanation: The name of the configuration file that contains the hostname is /etc/hostname.
Answer :
  • /var

Explanation :

The /var directory is used on Linux to store files that may grow unexpectedly.