QUIZZES
Which one of the tune2fs command options specify the maximum time interval between file system checks in days, months, or weeks?
-i {d,m,w}
What is the file or subdirectory in/boot/ that is a compressed executable file that contains the Linux kernel itself?
/boot/vmlinuz-
As defined in the Filesystem Hierarchy Standard (FHS), the topmost directory in a Linux file system is the root directory, indicated by a single forward slash (/). Below the root directory are various subdirectories that are standardized as part of the FHS. Which subdirectory stores hardware and software device drivers and maintains file system entries that represent the devices connected to the system?
/dev
What raw device file would Linux create or the second SCSI drive connected to the system?
/dev/sdb
You plug a USB flash memory drive into a system that has two SATA hard disks. How will the partition on this USB flash memory drive be identified by Linux?
/dev/sdc1
Jackson wants to automatically mount a secondary internal hard drive when his Linux workstation boots up. In which of the following files should he configure an entry for the partition on the drive that he wants to mount?
/etc/fstab
rootadmin@machine ~]#sysctl -r net.inet.tcp.asac_spoof_offset
Apply a Command Matching a Pattern
What boot loader component controls the installation of drive sectors and can only be run when booting from a drive?
Boot loader installer
What creates the virtual device and passes data from that virtual device to one or more physical devices?
Device mapping
rootadmin@machine ~]#sysctl -n kernel.hostname
Disable Printing of the key Name
rootadmin@machine ~]# sysctl -a
Display All Parameters
What is the second step of the procedure to protect the GRUB (GRand Unified Bootloader) 2 boot loader with a password?
Enter grub2-mkpasswd-pbkdf2 to begin creating a cryptographic hash of a password.
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?
F
You need a file system that does not provide the same capabilities as more modern file systems and is typically used for compatibility reasons. Which file system supported by Linux is compatible with many different operating systems, including all versions of Unix, Windows, and macOS?
FAT (File Allocation Table)
What is the main configuration file for the GRUB (GRand Unified Bootloader) 2 boot loader?
Grub.cfg
Which one of the storage devices that are supported by the Linux operating system uses electromechanical devices that use magnetic storage technology to store data, usually in large amounts?
Hard Disk Drive (HDD)
What is the fourth step in the procedure to edit the GRUB (GRand Unified Bootloader) 2 boot loader?
If necessary, enter a user name and password.
rootadmin@machine ~]#sysctl -e
Ignore Unknown Variable Errors
ootadmin@machine ~]#sysctl -p /etc/sysctl.conf
Load Settings from a File
Each file that is opened in Linux is assigned a file descriptor that keeps track of the file when it is open. It is possible, on a very busy server where a great many files may be opened simultaneously, that the descriptors could all be consumed. What common storage issue does this describe?
Performance Issues
Which boot option is a part of the Unified Extensible Firmware Interface (UEFI) standard that enables a client to retrieve the necessary boot loader and system files from a server over the network?
Preboot Execution Environment (PXE)
Which procedure for managing file systems has a step to enterdumpe2fs {file s ystem name} to display file system information for ext file systems?
Retrieve file system information
Aria has modified the hard disk that hosts the operating system by using the fdisk command. The fdisk command indicates that the new partition information must be manually reloaded. Which of the following should she do next? (Choose two. Either answer is independently correct.)
Run the cfdisk program
rootadmin@machine ~]#sysctl -w net.ipv4.icp_echo_ignore_all=1
Set a Parameter Value
What refers to the root file system that is temporarily loaded into memory upon system boot?
The initial ramdisk (initrd)
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?
Unmount the device from the directory.
Which of the following statements regarding LVM structure is correct?
VGs are comprised of one or more PVs
As the Linux administrator for a medical center, it is your responsibility to ensure that the computer systems have adequate security applied, including any medical devices. The medical center just received new medical devices, which use UEFI to boot with GRUB2. These devices need to have security measures implemented. Locking down the boot loader from unauthorized modification should be one of your first steps.
Verify GRUB2 Installation Create GRUB2 Password Modify GRUB2 Configuration File to Require Password Update Main GRUB2 Configuration File to Apply Changes Test the Password from the Boot Menu
In the boot process, a booting environment reads a small program that is stored in read-only memory (ROM). What is the process of starting or restarting a computer, and loading an operating system for the user to access?
booting
Which of the following commands can be used to view the hardware detected by the Linux kernel during bootup?
dmesg
Which command is used to format a partition on a hard disk drive with the ext4 filesystem?
e2mkfs -t ext4 device
Which of the following filesystems are commonly used for USB flash memory drives and is supported by a number of operating system platforms?
exFAT
Which of the following commands can only be used to create partitions on a GPT hard disk?
gdisk
What is an object that stores metadata about a file or directory on a file system?
inodes
What command displays information about all block storage devices that are currently available on the system?
lsblk
Jack needs to be able to determine which modules are currently loaded on a Linux server. Which of the following commands could he use to gather this information?
lsmod
What command could a system administrator use to display the logical volumes that have been created on a Linux server?
lvdisplay
What tool do you use to create a new filesystem on a partition?
mkfs
What tool do you use to manually add a filesystem to the virtual directory?
mount
Which command mounts all existing filesystems in /etc/fstab?
mount -a
Linux uses to add the file-system on a new storage device to the virtual directory.
mount points
You wish to create a new partition and use the command fdisk /dev/sda5. What option would you use next to create a new partition?
n
Whatmount option specifies that only the root user can mount a device or a file system?
nouser
The swap file and boot partition of a Linux distribution are normally created in what type of partition?
primary
Clint has run the command parted /dev/sdb and wants to display a list of the existing partitions that exist on that drive. Which of the following commands can he use to display the existing partitions?
Which of the following commands can be used to create a physical volume out of an unused partition?
pvcreate
What is the smallest unit of storage read from or written to a drive?
sector
The lvextend command can be used to add unused space within a volume group to an existing logical volume. True or False?
t
Which boot process component configures device drivers?
the kernel
Elijah is done working with an external USB hard drive and wants to properly disconnect it. Which of the following commands should he use before unplugging the USB cable?
umount
Which of the following can be directly created out of one or more physical volumes?
volume groups
Kareem is building a server that needs to very quickly write large numbers of files to the hard disk. Which of the following filesystems might he choose?
xfs