ExamGecko
Home Home / LPI / 101-500

LPI 101-500 Practice Test - Questions Answers, Page 5

Question list
Search
Search

List of questions

Search

Which file should be edited to select the network locations from which Debian installation package files are loaded?

A.
/etc/dpkg/dpkg.cfg
A.
/etc/dpkg/dpkg.cfg
Answers
B.
/etc/apt/apt.conf
B.
/etc/apt/apt.conf
Answers
C.
/etc/apt/apt.conf.d
C.
/etc/apt/apt.conf.d
Answers
D.
/etc/apt/sources.list
D.
/etc/apt/sources.list
Answers
E.
/etc/dpkg/dselect.cfg
E.
/etc/dpkg/dselect.cfg
Answers
Suggested answer: D

CORRECT TEXT

Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)

A.
update, upgrade
A.
update, upgrade
Answers
Suggested answer: A

CORRECT TEXT

Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)

A.
swapoff,/sbin/swapoff
A.
swapoff,/sbin/swapoff
Answers
Suggested answer: A

CORRECT TEXT

Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)

A.
dpkgreconfigure
A.
dpkgreconfigure
Answers
Suggested answer: A

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?

A.
dd if=/dev/zero of=/dev/sda bs=512
A.
dd if=/dev/zero of=/dev/sda bs=512
Answers
B.
dd if=/dev/zero of=/dev/sda bs=512 count=1
B.
dd if=/dev/zero of=/dev/sda bs=512 count=1
Answers
C.
dd if=/dev/zero of=/dev/sda bs=440 count=1
C.
dd if=/dev/zero of=/dev/sda bs=440 count=1
Answers
D.
dd if=/dev/zero of=/dev/sda bs=440
D.
dd if=/dev/zero of=/dev/sda bs=440
Answers
Suggested answer: C

Which of the following commands can be used to perform a full text search on all available packages on a Debian system?

A.
apt
A.
apt
Answers
B.
apt-cache
B.
apt-cache
Answers
C.
apt-get
C.
apt-get
Answers
D.
apt-search
D.
apt-search
Answers
E.
dpkg
E.
dpkg
Answers
Suggested answer: B

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?

A.
LD_LOAD_PATH
A.
LD_LOAD_PATH
Answers
B.
LD_LIB_PATH
B.
LD_LIB_PATH
Answers
C.
LD_LIBRARY_PATH
C.
LD_LIBRARY_PATH
Answers
D.
LD_SHARE_PATH
D.
LD_SHARE_PATH
Answers
E.
LD_RUN_PATH
E.
LD_RUN_PATH
Answers
Suggested answer: C

CORRECT TEXT

To prevent users from being able to fill up the / partition, the ____________ directory should be on a separate partition if possible because it is world writeable.

A.
/tmp, tmp
A.
/tmp, tmp
Answers
Suggested answer: A

CORRECT TEXT

An administrator has issued the following command: grub-install --root-directory=/custom-grub /dev/sda In which directory will new configuration files be found? (Provide the full directory path only without the filename)

A.
/customgrub/ boot/grub/,/custom-grub/boot/grub
A.
/customgrub/ boot/grub/,/custom-grub/boot/grub
Answers
Suggested answer: A

CORRECT TEXT

The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time.

A.
reconfigure
A.
reconfigure
Answers
Suggested answer: A
Total 246 questions
Go to page: of 25