Exam Questions and CORRECT Answers
Which of the following commands can only be used to create partitions on a GPT hard disk?
a. gdisk
b. cfdisk
c. fdisk
d. parted - CORRECT ANSWER - a. gdisk
After a partition on a hard disk is formatted with a filesystem, all partitions on that hard disk
drive must use the same filesystem. True or False?
a. True b. False - CORRECT ANSWER - b. False
You want to see the filesystems that are in use on the system. What command could you use?
(Choose all that apply.)
a. cat /etc/fstab
b. df -T
c. cat /etc/mtab
d. ls /sys/block - CORRECT ANSWER - b. df -T
c. cat /etc/mtab
Jim has just installed two new SAS SSDs in his system. He properly installs the hardware in his
machine. Before he can use them for data storage and retrieval, what must he do? (Choose all
that apply.)
a. Mount the two SSDs so they are accessible by the operating system.
b. Mount a filesystem to each of SSDs.
c. Create one or more partitions on each of the SSDs.
d. Use the vi editor to edit /etc/mtab and create an entry for the SSDs.
e. Mount any partitions created on the two SSDs such that they are accessible by the operating
system.
, f. Format any partitions created on the SSDs with a valid filesystem recognized by Linux. -
CORRECT ANSWER - c. Create one or more partitions on each of the SSDs.
e. Mount any partitions created on the two SSDs such that they are accessible by the operating
system.
f. Format any partitions created on the SSDs with a valid filesystem recognized by Linux.
Given the following output from /etc/fstab, which filesystems will be automatically checked on
boot by the fsck command?/dev/sda1 / ext4 defaults 1 1none /dev/pts devpts gid=5,mode=620 1
0none /proc proc defaults 0 1none /dev/shm tmpfs defaults 1 0/dev/sdc2 swap swap defaults 0
1/dev/dvd /media/dvd iso9660 noauto,ro 0 0
a. none, as fsck must be run manually for each filesystem
b. /, /dev/pts, and /dev/shm
c. /, /proc, and swap
d. all of them, as fsck is run automatically at boot for all filesystems - CORRECT
ANSWER - c. /, /proc, and swap
A user mounts a device to a mount point directory and realizes afterward she needs files
previously found within the mount point directory. What should this user do?
a. Nothing; the files are lost and cannot ever be accessed.
b. Nothing; the files could not have been there because you can only mount to empty directories.
c. Unmount the device from the directory.
d. Run the fsck command to recover the file.
e. Look in the lost+found directory for the file. - CORRECT ANSWER - c. Unmount the
device from the directory.
Which command is used to display the amount of free space that exists on a filesystem?
a. fsck
b. quota
c. du
d. df - CORRECT ANSWER - d. df