NEW
Font size
WorksheetsLinux Chapter 8 Review
Total questions: 38
Worksheet time: 19mins
What are two primary tasks that you can complete using the mount command?
Formatting a disk drive and
view the files on a mounted device.
Creating a new user and Combine multiple physical disks into a single logical storage unit.
Checking system logs and create a virtual file system for applications.
List all file systems that are currently mounted and allow a privileged user to mount a file system
What type of RAID combines disk striping across multiple disks with parity for data redundancy?
What is a requirement for all RAID configurations?
The amount of disk space must be of equal size.
Which utility would you use to manage disk partitions in Linux?
Which of the following is the maximum number of logical partitions allowed on an extended partition in Linux?
unlimited
What does the /dev/sda3 device file name identify?
The third partition on the first hard disk in a Linux system with the lowest ID number.
The first partition on the second hard disk in a Linux system with the third lowest ID number.
The partition on a USB drive.
Which gdisk options changes a partition’s name?
How many partitions does GPT allow on a storage device?
Why should you carefully plan your partition changes before using parted ?
The parted command writes partition changes to disk immediately.
After you create your logical volume, what should you do?
Create file systems on them and then mount them.
Resize the logical volume.
What utility can be used to manage and monitor software RAID devices?
How would you scan all logical volumes and display the results?
Which file system provides journaling in Linux?
swap
What command will deactivate a swap partition on the second partition on the first hard drive?
swapoff /dev/sdb2
swapoff /dev/sda2
What command will mount all filesystems and make all settings active without taking the server down?
Which file shows all the volumes that are currently mounted on the system?
/etc/tab
/etc/mtab
What two commands show all of the current mount points?
mount, df
What option would you use with the debugfs command if a significant amount of corruption is detected on an ext3 file system?
-c
Which scheduler uses timestamps to push I/O requests that have reached their deadline to their highest priority?
Which command allows you to view the space available on all mounted file systems and presents it in a human readable form?
How would you open and edit a user quota in Linux?
Use the command 'edquota -u' to open and edit a user quota.
What file would you edit to add the mount options for the file system and enable quotas?
What is the function of the chgrp command?
Which accounts can change file ownership in Linux?
Only the file's group members
The current owner of the file and the root user.
What command will change ownership of a file or directory in Linux?
What command displays the file name, owner, group, and the access control list (ACL)?
cat filename
ls -g filename
ls -a filename
lgetfacl filename
What command would you use to grant a user read, write, and execute permissions for file: myfile?
chmod u=rw myfile
chmod u=rwx myfile
chmod a=rwx myfile
chmod g=rx myfile
What is the typical default umask value?
What is the function of umask?
What is the umask symbol that represents all of the mask symbols?
g
o
u
a
What is the most common use of SUID?
To allow users to run programs with as the root user.
What is the purpose of setting the sticky bit?
What is the function of the setfacl -x command?
What is displayed with the getfacl -d command?
What does the plus sign indicate at the end of the permissions list?
What bzip2 command option will leave the compressed file unchanged?
What type of backup copies all of the files that have been updated since the last full backup?
What is the drawback of using an SSD?
