Summer Sale - Limited Time 55% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 5763r953

Welcome To DumpsPedia

LCP-001 Sample Questions Answers

Questions 4

Which option must be listed in /etc/fstab to activate user quotas automatically?

Options:

Buy Now
Questions 5

Which system administration command you can use to update ld.so.cache after the installation of new shared libraries?

Options:

A.

ldconfig

B.

ldd

C.

libpath

D.

newlibs

Buy Now
Questions 6

Which of the following commands will print the inode usage on each mounted filesystem?

Options:

A.

du -i

B.

df -i

C.

lsfs -i

D.

printfs -i

Buy Now
Questions 7

The command used to determine a file's type is

Options:

A.

type

B.

find

C.

file

D.

ls

Buy Now
Questions 8

Which of the following is the default Xorg configuration file?

Options:

A.

/usr/X11R6/etc/xorg.conf

B.

/var/X11/xorg.conf

C.

/etc/X11/xorg.conf

D.

/usr/etc/X11/xorg.conf

Buy Now
Questions 9

The GRUB_TIMEOUT parameter specifies a timeout period when booting in what unit of time?

Options:

A.

milliseconds

B.

tenths of seconds

C.

seconds

D.

minutes

Buy Now
Questions 10

What effect does the sticky bit have when set on a directory?

Options:

A.

There is no effect because the sticky bit has been deprecated in Linux.

B.

It provides a hint to the kernel that files in this directory should be cached in memory, if possible.

C.

It restricts deletion of files in this directory to only the root user and the file owner regardless of write permissions for other users.

D.

It instructs the kernel to keep the underlying data for the files in the directory intact to allow for undeletion of important files.

Buy Now
Questions 11

After running the command umount /mnt, the following error message is displayed: umount: /mnt: device is busy. What is a common reason for this message?

Options:

A.

The kernel has not finished flushing disk writes to the mounted device.

B.

A user has a file open in the /mnt directory.

C.

The previous rm command has not finished.

D.

The files in /mnt have been scanned and added to the locate database.

E.

The kernel thinks that a process is about to open a file in /mnt for reading.

Buy Now
Questions 12

Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?

Options:

A.

locate

B.

which

C.

find

D.

query

E.

whereis

Buy Now
Questions 13

Identify the proper device for the third partition on the only SCSI drive on the system.

Options:

A.

/dev/hda3

B.

/dev/sd0a3

C.

/dev/sda3

D.

/dev/sd1p3

Buy Now
Questions 14

Which of the following statements would create a default route using a gateway of 192.168.1.1?

Options:

A.

netstat -add default gw

B.

route default 192.168.1.1

C.

ip route default 192.168.1.1

D.

route add default gw 192.168.1.1

E.

ifconfig default gw 192.168.1.1 eth0

Buy Now
Questions 15

Typically, which top level system directory is used for files and data that changes regularly while the system is running and are to be kept between reboots? (Specify only the the top level directory) Answer:

Options:

Buy Now
Questions 16

The system configuration file named _______ is commonly used to set the default runlevel. (Please provide the fill name with full path information) Answer:

Options:

Buy Now
Questions 17

While using the vi editor, you wish to move ahead one page. You should press the control key and:

Options:

A.

A

B.

D

C.

F

D.

U

Buy Now
Questions 18

Which of the following programs is typically used to query installed debian packages? (Please select TWO that apply)

Options:

A.

dpkg

B.

apt-cache

C.

apt-conf

D.

dselect

Buy Now
Questions 19

You are formatting a single hard disk for a Linux install. What is the maximum number of primary partitions you can create?

Options:

Buy Now
Questions 20

You need to create a simple hierarchy of directories: images/photos/summer/ottawa/. None of the directories on that path exists. What command will create all of the needed directories in one step?

Options:

A.

mkdir -r images/photos/summer/ottawa/

B.

mkdir -R images/photos/summer/ottawa/

C.

mkdir -p images/photos/summer/ottawa/

D.

mkdir -P images/photos/summer/ottawa/

E.

mkdir -m images/photos/summer/ottawa/

Buy Now
Questions 21

You are looking for an executable file foo. Select the command that would search for foo within directories set in the shell variable, PATH.

Options:

A.

locate

B.

which

C.

find

D.

query

E.

whereis

Buy Now
Questions 22

The _____________ command displays ISA plug-and-play devices resource information.

Options:

Buy Now
Questions 23

How can you turn off the group quota in /pub?

Options:

A.

quotaoff /pub

B.

quotaoff -gv /pub

C.

quotadown /pub

D.

rm /pub/quota.group

Buy Now
Questions 24

Which command will print out the attributes of the file foobar?

Options:

A.

ls --attr foobar

B.

lsattr foobar

C.

printattr foobar

D.

fileattr foobar

Buy Now
Questions 25

You installed a beta rpm package, but are experiencing some problems with it. How can you remove this package?

Options:

A.

rpm -qe rpmname

B.

rpm -V --remove rpmname

C.

rpm -r rpmname

D.

rpm -d rpmname

E.

rpm -ev rpmname

