ExamGecko
Home Home / LPI / 201-450

LPI 201-450 Practice Test - Questions Answers, Page 7

Question list
Search
Search

What is the main template file used by autofs?

A.
default.maps
A.
default.maps
Answers
B.
auto.conf
B.
auto.conf
Answers
C.
auto.master
C.
auto.master
Answers
D.
autofs.master
D.
autofs.master
Answers
Suggested answer: C

Fill in the blank:

Which directory in /dev/disk/ can be used to determine the UUID of a connected hard disk?

A.
/dev/disk/by-uuid, by-uuid,/dev/disk/by-uuid/
A.
/dev/disk/by-uuid, by-uuid,/dev/disk/by-uuid/
Answers
Suggested answer: A

What keyword is missing in the following line from /etc/fstab in order to make a USB flash device writeable by the user fred when mounted:

/dev/sda1 /mnt/usbflash vfat defaults,users,______=fred,umask=022, 0 0

(Provide the option name only without any settings)

A.
uid
A.
uid
Answers
Suggested answer: A

Due to extreme system use, a Linux system requires some additional swap space. To initialize 5GB of additional swap space, which combination of commands should be used?

A.
dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; mount /tmp/swapfile
A.
dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; mount /tmp/swapfile
Answers
B.
dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; swapon /tmp/swapfile
B.
dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; swapon /tmp/swapfile
Answers
C.
dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; swapon /tmp/swapfile
C.
dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; swapon /tmp/swapfile
Answers
D.
touch -5G /tmp/swapfile; swapon /tmp/swapfile
D.
touch -5G /tmp/swapfile; swapon /tmp/swapfile
Answers
E.
mkswap /tmp/swapfile 512000; swapon /tmp/swapfile
E.
mkswap /tmp/swapfile 512000; swapon /tmp/swapfile
Answers
Suggested answer: C

Which of the following best describes the format of the /etc/fstab file?

A.
device name; filesystem type; mount point; mount options; dump filesystem; fsck order
A.
device name; filesystem type; mount point; mount options; dump filesystem; fsck order
Answers
B.
device name; mount point; filesystem type; mount options; dump filesystem; fsck order
B.
device name; mount point; filesystem type; mount options; dump filesystem; fsck order
Answers
C.
device name; mount point; mount options; filesystem type; dump filesystem; fsck order
C.
device name; mount point; mount options; filesystem type; dump filesystem; fsck order
Answers
D.
mount point; filesystem type; device name; mount options; dump filesystem; fsck order
D.
mount point; filesystem type; device name; mount options; dump filesystem; fsck order
Answers
E.
mount point; device name; filesystem type; mount options; dump filesystem; fsck order
E.
mount point; device name; filesystem type; mount options; dump filesystem; fsck order
Answers
Suggested answer: B

How can the label root be added to the ext2 filesystem on /dev/sda1?

A.
relabel /dev/sda1 root
A.
relabel /dev/sda1 root
Answers
B.
tune2fs -L root /dev/sda1
B.
tune2fs -L root /dev/sda1
Answers
C.
echo 'root' > /proc/fs/sda1/label
C.
echo 'root' > /proc/fs/sda1/label
Answers
D.
labelfs --device /dev/sda1 root
D.
labelfs --device /dev/sda1 root
Answers
Suggested answer: B

Which of the following is a CD-ROM filesystem standard?

A.
OSI9660
A.
OSI9660
Answers
B.
ISO9660
B.
ISO9660
Answers
C.
SR0FS
C.
SR0FS
Answers
D.
ISO8859
D.
ISO8859
Answers
E.
ROM-EO
E.
ROM-EO
Answers
Suggested answer: B

What component of a system does smartd monitor?

A.
CPU
A.
CPU
Answers
B.
RAM
B.
RAM
Answers
C.
Hard drives
C.
Hard drives
Answers
D.
Ethernet traffic
D.
Ethernet traffic
Answers
Suggested answer: C

Where would fsck put any unreferenced file or file fragments on a ext4 filesystem?

A.
recover
A.
recover
Answers
B.
lost+found
B.
lost+found
Answers
C.
back
C.
back
Answers
D.
lost
D.
lost
Answers
Suggested answer: B

The main configuration file for autofs has this entry:

/home /etc/auto.home

What is the meaning of the /etc/auto.home file?

A.
It has the indirect maps for the mounting of file systems.
A.
It has the indirect maps for the mounting of file systems.
Answers
B.
It has configuration information, such as passwords and keys, for the remote file server.
B.
It has configuration information, such as passwords and keys, for the remote file server.
Answers
C.
It has configuration information on settings for the /home mount point.
C.
It has configuration information on settings for the /home mount point.
Answers
D.
It is the holds the SSL key to allow authentication to the remote file server.
D.
It is the holds the SSL key to allow authentication to the remote file server.
Answers
Suggested answer: A
Total 161 questions
Go to page: of 17