wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Linux - Unit 5 Review

Total questions: 72

Worksheet time: 36mins

Name
Class
Date
1.

What is file storage?

a)

Dividing data into fixed-sized blocks

b)

Storing data as objects with metadata

c)

Organizing data into files and folders with a hierarchical structure

d)

Defining the layout of partitions on a storage device

2.

In which storage concept is data divided into fixed-sized blocks with unique identifiers?

a)

File storage

b)

Block storage

c)

Object storage

d)

RAID

3.

What type of data is object storage well-suited for?

a)

Structured data

b)

Databases

c)

Unstructured data like photos and videos

d)

Virtual machines

4.

Which partition table is more modern and versatile, supporting larger capacities and better data integrity?

a)

Master Boot Record (MBR)

b)

Filesystem in Userspace (FUSE)

c)

Redundant Array of Independent Disks (RAID)

d)

GUID Partition Table (GPT)

5.

What is the purpose of Filesystem in Userspace (FUSE)?

a)

Enabling user-level programs to create and manage file systems without kernel-level modifications

b)

Combining multiple disk drives into a single logical unit

c)

Defining the layout of partitions on a storage device

d)

Providing redundancy in storage

6.

What RAID level offers data redundancy but does not improve read or write performance?

a)

RAID 0 (Striping)

b)

RAID 1 (Mirroring)

c)

RAID 5

d)

RAID 6

7.

Which command is used to list all Universal Serial Bus (USB) devices connected to the system?

a)

lspci

b)

dmidecode

c)

lsusb

d)

mkfs

8.

What does the lspci command provide information about?

a)

USB devices

b)

Hardware components connected to the PCI bus

c)

RAID levels

d)

File storage

9.

What information does the dmidecode command retrieve?

a)

USB devices

b)

CPU details, motherboard, and BIOS version

c)

Filesystem in Userspace (FUSE) details

d)

RAID configurations

10.

What RAID level involves splitting data into chunks and distributing them across multiple disks?

a)

RAID 0 (Striping)

b)

RAID 1 (Mirroring)

c)

RAID 5

d)

RAID 6

11.

What is the primary purpose of disk partitioning in Linux?

a)

To add complexity to system administration

b)

To waste disk space

c)

To improve the performance of the computer and organize files efficiently

d)

To make it difficult to recover from system failures

12.

What benefit does disk partitioning provide for backing up data?

a)

It makes it easier to lose data

b)

It adds complexity to the backup process

c)

It can help in recovering from system failures

d)

It has no impact on data backup

13.

What is a drawback of improper partitioning or errors during resizing or formatting operations?

a)

Improved computer performance

b)

Increased disk space utilization

c)

Data loss

d)

Easy recovery from system failures

14.

What utility is used to create, modify, or delete partitions on a storage drive in Linux?

a)

parted

b)

partprobe

c)

mkfs

d)

fdisk

15.

Which command is used to update the kernel with changes in the partition table?

a)

partprobe

b)

mkfs

c)

select

d)

resizepart

16.

What is the purpose of the mkfs command in Linux?

a)

To create, modify, or delete partitions

b)

To update the kernel with changes in the partition table

c)

To build a Linux file system on a specified device

d)

To list existing partitions

17.

What is a mount point in Linux?

a)

A physical storage device

b)

A logical connection between a directory and a filesystem

c)

An entry in /var/log/messages

d)

A file in the /etc/systemd/system directory

18.

What must be done before mounting a partition in Linux?

a)

Enumerate the device via uevent

b)

Update the configuration file

c)

Plug in a removable device

d)

Create a new directory that will become the mount point

19.

Which option for the mount command indicates that the filesystem should be mounted in read-only mode?

a)

ro

b)

rw

c)

sync

d)

async

20.

Which command is used to grow an XFS file system, specifying a new size for the mount point?

a)

xfs_info

b)

xfs_growfs

c)

xfs_expand

d)

xfs_resize

21.

What is the purpose of systemD.mount in Linux?

a)

To create a virtual mapped drive

b)

To interface between the kernel and applications

c)

To create a mount unit for the filesystem

d)

To enumerate removable devices

22.

What is the role of LUKS in Linux when working with files on a filesystem?

a)

To create a virtual mapped drive

b)

To plug into the kernel and provide an interface between virtual and physical drives

c)

To create a mount point

d)

To automatically mount devices at boot time

23.

Where can mount parameters for a device be found in Linux?

a)

/var/log/messages

b)

/etc/systemd/system directory

c)

/etc/fstab

d)

/etc/mount

24.

What does the xfs_repair command do when executed with the -n switch?

a)

Modifies the file system

b)

Copies the XFS file system to another location

c)

Performs a consistency check and repair, reporting modifications needed

d)

Copies the superblock metadata to a disk file

25.

Which command is used for examining the XFS file system and printing the current version and feature bits?

a)

xfs_info

b)

xfs_metadump

c)

xfs_admin

d)

xfs_db

26.

What does the xfs_admin command allow you to do with an XFS file system?

a)

Grow the file system

b)

