ExamGecko
Home Home / LPI / 201-450

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

Question list
Search
Search

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 ext4 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

Which file in /proc contains information on the status of local software RAID devices?

A.
/proc/raidstat
A.
/proc/raidstat
Answers
B.
/proc/mdstat
B.
/proc/mdstat
Answers
C.
/proc/raidstatus
C.
/proc/raidstatus
Answers
D.
/proc/mdstatus
D.
/proc/mdstatus
Answers
E.
/proc/raid/status
E.
/proc/raid/status
Answers
Suggested answer: B

Which single command will simulate a failed device within a RAID 5 array?

A.
mdadm --remove /dev/md0 /dev/sdd1
A.
mdadm --remove /dev/md0 /dev/sdd1
Answers
B.
mdadm --zero-superblock /dev/sdf3
B.
mdadm --zero-superblock /dev/sdf3
Answers
C.
mdadm --force-fault /dev/md2 /dev/sde2
C.
mdadm --force-fault /dev/md2 /dev/sde2
Answers
D.
mdadm --fail /dev/md0 /dev/sdc1
D.
mdadm --fail /dev/md0 /dev/sdc1
Answers
E.
mdadm /dev/md0 --offline /dev/sdc1
E.
mdadm /dev/md0 --offline /dev/sdc1
Answers
Suggested answer: D

Which RAID level value must be used with Linux software RAID in order to create an array of mirrored devices?

A.
1
A.
1
Answers
B.
5
B.
5
Answers
C.
6
C.
6
Answers
D.
container
D.
container
Answers
E.
mirrorstripe
E.
mirrorstripe
Answers
Suggested answer: A
Total 161 questions
Go to page: of 17