ExamGecko
Home Home / LPI / 101-500

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

Question list
Search
Search

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

A.
dirname
A.
dirname
Answers
B.
which
B.
which
Answers
C.
basename
C.
basename
Answers
D.
query
D.
query
Answers
E.
whereis
E.
whereis
Answers
Suggested answer: E

Which of the following commands changes the number of days before the ext3 filesystem on

/dev/sda1 has to run through a full filesystem check while booting?

A.
tune2fs -d 200 /dev/sda1
A.
tune2fs -d 200 /dev/sda1
Answers
B.
tune2fs -c 200 /dev/sda1
B.
tune2fs -c 200 /dev/sda1
Answers
C.
tune2fs -i 200 /dev/sda1
C.
tune2fs -i 200 /dev/sda1
Answers
D.
tune2fs -n 200 /dev/sda1
D.
tune2fs -n 200 /dev/sda1
Answers
E.
tune2fs --days 200 /dev/sda1
E.
tune2fs --days 200 /dev/sda1
Answers
Suggested answer: C

Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?

A.
ext2
A.
ext2
Answers
B.
ext3
B.
ext3
Answers
C.
ext4
C.
ext4
Answers
D.
XFS
D.
XFS
Answers
E.
VFAT
E.
VFAT
Answers
Suggested answer: A

How many fields are in a syntactically correct line of /etc/fstab?

A.
3
A.
3
Answers
B.
4
B.
4
Answers
C.
5
C.
5
Answers
D.
6
D.
6
Answers
E.
7
E.
7
Answers
Suggested answer: D

CORRECT TEXT

Which command is used to create and initialize the files used to store quota information? (Specify ONLY the command without any path or parameters.)

A.
quotacheck
A.
quotacheck
Answers
Suggested answer: A

Which of the following file permissions belong to a symbolic link?

A.
-rwxrwxrwx
A.
-rwxrwxrwx
Answers
B.
+rwxrwxrwx
B.
+rwxrwxrwx
Answers
C.
lrwxrwxrwx
C.
lrwxrwxrwx
Answers
D.
srwxrwxrwx
D.
srwxrwxrwx
Answers
Suggested answer: C

Creating a hard link to an ordinary file returns an error. What could be the reason for this?

A.
The source file is hidden.
A.
The source file is hidden.
Answers
B.
The source file is read-only.
B.
The source file is read-only.
Answers
C.
The source file is a shell script.
C.
The source file is a shell script.
Answers
D.
The source file is already a hard link.
D.
The source file is already a hard link.
Answers
E.
The source and the target are on different filesystems.
E.
The source and the target are on different filesystems.
Answers
Suggested answer: E

Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)

A.
/sbin/mke2fs -j /dev/sdb1
A.
/sbin/mke2fs -j /dev/sdb1
Answers
B.
/sbin/mkfs -t ext3 /dev/sdb1
B.
/sbin/mkfs -t ext3 /dev/sdb1
Answers
C.
/sbin/mkfs -c ext3 /dev/sdb1
C.
/sbin/mkfs -c ext3 /dev/sdb1
Answers
D.
/sbin/mke3fs -j /dev/sdb1
D.
/sbin/mke3fs -j /dev/sdb1
Answers
Suggested answer: A, B

Which of the following commands will change the quota for a specific user?

A.
edquota
A.
edquota
Answers
B.
repquota
B.
repquota
Answers
C.
quota -e
C.
quota -e
Answers
D.
quota
D.
quota
Answers
Suggested answer: A

Which utility would be used to change how often a filesystem check is performed on an ext2 filesystem without losing any data stored on that filesystem?

A.
mod2fs
A.
mod2fs
Answers
B.
fsck
B.
fsck
Answers
C.
tune2fs
C.
tune2fs
Answers
D.
mke2fs
D.
mke2fs
Answers
E.
fixe2fs
E.
fixe2fs
Answers
Suggested answer: C
Total 246 questions
Go to page: of 25