GAQM LCP-001 - Linux Certified Professional (LCP) Powered by LPI Exam
Page: 3 / 58
Total 289 questions
Question #11 (Topic: Topic 1)
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?
are located. Assuming it was installed with rpm, which command will list this information for
you?
A. rpm -qc postfix
B. rpm -Vc postfix
C. rpm --config postfix
D. rpm -listconfig postfix
E. rpm -qa --config postfix
Answer: A
Question #12 (Topic: Topic 1)
What tool can you use to print shared library dependencies?
A. ldconfig
B. ldd
C. libdep
D. libpath
E. ldev
Answer: B
Question #13 (Topic: Topic 1)
While installing from source code you don't see the configuration script. What command
can you run to compile the code?
can you run to compile the code?
A. make configure
B. install
C. install makefile
D. make
Answer: D
Question #14 (Topic: Topic 1)
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?
installed. Using RPM, how do you view the changelog of this file to see if you should install
the update?
A. rpm -qp --changelog screensaver-1.1.i386. rpm
B. rpm --changelog screensaver-1.1.i386. rpm
C. rpm -qc screensaver-1.1.i386. rpm
D. rpm -showchangelog screensaver-1.1.i386. rpm
Answer: A
Question #15 (Topic: Topic 1)
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?
following would be the best way to accomplish this?
A. Get the source code in a tarball and install from that source.
B. Get a source RPM and use rpm to install it.
C. Use rpm to install the program's binaries from an RPM package.
D. Use cpi to extract the binaries from a source RPM and use rpm to install those sources.
Answer: C