GAQM LCP-001 Exam Questions
Linux Certified Professional (LCP) Powered by LPI (Page 4 )

Updated On: 21-Feb-2026

You need to know where all the configuration files for the installed package named "postfix" are located. Assuming it was installed with rpm, which command will list this information for you?

  1. rpm -qc postfix
  2. rpm -Vc postfix
  3. rpm --config postfix
  4. rpm -listconfig postfix
  5. rpm -qa --config postfix

Answer(s): A



What tool can you use to print shared library dependencies?

  1. ldconfig
  2. ldd
  3. libdep
  4. libpath
  5. ldev

Answer(s): B

Explanation:

ldd command prints the shared libraries required by each program or shared library specified on the command line. Example: ldd libdb.so.3 libc.so.6 => /lib/tls/libc.so.6 (0x00237000) /lib/ld-linux.so.2 (0x0021e000)



While installing from source code you don't see the configuration script.
What command can you run to compile the code?

  1. make configure
  2. install
  3. install makefile
  4. make

Answer(s): D

Explanation:

The purpose of the make utility is to determine automatically which pieces of a large program need to be recompiled, and issue the commands to recompile them. example C programs, since they are most common, but you can use make with any programming language whose compiler can be run with a shell command. In fact, make is not limited to programs. You can use it to describe any task where some files must be updated automatically from others whenever the others change. To prepare to use make, you must write a file called the makefile that describes the relationships among files in your program, and the states the commands for updating each file. In a program,typically the executable file is updated from object files, which are in turn made by compiling source files. So, make command compile the source code.



You have an updated RPM called screensaver-1.1.i386. rpm. You have version 1.0 installed. Using RPM, how do you view the changelog of this file to see if you should install the update?

  1. rpm -qp --changelog screensaver-1.1.i386. rpm
  2. rpm --changelog screensaver-1.1.i386. rpm
  3. rpm -qc screensaver-1.1.i386. rpm
  4. rpm -showchangelog screensaver-1.1.i386. rpm

Answer(s): A



You are about to install a new program on an RPM based Linux system.
Which of the following would be the best way to accomplish this?

  1. Get the source code in a tarball and install from that source.
  2. Get a source RPM and use rpm to install it.
  3. Use rpm to install the program's binaries from an RPM package.
  4. Use cpi to extract the binaries from a source RPM and use rpm to install those sources.

Answer(s): C






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

Join the LCP-001 Discussion