Quiz 5

24 July 2022
4.7 (114 reviews)
30 test answers

Unlock all answers in this set

Unlock answers (26)
question
What command can be used to check different kinds of filesystems on Linux for errors? - chkdsk. - errorchk - fs_check - fsck
answer
fsck
question
What file system below is used by software programs that write to a CD-RW or DVD-RW drive? - udf - ntfs - hpfs - ext2
answer
udf
question
The quotas for certain users can be edited by using which command? - chquota - usrquota - repquota - edquota
answer
edquota
question
​What two commands below can be used to edit a GPT based hard disk's partitions? (Select 2 answers) - gdisk - parted - fdisk - gtpedit
answer
gdisk, parted
question
Select the command that can be used to create partitions that will be stored in an MBR after installation: - fdisk - formatdisk - partition - format
answer
fdisk
question
The more filesystems that are used on a system, the less likely a corrupted filesystem will interfere with normal system operations.
answer
true
question
​In the fdisk interactive mode, what letter can be used to save changes to the partition table and exit? - w - s - q - d
answer
w
question
Select the command below that shows the size of a directory and its contents in kilobytes:​ - du - sizeof - df - dir
answer
du
question
Which command below provides the easiest method for monitoring free space on mounted filesystems? - du - df - fs - fd
answer
df
question
Which device file below represents the first primary partition on the second PATA hard disk drive? a. /dev/hdb1 b. /dev/hdc2 c. /dev/hdc1 d. /dev/hda1
answer
/dev/hdb1
question
In the event that you wish to disable a swap partition, what command must be used?​ a. umount b. ​swapoff c. ​swapdrop d. ​delete_swap
answer
swapoff
question
A device that transfers data in a character-by-character fashion is referred to as what type of device? a. text b. binary c. block d. character
answer
character
question
In what filesystem are most of the operating system files contained? a. boot b. data c. root d. mnt
answer
root
question
The mkfs command can be issued with what switch in order to specify a filesystem type? a. -o b. -f c. -c d. -t
answer
-t
question
To mount all filesystems in the /etc/fstab file that are intended to mount at boot time, what command can be used? a. mount -f b. mount -u c. mount -o d. mount -a
answer
mount -a
question
What character device file represents the second serial port on a system (COM2)? a. /dev/ttyS1 b. /dev/tty2 c. /dev/tty1 d. /dev/ttyS0
answer
/dev/ttyS1
question
​Select the two commands below that can be used to prepare a swap partition and then enable it for use: (Select 2 answers) a. swapit b. mkswap c. ​swapon d. mkfs.swap
answer
mkswap, swapon
question
Volumes can contain a filesystem but they can't be mounted to directories within the Linux filesystem hierarchy.​
answer
False
question
Select the command that can be used to check an ext2, ext3, or ext4 filesystem:​ a. mke2fs b. ext2fsck c. fdisk d. e2fsck
answer
mke2fs
question
Each device attached to a system can be represented by multiple device files.
answer
False
question
Errors on a filesystem are common on most filesystems. What do these errors indicate? a. filesystem corruption b. raid degradation c. hard drive failures d. filesystem breaks
answer
filesystem corruption
question
​What command below can be used to create a new physical volume? a. lvcreate b. pvdisk c. pvcreate d. new_pv
answer
pvcreate
question
What hex code is associated with a Linux swap type partition?​ a. ​96 b. 83 c. 12 d. 82
answer
82
question
What two commands can be used to show information about physical volumes and logical volumes respectively?​ (Select 2 answers) a. showvg b. showlv c. lvdisplay d. vgdisplay
answer
vgdisplay, lvdisplay
question
​Select the commands that can be used to extend a volume group and logical volume respectively: (Select 2 answers) a. lvextend b. vgextend c. lvm_extend d. pgextend
answer
lvextend, vgextend
question
When you insert a DVD while in a GUI environment, it is automatically mounted by the system to a directory underneath the /media directory that is named for the label on the DVD.
answer
True
question
Which option, when used with the mount command, enables loopback mode so that an iso image can be mounted onto a directory?​ a. -o loop b. --mode l c. --option l d. --loop
answer
--loop
question
​Select the two commands in fdisk's interactive mode that can be used to show known partition types and view the current partition table: (Select 2 answers) a. l b. a c. p d. v
answer
l, p
question
Data is read from physical hard drives in concentric circles known as which of the following? a. blocks b. tracks c. sectors d. cylinders
answer
tracks
question
In Linux, you are restricted to using only one type of filesystem on a system.
answer
False