LCP-001 Practice Test & Exam Dumps
Linux Certified Professional (LCP) Powered by LPI Questions 121–125 (page: 26)

Updated On: 19-Feb-2026

A Makefile typically contains which targets?

  1. CFLAGS, CPPFLAGS, LIBS, LDFLAGS
  2. clean, install, uninstall
  3. PATHS, DESTDIR, LIBS, LDFLAGS
  4. prefix, exec_prefix, bindir, mandir

Answer(s): B



You have finished updating and resolving dependencies for some source code.
What command should you run before recompiling the code into binary form?

  1. make clean
  2. make all
  3. makedep
  4. make install

Answer(s): A



What is the difference between the --remove and the--purge action with the dpkg command?

  1. --remove removes the program, --purge also removes the config files
  2. --remove only removes the program, --purge only removes the config files
  3. --remove removes a package, --purge also removes all packages dependent on it
  4. --remove removes only the package file itself, --purge removes all files related to the package

Answer(s): A



Which RPM command will output the name of the package which installed the file /etc/exports?

  1. rpm -F /etc/exports
  2. rpm -qf /etc/exports
  3. rpm -Kl /etc/exports
  4. rpm -qp /etc/exports
  5. rpm -ql /etc/exports

Answer(s): B



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

Answer(s): D



Viewing page 26 of 60
Viewing questions 126 - 130 out of 289 questions


Post your Comments and Discuss GAQM LCP-001 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!