LFCS

LFCS practice questions, page 7 of 11, with answer review and explanations.

Question 31

SIMULATION - In which directory must definition files be placed to add additional repositories to yum?

Question 32

SIMULATION - What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)

Question 33

When removing a package, which of the following dpkg options will completely remove the files including configuration files?

  1. --clean
  2. --delete
  3. --purge
  4. –remove

Question 34

Which file should be edited to select the network locations from which Debian installation package files are loaded?

  1. /etc/dpkg/dpkg.cfg
  2. /etc/apt/apt.conf
  3. /etc/apt/apt.conf.d
  4. /etc/apt/sources.list
  5. /etc/dpkg/dselect.cfg

Question 35

SIMULATION - Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)