ExamGecko
Home Home / LPI / 101-500

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

Question list
Search
Search

Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed? (Choose TWO correct answers.)

A.
ext3
A.
ext3
Answers
B.
JFS
B.
JFS
Answers
C.
ext2
C.
ext2
Answers
D.
XFS
D.
XFS
Answers
E.
procfs
E.
procfs
Answers
Suggested answer: A, C

What is the purpose of the Filesystem Hierarchy Standard?

A.
It is a security model used to ensurefiles are organized according to their permissions and accessibility.
A.
It is a security model used to ensurefiles are organized according to their permissions and accessibility.
Answers
B.
It provides unified tools to create, maintain and manage multiple filesystems in a common way.
B.
It provides unified tools to create, maintain and manage multiple filesystems in a common way.
Answers
C.
It defines a common internal structure of inodes for all compliant filesystems.
C.
It defines a common internal structure of inodes for all compliant filesystems.
Answers
D.
Itis a distribution neutral description of locations of files and directories.
D.
Itis a distribution neutral description of locations of files and directories.
Answers
Suggested answer: D

CORRECT TEXT

Which umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Specify only the numerical umask value.)

A.
0077, 077
A.
0077, 077
Answers
Suggested answer: A

Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)

A.
FIND
A.
FIND
Answers
B.
ID
B.
ID
Answers
C.
LABEL
C.
LABEL
Answers
D.
NAME
D.
NAME
Answers
E.
UUID
E.
UUID
Answers
Suggested answer: C, E

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?

A.
The kernel has not finished flushing disk writes to themounted device.
A.
The kernel has not finished flushing disk writes to themounted device.
Answers
B.
A user has a file open in the /mnt directory.
B.
A user has a file open in the /mnt directory.
Answers
C.
Another file system still contains a symlink to a file inside /mnt.
C.
Another file system still contains a symlink to a file inside /mnt.
Answers
D.
The files in /mnt have been scanned and added to the locate database.
D.
The files in /mnt have been scanned and added to the locate database.
Answers
E.
The kernel thinks that a process is about toopen a file in /mnt for reading.
E.
The kernel thinks that a process is about toopen a file in /mnt for reading.
Answers
Suggested answer: B

What does the command mount -a do?

A.
It mounts all available filesystems onto the current directory.
A.
It mounts all available filesystems onto the current directory.
Answers
B.
It shows all mounted filesystems.
B.
It shows all mounted filesystems.
Answers
C.
It mounts all user mountable filesystems for thecurrent user.
C.
It mounts all user mountable filesystems for thecurrent user.
Answers
D.
It mounts all filesystems listed in /etc/fstab which have the option auto set.
D.
It mounts all filesystems listed in /etc/fstab which have the option auto set.
Answers
E.
It mounts all filesystems listed in /etc/fstab which have the option noauto set.
E.
It mounts all filesystems listed in /etc/fstab which have the option noauto set.
Answers
Suggested answer: D

Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)

A.
chmod +s /tmp
A.
chmod +s /tmp
Answers
B.
chmod +t /tmp
B.
chmod +t /tmp
Answers
C.
chmod 1775 /tmp
C.
chmod 1775 /tmp
Answers
D.
chmod 4775 /tmp
D.
chmod 4775 /tmp
Answers
E.
chmod 2775 /tmp
E.
chmod 2775 /tmp
Answers
Suggested answer: B, C

Which of the following commands can be used to display the inode number of a given file?

A.
inode
A.
inode
Answers
B.
ls
B.
ls
Answers
C.
ln
C.
ln
Answers
D.
cp
D.
cp
Answers
Suggested answer: B

Which of the following commands shows the definition of a given shell command?

A.
where
A.
where
Answers
B.
stat
B.
stat
Answers
C.
type
C.
type
Answers
D.
case
D.
case
Answers
Suggested answer: C

What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?

A.
The command is SetUID and it will be executed with the effective rights of the owner.
A.
The command is SetUID and it will be executed with the effective rights of the owner.
Answers
B.
The command will be executed with the effective rights of the group instead of the owner.
B.
The command will be executed with the effective rights of the group instead of the owner.
Answers
C.
The execute flag is not set for the owner. Therefore the SetUID flag is ignored.
C.
The execute flag is not set for the owner. Therefore the SetUID flag is ignored.
Answers
D.
The command will be executed with the effective rights of the owner and group.
D.
The command will be executed with the effective rights of the owner and group.
Answers
Suggested answer: C
Total 246 questions
Go to page: of 25