Exit demo LCP-001 Linux Certified Professional (LCP) Powered by LPI PDF format · free preview

GAQM LCP-001 - Questions & Answers

Free preview · every answer includes a full explanation

Product page: https://prepkeys.com/lcp-001.html

Question 1
Single choice

What file is read by the program ldconfig?

A.

/lib/ld.so

B.

/etc/ld.so.conf

C.

/etc/ld.so.cache

D.

/etc/modules.conf

Question 2
Single choice

You are building a server that will undergo many hardware and operating system upgrades. The server is the file server for all users on your 100 user network.

Which directory should have its own mountpoint and/ or hard drive?

A.

/boot

B.

/sbin

C.

/home

D.

/etc

Question 3
Single choice

Which of the following would do the same as the command cat < file1.txt > file2.
txt?

A.

cat < file1.txt file2.txt

B.

cat file1.txt >file2.txt

C.

cat <file1.txt | file2.txt

D.

cat file1.txt | file2.txt

E.

cp file1.txt>file2.txt

Question 4
Single choice

How can you update a package only if an earlier version is currently installed on the system?

A.

rmp -- update rpmname

B.

rpm -U rpmname

C.

rpm -F rpmname

D.

rpm -- force rpmname

E.

rpm -u rpmname

Question 5
Single choice

You have just upgraded your PC to a 60 gigabyte IDE drive. While partitioning the drive, you notice that only 32 gigabytes are available.

Which of the following will most likely allow you to use the entire drive?

A.

Create two smaller partitions of 30 gigabytes each.

B.

Set the PC BIOS to use LBA mode.

C.

Create a partition that resides entirely below the first 1024 cylinders.

D.

Use GRUB or the latest version of LILO as a bootloader.

E.

Upgrade the PC BIOS to the latest version available.

Question 6
Single choice

What command would execute cmd1 followed by cmd2, regardless of the exit status of cmd1?

A.

cmd1 cmd2

B.

cmd1 | cmd2

C.

cmd1 ; cmd2

D.

cmd1 && cmd2

E.

cmd1 || cmd2

Question 7
Multiple choice

The___________command allows you to view or change serial port configuration.

A.

setserial

B.

/bin/setserial

Question 8
Fill in the blank

FILL BLANK

You have a text file with tab-separated values, but your application needs them space-separated. What command would you use from the Bash shell to achieve this? Please fill in the command only, without any options.

Question 9
Single choice

You see following output while trying to install an updated package: [root@example pub]# rpm gthumb- 2.2.0.i386.rpm package gthumb- 1.0.1.i386.rpm is already installed.

Which command will allow you to install the updated version?

A.

rpm -i gthumb-2.2.0.i386.rpm

B.

rpm -ivh gthumb-2.2.0.i386.rpm

C.

rpm -U gthumb-2.2.0.i3S6.rpm

D.

rpm -qu gthumb-2.2.0.i386.rpm

E.

rpm -qiv gthumb-2.2.0.i386.rpm

Question 10
Single choice

Which of the following GNU commands would be the most likely command you'd use to find the system load average?

A.

top

B.

nice

C.

loadavg

D.

cpustat

E.

ps

Showing 10 of 289 questions · Unlock the full set