Test Bank Docx Ch.11 Manage Local Storage Advanced Features - Answer Key + Test Bank | Linux Essentials 1e Rothwell by William Rothwell. DOCX document preview.
Linux Essentials for Cybersecurity (Rothwell/Kinsey)
Chapter 11 Manage Local Storage: Advanced Features
1) Which of the following is a specification that describes how filesystems are to be encrypted on Linux?
A) LUKS
B) DMCrypt
C) GnuPG
D) All of the above
2) Which of the following commands is used to create a new encrypted filesystem?
A) cryptmount
B) modprobe
C) cryptsetup
D) mkfs
3) The purpose of the __________ feature is to have filesystems automatically mounted when a user (or any process) accesses the mount point.
A) auto.misc
B) auto.master
C) fstype
D) autofs
4) LVM, which stands for __________, is a technology that can be used in place of traditional partitions.
A) Logical Volume Manager
B) Logical Virtual Memory
C) Logical Virtual Manager
D) Logical Volume Memory
5) Which of the following is a disadvantage of using LVM?
A) LVM does not allow you to back up a frozen image of the filesystem while the real filesystem remains active.
B) LVM doesn’t provide redundancy like RAID does.
C) The LVM feature of striping cannot write data to multiple hard disks concurrently.
D) LVM cannot merge multiple storage devices together into a device that the kernel perceives as a single storage device.
6) After a volume group (VG) is created with LVM, the space made available by the physical volumes (PVs) is broken into small chunks called __________.
A) filesystems
B) logical volumes
C) partitions
D) physical extents
7) Which of the following commands is used to see the size of physical extents, as well as other useful VG information?
A) pvcreate
B) vgdisplay
C) pvdisplay
D) vgcreate
8) Which of the following commands is used to create an LV using space from a VG?
A) vglvcreate
B) vgcreate
C) lvcreate
D) pvcreate
9) Which of the following is the first step for making a partition available to the operating system?
A) Create a filesystem.
B) Verify the mount.
C) Mount the filesystem under the mount point.
D) Make a mount point.
10) The LVM commands are normally executed by symbolic links that refer to which of the following commands?
A) /etc/fstab
B) /sbin/pvcreate
C) /dev/mapper
D) /sbin/lvm
11) Which of the following commands is used to make an LV smaller by shrinking the size of the filesystem and then shrinking the LV?
A) lvremove
B) lvreduce
C) lvextend
D) lvdisplay
12) After completing a backup, you should destroy the LVM snapshot by first unmounting the snapshot VM and then executing the __________ command.
A) lvremove
B) lvreduce
C) lvextend
D) lvdisplay
13) An administrator can limit how much space a user can use in each filesystem by enabling a __________.
A) quota check
B) mount option
C) snapshot
D) disk quota
14) Which of the following would you create in order to display a warning to users who exceed the amount of space allotted for their files?
A) Flexible limit
B) Hard limit
C) Soft limit
D) None of the above
15) Which part of a file stores the file’s metadata, such as file ownership, permissions, and timestamps?
A) snapshot
B) node
C) autofs
D) inode
16) Which option for the quotacheck command is used to create database file(s)?
A) -u
B) -c
C) -g
D) -m
17) To enable user quotas, you must first mount the filesystem with the __________ mount option.
A) usrquota
B) quotaon
C) quotacheck
D) edquota
18) Which of the following fields of a quota specifies how many files the user currently has in the filesystem?
A) blocks
B) Filesystem
C) inodes
D) hard
19) Which of the following commands can be executed by the root user to set a grace period on disk quotas?
A) quota
B) edquota –t
C) repquota
D) quotaon
20) Which of the following is not true regarding hard and soft file links on Linux?
A) If you have 10 hard-linked files and you delete any nine of these files, the data is no longer maintained in the remaining file.
B) When you create a hard link to a file, there is no way to distinguish the “original” file from the “linked” file.
C) Hard-link files share the same inode.
D) When you create a soft link, the original file contains the data while the link file “points to” the original file.
Document Information
Connected Book
Answer Key + Test Bank | Linux Essentials 1e Rothwell
By William Rothwell