NOS 120 lesson 5 quiz

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

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?

-I 14d

Which of the following is required as a separate partition in order to use LVM?

/boot

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

Which file should be configured so that quotas are enabled at boot time?

/etc/fstab

If the physical extent of a volume group is set to 32MB, what is the maximum logical volume size?

2tb

Which of the following can be used to mount a filesystem? (Choose all that apply.)

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

Given the following output from /etc/fstab, which filesystems will be automatically checked on boot by the fsck command? /dev/sda1 / ext4 defaults 1 1 none /dev/pts devpts gid=5,mode=620 1 0 none /proc proc defaults 0 1 none /dev/shm tmpfs defaults 1 0 /dev/sdc2 swap swap defaults 0 1 /dev/dvd /media/dvd iso9660 noauto,ro 0 0

All of them, as fsck is run automatically at boot for all filesystems

Jim has just installed two new SAS SSDs in his system. He properly installs the hardware in his machine. Before he can use them for data storage and retrieval, what must he do? (Choose all that apply.)

Create one or more partitions on each of the SSDs. Mount any partitions created on the two SSDs such that they are accessible by the operating system. Format any partitions created on the SSDs with a valid filesystem recognized by Linux.

What does the du -s /var command do?

Display the total size of the /var directory

Which command is used to format a partition on a hard disk drive with the ext4 filesystem?

E2mkfs -t ex4 device

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?

Ext2

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?

False

Character devices typically transfer data more quickly than block devices. True or False?

False

A user runs the fsck command with the -f option on an ext4 filesystem that is showing signs of corruption. How would that user locate any files the system was unable to repair?

Mount the filesystem and check the lost+found directory underneath the mount point.

Which of the following statements are true? (Choose all that apply.)

Soft limits allow a user to exceed them for a certain period of time. Quotas can limit both user space and the number of files a user can own. Hard limits can never be exceeded.

The lvextend command can be used to add unused space within a volume group to an existing logical volume. True or False?

True

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

What must you do to successfully run the fsck command on a filesystem?

Unmount the file system

Which of the following statements regarding LVM structure is correct?

VGs are comprised of one or more PVs

You want to see the filesystems that are in use on the system. What command could you use? (Choose all that apply.)

cat/etc/mtab df -T cat/etc/mtab

Which command is used to display the amount of free space that exists on a filesystem?

df

A device file _______________________. (Choose all that apply.)

displays a major and minor number in place of a file size, has no data section

What does the command dumpe2fs -h do?

displays the number of used and available inodes for an ext2/ext3/ext4 filesystem

The quotas for certain users can be edited by using which command?

edquota

Which of the following commands can only be used to create partitions on a GPT hard disk?

gdisk

Which of the following commands will prompt to convert an MBR partition to GPT, thus destroying all existing MBR partitions on a disk?

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?

mkfs exfat /dev/sdb1

Which command mounts all existing filesystems in /etc/fstab?

mount -a

Which command can be used to repair an XFS filesystem?

xfs_repair /dev/sdb1


संबंधित स्टडी सेट्स

World Geography A: Unit 5 - Primavera

View Set

Assessment Screening for Drugs and Alcohol

View Set

Alternating current and Transformers

View Set

Medications for treatment of anxiety, panic, OCD, PTSD

View Set

Metric Unit Prefixes (Conversions for Chemistry)

View Set

WK 4 Assessment and Management of the Traumatized Patient

View Set