Deck 5: Linux Filesystem Administration
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
Play
Full screen (f)
Deck 5: Linux Filesystem Administration
1
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.
True
2
In Linux, you are restricted to using only one type of filesystem on a system.
False
3
A device that transfers data in a character-by-character fashion is referred to as what type of device?
A) text
B) block
C) character
D) binary
A) text
B) block
C) character
D) binary
C
4
Select the command that can be used to create partitions that will be stored in an MBR after installation:
A) format
B) formatdisk
C) fdisk
D) partition
A) format
B) formatdisk
C) fdisk
D) partition
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
Data is read from physical hard drives in concentric circles known as which of the following?
A) tracks
B) blocks
C) sectors
D) cylinders
A) tracks
B) blocks
C) sectors
D) cylinders
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
Volumes can contain a filesystem but they can't be mounted to directories within the Linux filesystem hierarchy.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
The quotas for certain users can be edited by using which command?
A) edquota
B) chquota
C) usrquota
D) repquota
A) edquota
B) chquota
C) usrquota
D) repquota
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
In what filesystem are most of the operating system files contained?
A) boot
B) data
C) mnt
D) root
A) boot
B) data
C) mnt
D) root
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
The mkfs command can be issued with what switch in order to specify a filesystem type?
A) -t
B) -f
C) -c
D) -o
A) -t
B) -f
C) -c
D) -o
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
Errors on a filesystem are common on most filesystems. What do these errors indicate?
A) filesystem breaks
B) filesystem corruption
C) raid degradation
D) hard drive failures
A) filesystem breaks
B) filesystem corruption
C) raid degradation
D) hard drive failures
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
Which command below provides the easiest method for monitoring free space on mounted filesystems?
A) df
B) fs
C) du
D) fd
A) df
B) fs
C) du
D) fd
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
To mount all filesystems in the /etc/fstab file that are intended to mount at boot time, what command can be used?
A) mount -o
B) mount -f
C) mount -u
D) mount -a
A) mount -o
B) mount -f
C) mount -u
D) mount -a
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
Which device file below represents the first primary partition on the second PATA hard disk drive?
A) /dev/hdc1
B) /dev/hdb1
C) /dev/hda1
D) /dev/hdc2
A) /dev/hdc1
B) /dev/hdb1
C) /dev/hda1
D) /dev/hdc2
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
What file system below is used by software programs that write to a CD-RW or DVD-RW drive?
A) ntfs
B) udf
C) ext2
D) hpfs
A) ntfs
B) udf
C) ext2
D) hpfs
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
The more filesystems that are used on a system, the less likely a corrupted filesystem will interfere with normal system operations.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
What command below can be used to create a new physical volume?
A) lvcreate
B) pvcreate
C) new_pv
D) pvdisk
A) lvcreate
B) pvcreate
C) new_pv
D) pvdisk
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
What character device file represents the second serial port on a system (COM2)?
A) /dev/ttyS0
B) /dev/tty2
C) /dev/tty1
D) /dev/ttyS1
A) /dev/ttyS0
B) /dev/tty2
C) /dev/tty1
D) /dev/ttyS1
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
Each device attached to a system can be represented by multiple device files.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
Select the command below that shows the size of a directory and its contents in kilobytes:
A) df
B) du
C) sizeof
D) dir
A) df
B) du
C) sizeof
D) dir
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
What command can be used to check different kinds of filesystems on Linux for errors?
A) chkdsk
B) fs_check
C) errorchk
D) fsck
A) chkdsk
B) fs_check
C) errorchk
D) fsck
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
Explain filesystem corruption, and provide details on what factors may lead to filesystem corruption.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
Describe character devices and block devices, and explain the difference between them. Provide examples of each type of device.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
Each track on a hard disk is divided into ____________________ of information.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
Match each correct item with the statement below.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
The process in which a filesystem is placed on a disk device.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
The process in which a filesystem is placed on a disk device.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
In the event that you wish to disable a swap partition, what command must be used?
A) umount
B) swapoff
C) delete_swap
D) swapdrop
A) umount
B) swapoff
C) delete_swap
D) swapdrop
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
An extended partition can contain many subpartitions called ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
Describe how the Logical Volume Manager (LVM) is used, and then list some of the different components involved.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
In the fdisk interactive mode, what letter can be used to save changes to the partition table and exit?
A) s
B) w
C) q
D) d
A) s
B) w
C) q
D) d
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
Match each correct item with the statement below.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
A command used to re-create a device file, provided the major number, minor number, and type (character or block) are known.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
A command used to re-create a device file, provided the major number, minor number, and type (character or block) are known.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
Select the command that can be used to check an ext2, ext3, or ext4 filesystem:
A) mke2fs
B) ext2fsck
C) fdisk
D) e2fsck
A) mke2fs
B) ext2fsck
C) fdisk
D) e2fsck
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
Match each correct item with the statement below.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
The filesystem that contains most files that make up the operating system; it should have enough free space to prevent errors and slow performance.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
The filesystem that contains most files that make up the operating system; it should have enough free space to prevent errors and slow performance.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
The ___________________ command can be used to create and work with up to 128 primary partitions on a GPT hard disk using an interface that is nearly identical to fdisk.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
Match each correct item with the statement below.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
The storage devices that transfer data to and from the system one data bit at a time.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
The storage devices that transfer data to and from the system one data bit at a time.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
The ________________ of a VG decides the block size for saving data since it cannot be safely changed later.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
Match each correct item with the statement below.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
A series of tracks on a hard disk that are written to simultaneously by the magnetic heads in a hard disk drive.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
A series of tracks on a hard disk that are written to simultaneously by the magnetic heads in a hard disk drive.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
What hex code is associated with a Linux swap type partition?
A) 12
B) 82
C) 83
D) 96
A) 12
B) 82
C) 83
D) 96
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
Which option, when used with the mount command, enables loopback mode so that an iso image can be mounted onto a directory?
A) --loop
B) -o loop
C) --mode l
D) --option l
A) --loop
B) -o loop
C) --mode l
D) --option l
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
What are the three different types of hard drives? Briefly describe each, and list the possible configurations and device files for each type.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
At installation, Fedora Linux creates a symbolic link called ____________________ to the correct device file for your first CD-ROM drive.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
Define hard disk quotas, and then explain how they are used. Then, describe the differences between soft limits and hard limits.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
Select the two commands below that can be used to prepare a swap partition and then enable it for use:
A) mkfs.swap
B) mkswap
C) swapon
D) swapit
A) mkfs.swap
B) mkswap
C) swapon
D) swapit
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
Match each correct item with the statement below.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
A command used to identify any users or processes using a particular file or directory
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
A command used to identify any users or processes using a particular file or directory
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
Match each correct item with the statement below.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
The process of writing data to the hard disk drive that was stored in RAM.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
The process of writing data to the hard disk drive that was stored in RAM.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
Select the commands that can be used to extend a volume group and logical volume respectively:
A) pgextend
B) vgextend
C) lvextend
D) lvm_extend
A) pgextend
B) vgextend
C) lvextend
D) lvm_extend
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
What two commands can be used to show information about physical volumes and logical volumes respectively?
A) showvg
B) showlv
C) vgdisplay
D) lvdisplay
A) showvg
B) showlv
C) vgdisplay
D) lvdisplay
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
Match each correct item with the statement below.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
A physical division of a hard disk drive.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
A physical division of a hard disk drive.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
What two commands below can be used to edit a GPT based hard disk's partitions?
A) fdisk
B) gptedit
C) gdisk
D) parted
A) fdisk
B) gptedit
C) gdisk
D) parted
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
Match each correct item with the statement below.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
The storage devices that transfer data to and from the system in chunks of many data bits by caching the information in RAM.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
The storage devices that transfer data to and from the system in chunks of many data bits by caching the information in RAM.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
Match each correct item with the statement below.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
A hard disk quota that the user cannot exceed.
a.block devices
b.character devices
c.cylinder
d.formatting
e.fuser command
f.hard limit
g.mknod command
h.partition
i.root filesystem
j.syncing
A hard disk quota that the user cannot exceed.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
Select the two commands in fdisk's interactive mode that can be used to show known partition types and view the current partition table:
A) a
B) l
C) p
D) v
A) a
B) l
C) p
D) v
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck