CompTIA Linux+ Guide to Linux Certification Ch. 5 Review Questions

¡Supera tus tareas y exámenes ahora con Quizwiz!

After a partition on a hard disk drive 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

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

True

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

a. gdisk

What does the du /var command do?

b. Shows the size of all directories within the /var directory

What does the command dumpe2fs -h do?

b. displays the number of inodes used and available in an ext2 filesystem

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

b. has no data section d. displays a major and minor number in place of a file size

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

b. mount -a

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 /dev/fd0 /media/floppy auto noauto 0 0

c. /, /proc, and swap

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

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

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

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

The first floppy drive on the system is not responding. You enter the file /dev/fd0 command and receive the following output. What is the problem? [root@server1 root]# file /dev/fd0 /dev/fd0: ASCII text [root@server1 root]#

c. The device file has become corrupt.

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

c. Umount the filesystem.

A user mounts a device to a mount point directory and realizes afterward there are files previously found within the mount point directory that are needed. What should this user do?

c. Unmount the device from the directory.

Which of the following statements regarding LVM structure is correct?

c. VGs are composed of one or more PVs

You want to see the filesystems that are presently in use on the system. What command could you use?

c. cat /etc/mtab

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

c. mke2fs -t ext4 device

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?

d. /dev/sdc1

Jim has just purchased two new SCSI hard disk drives and a controller card for them. 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.)

d. Use the fdisk command to create one or more partitions on each of the hard disk drives. e. mount any partitions created on the two hard drives so that they are accessible by the operating system. f. Format any partitions created with a valid filesystem recognized by Linux.

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

d. df


Conjuntos de estudio relacionados

COMBINED Cell & Molec Chapter 15, Molecular Biology Chapter 15 Practice Questions, SmartWork5 Chapter 10, Quiz 15.2: Protein Sorting + Vesicular Transport, Chapter 15, Chapter 15 Quiz (Cell Biology), Chapter 15: Endomembrane system, chegg questions

View Set

Chapter 16 Organization Change and Change Management

View Set

Ch 50 Antineoplastic and Targeted Therapies, Ch 52 Skin Disorder Topical DRugs, Ch 53 Otic and Ophtalmic, Ch 48 UT, Ch 33 Diuertics

View Set

algebra 1a - unit 2: lines and their graphs

View Set

PSY-100 15a. Introduction to Therapy and the Psychological Therapies

View Set