Buy Now
Questions 26

To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program's shared libraries?

Options:

A.

LD_LOAD_PATH

B.

LD_LIB_PATH

C.

LD_LIBRARY_PATH

D.

LD_SHARE_PATH

E.

LD_RUN_PATH

Buy Now
Questions 27

What tool can you use to print shared library dependencies?

Options:

A.

ldconfig

B.

ldd

C.

libdep

D.

libpath

E.

ldev

Buy Now
Questions 28

You need to install a fax server. Which type of fax/modem should you install to insure Linux compatibility?

Options:

A.

External Serial Fax/modem

B.

External USB Fax/modem

C.

Internal ISA Fax/modem

D.

Internal PCI Fax/modem

Buy Now
Questions 29

What command is used to display a file in octal format?

Options:

Buy Now
Questions 30

What command changes the priority of the process running with process id of 12345 to the highest priority?

Options:

A.

/usr/bin/renice +20 1234

B.

/usr/bin/renice -20 12345

C.

/bin/setpriority +20 12345

D.

/bin/setpriority -20 12345

Buy Now
Questions 31

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

Options:

A.

cat < file1.txt file2.txt

B.

cat file1.txt >file2.txt

C.

cat

D.

cat file1.txt | file2.txt

E.

cp file1.txt>file2.txt

Buy Now
Questions 32

How many SCSI ids for peripherals can SCSI-1 support?

Options:

A.

5

B.

6

C.

7

D.

8

Buy Now
Questions 33

You have just added a CD-ROM drive (/dev/hdd) to your system and have added it to your fstab. Typically you can use which of the following commands to mount media in that drive to /mnt/cdrom?

Options:

A.

mount/dev/cdrom/mnt/cdrom

B.

mount/dev/cdrom

C.

mount -t cdrom/dev/cdrom/mnt/cdrom

D.

mount/mnt/cdrom

E.

automount/mnt/hdd/mnt/cdrom

Buy Now
Questions 34

You just started X for the first time and noticed that the display does not use the entire screen. What program can you use to fix this?

Options:

A.

xvidtune

B.

xf86config

C.

XF86Setup

D.

tweakscreen

Buy Now
Questions 35

Which option must be listed in /etc/fstab to activate user quotas automatically?

Options:

A.

quota

B.

user

C.

quotaon

D.

usrquota

Buy Now
Questions 36

You have run out of disk space on a partition. Which of the following would be an easy way to move data to a new partition without reconfiguring the path to the data in existing applications?

Options:

A.

Run ext2fs ACL.

B.

Use a hard link.

C.

Use a symbolic link.

D.

Use the loopback device.

E.

Create a block device offset.

Buy Now
Questions 37

What does the command mount -a do?

Options:

A.

It mounts the floppy disk for all users.

B.

It shows all mounted file systems.

C.

It opens /etc/fstab to edit.

D.

It mounts all file systems listed in /etc/fstab.

Buy Now
Questions 38

What does the Filesystem Hierarchy Standard enable? (Select TWO answers)

Options:

A.

Software to predict the location of installed files and directories

B.

Software to predict the ownership and access rights of installed files and directories

C.

Users to predict the location of installed files and directories.

D.

Users to predict how the filesystem should be formatted according to need.

Buy Now
Questions 39

You have created a really long letter and after you are done, you notice that you used the name "Bob" many times but your forgot to capitalize it in many instances. Which command would you replace "bob" with "Bob" in all instances and generate a new letter for printing?

Options:

A.

sed `/bob/Bob' letter > newletter

B.

sed s/bob/Bob/ letter < newletter

C.

sed `s/bob/Bob' letter > newletter

D.

sed `s/bob/Bob/g' letter > newletter

E.

sed s/bob, Bob/' letter > newletter

Buy Now
Questions 40

Identify the proper device for the third partition, on the second hard disk, on the first IDE controller on a PC system.

Options:

A.

/dev/hdb3

B.

/dev/hd1b3

C.

/dev/hdc1b3

D.

/dev/hdc1d2p3

Buy Now
Questions 41

In the vi editor, what vi command will copy (but not paste) from the current line at the cursor and the following 16 lines (17 lines total)? Enter the correct vi command without spaces.

Options:

Buy Now
Questions 42

Which of the following commands will NOT execute the bash script /usr/local/bin/runme.sh?

Options:

A.

source /usr/local/bin/runme.sh

B.

. /usr/local/bin/runme.sh

C.

/bin/bash /usr/local/bin/runme.sh

D.

/usr/local/bin/runme.sh

E.

run /usr/local/bin/runme.sh

Buy Now
Questions 43

When in Normal mode in vi, which command character will insert a blank line below the current cursor position and place the insert cursor at the beginning of the new line?

Options:

A.

a

B.

i

C.

n

D.

o

Buy Now
Status:
Expired
Exam Code: LCP-001
Exam Name: Linux Certified Professional (LCP) Powered by LPI
Last Update: Mar 14, 2024
Questions: 289
$72  $159.99
$54  $119.99
$45  $99.99
buy now LCP-001