Change parameters such as label and UUID

c)

Copy the contents of the file system

d)

Perform a consistency check

27.

What tool is used to grow the EXT4 filesystem?

a)
resize2fs
b)

mkfs

c)

e2fsck

d)

e2image

28.

Which filesystem is the default for SUSE Linux and offers built-in capabilities for copy-on-write, snapshots, pooling, and logical volumes?

a)

XFS

b)

EXT4

c)

btrfs

d)

JFS

29.

When installing an operating system with btrfs, when should you choose the btrfs journaling file system?

a)

After installing the operating system

b)

During the initialization of the system before installation

c)

During the resizing of the file system

d)

When performing a consistency check

30.

What does the pvcreate command in LVM do?

a)

Creates a logical volume

b)

Initializes a physical disk or partition as an LVM physical volume

c)

Creates a volume group

d)

Resizes a logical volume

31.

What is a volume group in LVM?

a)

A logical building block for storing data

b)

A pool of storage that aggregates multiple physical volumes

c)

A virtual partition

d)

A status report on logical volumes

32.

Which command is used to create logical volumes within a volume group in LVM?

a)

lvresize

b)

lvcreate

c)

vgcreate

d)

pvcreate

33.

What information does the pvs command provide in LVM?

a)

Details about logical volumes

b)

Overview of volume groups

c)

Information about physical volumes, including total size, used space, and free space

d)

Status of volume groups

34.

When adjusting the size of a logical volume in LVM, which command should be used?

a)

lvextend

b)

lvresize

c)

lvchange

d)

vgextend

35.

What does the vgextend command do in LVM?

a)

Resizes a logical volume

b)

Changes the attributes of a logical volume

c)

Adds more physical volumes to an existing volume group

d)

Creates a new volume group

36.

What does the lvchange command enable in LVM?

a)

Creates a logical volume

b)

Adds more physical volumes to a volume group

c)

Changes the attributes of a logical volume

d)

Initializes a physical disk

37.

What does "mdadm" stand for in the context of RAID management in Linux?

a)

Multiple Disk Administrator

b)

Multiple Device Administration

c)

Memory Disk Administration

d)

Manage Disk Arrays

38.

Which "mdadm" command is used to create a new RAID array?

a)

mdadm --manage

b)

mdadm --create

c)

mdadm --detail

d)

mdadm --monitor

39.

What information does the "/proc/mdstat" file provide in Linux RAID configurations?

a)

Real-time information about SAN devices

b)

Static details about RAID arrays

c)

Detailed information about RAID devices and arrays in real-time

d)

Information about Network File Systems

40.

What is the purpose of Multipathd in Linux systems, particularly in SAN environments?

a)

Manages multiple paths to storage devices, ensuring redundancy and load balancing

b)

Creates and manages RAID arrays

c)

Monitors the health of Network File Systems

d)

Provides real-time information about RAID devices

41.

Which protocol enables file sharing between systems on a network and is commonly used in Unix and Linux environments?

a)

Network File System (NFS)

b)

Server Message Block (SMB)

c)

Common Internet File System (CIFS)

d)

mdadm

42.

What is the role of NAS in network environments?

a)

Provides block-level storage to servers

b)

Enables file sharing and centralized storage using a file-level approach

c)

Manages multiple paths to storage devices

d)

Monitors the health of RAID arrays

43.

Which protocol is used for file and printer sharing?

a)

NFS

b)

CIFS

c)

SAN

d)

NAS

44.

Which of the following protocols is also known as SMB?

a)

NFS

b)

CIFS

c)

SAN

d)

NAS

45.

What does the lsscsi command-line utility stand for in Linux?

a)

List Storage Space and Connections Information

b)

List Small Computer System Interface devices

c)

List System Storage Components and Interfaces

d)

List SCSI Connection Status and Information

46.

What type of information does the lsscsi command provide?

a)

Universally Unique Identifiers (UUIDs) of block devices

b)

Information about Fiber Channel adapters

c)

Information about SCSI devices, including device name, type, bus, and target

d)

File system types on storage devices

47.

What is the primary purpose of the lsblk command-line utility in Linux?

a)

Retrieve information about Fiber Channel adapters

b)

List information about SCSI devices

c)

Display information about block devices, including hard drives and partitions

d)

Display information about file system types

48.

What information does the blkid command retrieve about block devices in Linux?

a)

Adapter status and link speed

b)

Universally Unique Identifiers (UUIDs) and file system types

c)

Device name, type, bus, and target

d)

Error statistics for Fiber Channel connections

49.

When using the blkid command, how can you display UUID and file system information for a specific device?

a)

blkid --show /dev/sda1

b)

blkid /dev/sda1

c)

blkid -d /dev/sda1

d)

blkid --info /dev/sda1

50.

What does the fcstat command-line utility provide information about in a Linux environment?

a)

Block devices

b)

File system types

c)

Fiber Channel adapters and their statistics

d)

SCSI devices

51.

Which connection type is Fiber Channel commonly used for?

a)

Local Area Network (LAN)

b)

