ExamGecko
Home Home / LPI / 101-500

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

Question list
Search
Search

CORRECT TEXT

Following the Filesystem Hierarchy Standard (FHS), where should binaries that have been compiled by the system administrator be placed in order to be made available to all users on the system?

A.
/usr/local/bin/
A.
/usr/local/bin/
Answers
Suggested answer: A

Which of the following commands is used to change metadata and options for ext3 filesystems?

A.
mod3fs
A.
mod3fs
Answers
B.
tune3fs
B.
tune3fs
Answers
C.
mod2fs
C.
mod2fs
Answers
D.
tune2fs
D.
tune2fs
Answers
E.
dump2fs
E.
dump2fs
Answers
Suggested answer: D

Which of the following are filesystems which can be used on Linux root partitions? (Choose two.)

A.
NTFS
A.
NTFS
Answers
B.
ext3
B.
ext3
Answers
C.
XFS
C.
XFS
Answers
D.
VFAT
D.
VFAT
Answers
E.
swap
E.
swap
Answers
Suggested answer: B, E

How is a symbolic link called bar.conf pointing to foo.conf created?

A.
ln -s foo.conf bar.conf
A.
ln -s foo.conf bar.conf
Answers
B.
ln foo.conf bar.conf
B.
ln foo.conf bar.conf
Answers
C.
ln -s bar.conf foo.conf
C.
ln -s bar.conf foo.conf
Answers
D.
ln bar.conffoo.conf
D.
ln bar.conffoo.conf
Answers
Suggested answer: A

Which of the following is true for hard linked files? (Choose three.)

A.
The output ofstatwill reporthardinstead ofregular file.
A.
The output ofstatwill reporthardinstead ofregular file.
Answers
B.
The hard linked files have the same permissions and owner.
B.
The hard linked files have the same permissions and owner.
Answers
C.
The hard linked files share the same inode.
C.
The hard linked files share the same inode.
Answers
D.
The hard linked files are indicated by a -> when listed withls -1.
D.
The hard linked files are indicated by a -> when listed withls -1.
Answers
E.
The hard linked files must be on the same filesystem.
E.
The hard linked files must be on the same filesystem.
Answers
Suggested answer: B, C, E

Which of the following commands will mount an already inserted CD-ROM in /dev/sr0 onto an existing directory /mnt/cdrom when issued with root privileges?

A.
mount /dev/cdrom /mnt/cdrom
A.
mount /dev/cdrom /mnt/cdrom
Answers
B.
mount /dev/sr0 /mnt/cdrom
B.
mount /dev/sr0 /mnt/cdrom
Answers
C.
mount -t cdrom /dev/sr0 /mnt/cdrom
C.
mount -t cdrom /dev/sr0 /mnt/cdrom
Answers
D.
mount -l cdrom /dev/sr0 /mnt/cdrom
D.
mount -l cdrom /dev/sr0 /mnt/cdrom
Answers
E.
mount -f /dev/sr0/mnt/cdrom
E.
mount -f /dev/sr0/mnt/cdrom
Answers
Suggested answer: C

Which chown command will change the ownership to dave and the group to staff on a file named data.txt?

A.
chown dave/staff data.txt
A.
chown dave/staff data.txt
Answers
B.
chown -u dave -g staff data.txt
B.
chown -u dave -g staff data.txt
Answers
C.
chown --user dave --group staff data.txt
C.
chown --user dave --group staff data.txt
Answers
D.
chown dave:staff data.txt
D.
chown dave:staff data.txt
Answers
Suggested answer: D

CORRECT TEXT

Which command creates a swap space on a block device or a file? (Specify ONLY the command without any path or parameters.)

A.
mkswap
A.
mkswap
Answers
Suggested answer: A

Which of the following commands is used to modify quota settings? (Choose two.)

A.
editquota
A.
editquota
Answers
B.
setquota
B.
setquota
Answers
C.
edquota
C.
edquota
Answers
D.
quotaedit
D.
quotaedit
Answers
E.
quotaset
E.
quotaset
Answers
Suggested answer: C

CORRECT TEXT

Which program updates the database that is used by the locate command?

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