Chapter5

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

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

a. /dev/sdb3

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

a. /etc/fstab

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

a. mkfs exfat /dev/sdb1

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.) a. umount /media/cdrom b. eject /media/cdrom c. detach /media/cdrom d. unmount /media/cdrom

a. umount /media/cdrom b. eject /media/cdrom

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? a. xfs_fsr b. xfs_db c. defrag d. fsck

a. xfs_fsr

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

a. A filesystem label b. A filesystem UUID d. A device path such as /dev/sdb2

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

b. quotacheck

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

b. repquota

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

b. umount

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

c. lsblk d. ls /sys/block

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

a. Reboot the system b. Run the partprobe command

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? a. /proc/tmp/ b. /lost+found/ c. /var/tmp/ d. /var/crash/

b. /lost+found/

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

b. blkid

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

b. edquota

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

b. fsck

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

b. gdisk

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? a. cat /sys/block b. lsblk c. lsblock d. ls -al /sys/block

b. lsblk

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? a. -i 14 b. -i 336 c. -i 14d d. -d 14

c. -i 14d

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

c. du

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? a. ext4 b. ext3 c. ext2 d. exFAT

c. ext2

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

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

d. /etc/fstab

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

d. print

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

d. 2TB

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.) a. mke2swap /dev/sda6 b. mkswap -on /dev/sda6 c. mke2swap -on /dev/sda6 d. makeswap /dev/sda6 e. swapon /dev/sda6 f. mkswap /dev/sda6 g. mkeswap /dev/sda6

e. swapon /dev/sda6 f. mkswap /dev/sda6


Kaugnay na mga set ng pag-aaral

475 CH 4, 475 CH 3, 475 CH 2, 475 CH 1

View Set

SECTION IV: Program modifications for clients with special considerations

View Set

Life Policy Provisions, Riders, and Options

View Set

Economic Chpater 9 -market failures

View Set

PT 602 - Lecture 4 -Treating Patients with Elbow, Wrist and Hand Pain

View Set

prepU ch 51, Test 4 Questions, Chapter 51: Caring for Clients with Diabetes Mellitus, CH.51 - Diabetes PrepU ?'s, Diabetes Prep-U (easy), Prep U: Chapter 51: Assessment and Management of Patients With Diabetes

View Set

HLT 4302 Chapter 17 Quiz Attempt 1

View Set