Wireless Area Network (WAN)

c)

Storage Area Network (SAN)

d)

Network-Attached Storage (NAS)

52.

Which command and option provides adapter status, link speed, and error statistics for FC connections?

a)

fcstat -d <adapter>

b)

fcstat -q <adapter>

c)

fcstat -r <adapter>

d)

fc -q <adapter>

53.

What does high latency in storage refer to?

a)

The limited data transfer rate between the storage system and requesting components.

b)

The time it takes for a storage system to respond to a request, causing delays in data access and retrieval.

c)

The number of read and write operations a storage device can handle per second.

d)

The exhaustion of inodes, preventing new file creation.

54.

What is the potential consequence of low throughput in storage?

a)

High latency and I/O wait.

b)

Limited data transfer rate between the storage system and requesting components.

c)

Slow data transfers and poor application performance.

d)

Insufficient IOPS.

55.

What does IOPS stand for in the context of storage?

a)

Input/Output Wait per Second.

b)

Input/Output System.

c)

Inodes Output Performance Standard.

d)

Input/Output Operations Per Second.

56.

How can insufficient IOPS impact system performance?

a)

By causing filesystem corruption.

b)

By leading to high latency.

c)

By resulting in a limited data transfer rate.

d)

By causing sluggish system performance, especially in scenarios with high read/write demands.

57.

What do capacity issues in storage involve?

a)

The exhaustion of inodes.

b)

Running out of storage space on a storage device.

c)

Problems within the structure of the filesystem.

d)

Mismatched filesystem types or versions.

58.

What could be a consequence of running out of storage space on a storage device?

a)

High latency.

b)

I/O wait.

c)

Data loss, application crashes, or system instability.

d)

Slow data transfers.

59.

What are inodes in the context of storage?

a)

The time it takes for a storage system to respond to a request.

b)

Data structures that track files and directories.

c)

The number of read and write operations a storage device can handle per second.

d)

The limited data transfer rate between the storage system and requesting components.

60.

What could be a cause of filesystem corruption in storage?

a)

Running out of storage space.

b)

Limited data transfer rate.

c)

Mismatched filesystem types or versions.

d)

Hardware failures or software errors.

61.

What can be a consequence of filesystem corruption?

a)

I/O wait.

b)

Slow data transfers.

c)

Data loss and filesystem instability.

d)

Limited data transfer rate.

62.

What could be a cause of mismatched filesystem types or versions?

a)

High latency.

b)

IOPS.

c)

Insufficient storage capacity.

d)

Incompatibility between storage devices and hosts.

63.

What role does the I/O scheduler play in managing data flow between a storage device and the system?

a)

Decides the order in which data is stored on the storage device.

b)

Manages the flow of data, optimizing for performance and responsiveness.

c)

Monitors the health of storage devices.

d)

Ensures compatibility between storage devices and the system.

64.

What compatibility problem can Non-Volatile Memory Express (NVMe) devices face with older systems?

a)

Lack of NVMe support in older systems.

b)

Compatibility issues with SSDs.

c)

Limited write cycles.

d)

RAID array failures.

65.

How can SSD performance degrade over time without TRIM support?

a)

Due to compatibility problems.

b)

Due to inadequate permissions.

c)

Due to inefficient data management.

d)

Due to RAID array failures.

66.

What is TRIM support for SSDs, and how does it contribute to performance and longevity?

a)

TRIM support enhances RAID array performance.

b)

TRIM support prevents I/O errors.

c)

TRIM support maximizes the number of write cycles for SSDs.

d)

TRIM support helps maintain SSD performance and longevity by optimizing data management.

67.

What issue can RAID arrays face that may compromise data integrity?

a)

Limited number of write cycles.

b)

Lack of NVMe support.

c)

Disk failures.

d)

I/O errors.

68.

What precaution should be taken during resizing or modifying volumes with Logical Volume Manager (LVM)?

a)

Monitor RAID health.

b)

Check file system permissions.

c)

Enable TRIM support.

d)

Be cautious to avoid misconfigurations or failures.

69.

What do I/O errors indicate, and what actions can be taken to address them?

a)

They indicate disk failures; replace failed disks promptly.

b)

They indicate network-related problems; check network connectivity.

c)

They indicate problems with input or output operations; investigate the root cause, check hardware connections, update drivers, and run diagnostics.

d)

They indicate filesystem corruption; use appropriate tools to check and repair filesystem integrity.

70.

What can happen if a file system is mounted as read-only but needs to be modified?

a)

I/O errors.

b)

Data loss.

c)

Disk failures.

d)

Issues when attempting to write or update files.

71.

What is a common problem during the automatic mounting of file systems during system startup?

a)

Lack of NVMe support.

b)

RAID array failures.

c)

Incorrect or incompatible mount options.

d)

Misconfigurations in /etc/fstab or unavailable file systems.

72.

What should be done before mounting a corrupted file system?

a)

Enable TRIM support.

b)

Verify mount options.

c)

Check file system permissions.

d)

Use appropriate tools to check and repair file system integrity.