NOS 120 Study Guide Chapter 5

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Which of the following is required as a separate partition in order to use LVM? Select one: a. /boot b. /tmp c. /var d. /home

/boot

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? Select one: a. /etc/mtab b. /etc/ftab c. /etc/crontab d. /etc/fstab

/etc/fstab

Which file should be configured so that quotas are enabled at boot time? Select one: a. /etc/quotas b. /etc/edquota c. /etc/fstab d. /etc/fsq

/etc/fstab

If the physical extent of a volume group is set to 32MB, what is the maximum logical volume size? Select one: a. 1TB b. 2TB c. 512GB d. 256GB

2TB

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.) Select one or more: a. Run the parted command b. Reboot the system c. Run the partprobe command d. Run the cfdisk program

Run the partprobe command Reboot the system

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? Select one: a. display b. print c. disp d. list

print

Which of the following commands can be used to scan a filesystem for disk usage, create, check, and repair quota files? Select one: a. quota b. chkquota c. edquota d. quotacheck

quotacheck

Which of the following commands will display a summarization of quotas for a filesystem? Select one: a. repquota b. quotaprint c. quotadisplay d. quota --list

repquota

Which of the following commands can be used to show the block devices, including their major and minor numbers, on a system which are located in the /sys/block directory? Select one: a. ls -al /sys/block b. lsblk c. lsblock d. cat /sys/block

lsblk

Which of the following can be used to show the block devices on a Linux system? (Choose two.) Select one or more: a. ls /sys/block b. lsblk c. cat /proc/block d. ls /etc/block

lsblk ls /sys/block

Archie wants to optimize an XFS filesystem and minimize the chance of future corruption. Which of the following commands will compact or otherwise improve the layout of the contiguous blocks of file data for an XFS filesystem? Select one: a. fsck b. defrag c. xfs_fsr d. xfs_db

xfs_fsr

Callie wants to make sure that a filesystem is checked every 20 days. Which of the following options, when used with the tune2fs command, would set a full filesystem check to run every 14 days? Select one: a. -d 14 b. -i 14 c. -i 14d d. -i 336

-i 14d

Which of the following would be the device file for the third partition on the second SATA drive on a Linux system? Select one: a. /dev/sdc2 b. /dev/sdb3 c. /dev/hdb3 d. /dev/hdc2

/dev/sdb3

Which of the following directories is created by default when an ext2, ext3, or ext4 filesystem is created on a device that is used by the fsck utility? Select one: a. /var/tmp/ b. /var/crash/ c. /proc/tmp/ d. /lost+found/

/lost+found/

Which of the following can be used to mount a filesystem? (Choose all that apply.) Select one or more: a. A filesystem nickname configured in /etc/mtab b. A filesystem UUID c. A filesystem label d. A device path such as /dev/sdb2

A device path such as /dev/sdb2 A filesystem label A filesystem UUID

Which of the following commands can be used to display the filesystem and partition UUIDs on a Linux system? Select one: a. fatlabel b. blkid c. e2label d. showpart

blkid

Which of the following commands when run from the /, or root, directory will return a very long list of many pages of results? Select one: a. df b. du c. ls -al d. fdisk --list

du

The quotas for certain users can be edited by using which command? Select one: a. repquota b. chquota c. edquota d. usrquota

edquota

If the mkfs command is executed to create a filesystem and only the block device name is specified, which of the following filesystems will be created? Select one: a. ext3 b. ext2 c. ext4 d. exFAT

ext2

What command can be used to check different kinds of filesystems on Linux for errors? Select one: a. fsck b. errorchk c. chkdsk d. fs_check

fsck

Which of the following commands will prompt to convert an MBR partition to GPT, thus destroying all existing MBR partitions on a disk? Select one: a. gfdisk b. cfdisk c. gdisk d. iconv

gdisk

Which of the following commands cannot be used to create an exFAT filesystem on a USB thumb drive that is recognized as /dev/sdb? Select one: a. mkfs.exfat /dev/sdb1 b. mkexfatfs /dev/sdb1 c. mkfs exfat /dev/sdb1 d. mke2fs.exfat /dev/sdb1

mkfs exfat /dev/sdb1

Which of the following commands can be used to create and activate a swap partition on a Linux system? (Each answer represents part of the whole.) Select one or more: a. swapon /dev/sda6 b. makeswap /dev/sda6 c. mke2swap -on /dev/sda6 d. mkswap -on /dev/sda6 e. mke2swap /dev/sda6 f. mkeswap /dev/sda6 g. mkswap /dev/sda6

swapon /dev/sda6 mkswap /dev/sda6

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? Select one: a. unmount b. mount --eject c. disable d. umount

umount

John has been using the cdrom on his computer that is running the Linux operating system. He pushes the eject button on the front of the drive, but it doesn't eject the disk. Which of the following commands should he run? (Choose all that apply.) Select one or more: a. unmount /media/cdrom b. eject /media/cdrom c. umount /media/cdrom d. detach /media/cdrom

umount /media/cdrom eject /media/cdrom


Kaugnay na mga set ng pag-aaral

308 Management of the Patient with Respiratory Problems: Airway management week 7 (7/01/19)

View Set

Psycholosocial Adaptations During Pregnancy

View Set