ExamGecko
Home Home / LPI / 101-500

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

Question list
Search
Search

Which of the following partition types is used for Linux swap spaces when partitioning hard disk drives?

A.
82
A.
82
Answers
B.
83
B.
83
Answers
C.
8e
C.
8e
Answers
D.
fd
D.
fd
Answers
E.
7
E.
7
Answers
Suggested answer: B

Which of the following commands prints a list of available package updates when using RPM-based package management?

A.
dpkg list
A.
dpkg list
Answers
B.
yum list
B.
yum list
Answers
C.
dpkg check-update
C.
dpkg check-update
Answers
D.
yum check-update
D.
yum check-update
Answers
E.
yum list-update
E.
yum list-update
Answers
Suggested answer: D

When planning a partition scheme, which of the following directories could be considered for separate partitions? (Choose three.)

A.
/etc
A.
/etc
Answers
B.
/home
B.
/home
Answers
C.
/var
C.
/var
Answers
D.
/lib
D.
/lib
Answers
E.
/opt
E.
/opt
Answers
Suggested answer: B

How can the list of files that would be installed by the RPM package file apache-xml.rpm be previewed?

A.
rpm -qp apache-xml.rpm
A.
rpm -qp apache-xml.rpm
Answers
B.
rpm -qv apache-xml.rpm
B.
rpm -qv apache-xml.rpm
Answers
C.
rpm -ql apache-xml.rpm
C.
rpm -ql apache-xml.rpm
Answers
D.
rpm -qpl apache-xml.rpm
D.
rpm -qpl apache-xml.rpm
Answers
Suggested answer: D

Which command will uninstall a package but leave its configuration files in case the package is reinstalled?

A.
dpkg -s pkgname
A.
dpkg -s pkgname
Answers
B.
dpkg -L pkgname
B.
dpkg -L pkgname
Answers
C.
dpkg -P pkgname
C.
dpkg -P pkgname
Answers
D.
dpkg -r pkgname
D.
dpkg -r pkgname
Answers
Suggested answer: D

Which command is used to query information about the available packages on a Debian system?

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

CORRECT TEXT

Which command shows all shared libraries required by a binary executable or another shared library? (Specify ONLY the command without any path or parameters.)

A.
ldd
A.
ldd
Answers
Suggested answer: A

Which of the following apt-get commands will install the newest versions of all currently installed packages?

A.
auto-update
A.
auto-update
Answers
B.
full-upgrade
B.
full-upgrade
Answers
C.
dist-upgrade
C.
dist-upgrade
Answers
D.
install
D.
install
Answers
E.
update
E.
update
Answers
Suggested answer: C

CORRECT TEXT

Which file from the /proc file system contains a list of all currently mounted devices? (Specify ONLY the command without any path or parameters.)

A.
mounts
A.
mounts
Answers
Suggested answer: A

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

A.
du -i
A.
du -i
Answers
B.
df -i
B.
df -i
Answers
C.
lsfs -i
C.
lsfs -i
Answers
D.
printfs -i
D.
printfs -i
Answers
Suggested answer: B
Total 246 questions
Go to page: of 25