NEW
Font size
WorksheetsLinux - Unit 5 Review
Total questions: 72
Worksheet time: 36mins
What is file storage?
Dividing data into fixed-sized blocks
Storing data as objects with metadata
Organizing data into files and folders with a hierarchical structure
Defining the layout of partitions on a storage device
In which storage concept is data divided into fixed-sized blocks with unique identifiers?
File storage
Block storage
Object storage
RAID
What type of data is object storage well-suited for?
Structured data
Databases
Unstructured data like photos and videos
Virtual machines
Which partition table is more modern and versatile, supporting larger capacities and better data integrity?
Master Boot Record (MBR)
Filesystem in Userspace (FUSE)
Redundant Array of Independent Disks (RAID)
GUID Partition Table (GPT)
What is the purpose of Filesystem in Userspace (FUSE)?
Enabling user-level programs to create and manage file systems without kernel-level modifications
Combining multiple disk drives into a single logical unit
Defining the layout of partitions on a storage device
Providing redundancy in storage
What RAID level offers data redundancy but does not improve read or write performance?
RAID 0 (Striping)
RAID 1 (Mirroring)
RAID 5
RAID 6
Which command is used to list all Universal Serial Bus (USB) devices connected to the system?
lspci
dmidecode
lsusb
mkfs
What does the lspci command provide information about?
USB devices
Hardware components connected to the PCI bus
RAID levels
File storage
What information does the dmidecode command retrieve?
USB devices
CPU details, motherboard, and BIOS version
Filesystem in Userspace (FUSE) details
RAID configurations
What RAID level involves splitting data into chunks and distributing them across multiple disks?
RAID 0 (Striping)
RAID 1 (Mirroring)
RAID 5
RAID 6
What is the primary purpose of disk partitioning in Linux?
To add complexity to system administration
To waste disk space
To improve the performance of the computer and organize files efficiently
To make it difficult to recover from system failures
What benefit does disk partitioning provide for backing up data?
It makes it easier to lose data
It adds complexity to the backup process
It can help in recovering from system failures
It has no impact on data backup
What is a drawback of improper partitioning or errors during resizing or formatting operations?
Improved computer performance
Increased disk space utilization
Data loss
Easy recovery from system failures
What utility is used to create, modify, or delete partitions on a storage drive in Linux?
parted
partprobe
mkfs
fdisk
Which command is used to update the kernel with changes in the partition table?
partprobe
mkfs
select
resizepart
What is the purpose of the mkfs command in Linux?
To create, modify, or delete partitions
To update the kernel with changes in the partition table
To build a Linux file system on a specified device
To list existing partitions
What is a mount point in Linux?
A physical storage device
A logical connection between a directory and a filesystem
An entry in /var/log/messages
A file in the /etc/systemd/system directory
What must be done before mounting a partition in Linux?
Enumerate the device via uevent
Update the configuration file
Plug in a removable device
Create a new directory that will become the mount point
Which option for the mount command indicates that the filesystem should be mounted in read-only mode?
ro
rw
sync
async
Which command is used to grow an XFS file system, specifying a new size for the mount point?
xfs_info
xfs_growfs
xfs_expand
xfs_resize
What is the purpose of systemD.mount in Linux?
To create a virtual mapped drive
To interface between the kernel and applications
To create a mount unit for the filesystem
To enumerate removable devices
What is the role of LUKS in Linux when working with files on a filesystem?
To create a virtual mapped drive
To plug into the kernel and provide an interface between virtual and physical drives
To create a mount point
To automatically mount devices at boot time
Where can mount parameters for a device be found in Linux?
/var/log/messages
/etc/systemd/system directory
/etc/fstab
/etc/mount
What does the xfs_repair command do when executed with the -n switch?
Modifies the file system
Copies the XFS file system to another location
Performs a consistency check and repair, reporting modifications needed
Copies the superblock metadata to a disk file
Which command is used for examining the XFS file system and printing the current version and feature bits?
xfs_info
xfs_metadump
xfs_admin
xfs_db
What does the xfs_admin command allow you to do with an XFS file system?
Grow the file system
Change parameters such as label and UUID
Copy the contents of the file system
Perform a consistency check
What tool is used to grow the EXT4 filesystem?
mkfs
e2fsck
e2image
Which filesystem is the default for SUSE Linux and offers built-in capabilities for copy-on-write, snapshots, pooling, and logical volumes?
XFS
EXT4
btrfs
JFS
When installing an operating system with btrfs, when should you choose the btrfs journaling file system?
After installing the operating system
During the initialization of the system before installation
During the resizing of the file system
When performing a consistency check
What does the pvcreate command in LVM do?
Creates a logical volume
Initializes a physical disk or partition as an LVM physical volume
Creates a volume group
Resizes a logical volume
What is a volume group in LVM?
A logical building block for storing data
A pool of storage that aggregates multiple physical volumes
A virtual partition
A status report on logical volumes
Which command is used to create logical volumes within a volume group in LVM?
lvresize
lvcreate
vgcreate
pvcreate
What information does the pvs command provide in LVM?
Details about logical volumes
Overview of volume groups
Information about physical volumes, including total size, used space, and free space
Status of volume groups
When adjusting the size of a logical volume in LVM, which command should be used?
lvextend
lvresize
lvchange
vgextend
What does the vgextend command do in LVM?
Resizes a logical volume
Changes the attributes of a logical volume
Adds more physical volumes to an existing volume group
Creates a new volume group
What does the lvchange command enable in LVM?
Creates a logical volume
Adds more physical volumes to a volume group
Changes the attributes of a logical volume
Initializes a physical disk
What does "mdadm" stand for in the context of RAID management in Linux?
Multiple Disk Administrator
Multiple Device Administration
Memory Disk Administration
Manage Disk Arrays
Which "mdadm" command is used to create a new RAID array?
mdadm --manage
mdadm --create
mdadm --detail
mdadm --monitor
What information does the "/proc/mdstat" file provide in Linux RAID configurations?
Real-time information about SAN devices
Static details about RAID arrays
Detailed information about RAID devices and arrays in real-time
Information about Network File Systems
What is the purpose of Multipathd in Linux systems, particularly in SAN environments?
Manages multiple paths to storage devices, ensuring redundancy and load balancing
Creates and manages RAID arrays
Monitors the health of Network File Systems
Provides real-time information about RAID devices
Which protocol enables file sharing between systems on a network and is commonly used in Unix and Linux environments?
Network File System (NFS)
Server Message Block (SMB)
Common Internet File System (CIFS)
mdadm
What is the role of NAS in network environments?
Provides block-level storage to servers
Enables file sharing and centralized storage using a file-level approach
Manages multiple paths to storage devices
Monitors the health of RAID arrays
Which protocol is used for file and printer sharing?
NFS
CIFS
SAN
NAS
Which of the following protocols is also known as SMB?
NFS
CIFS
SAN
NAS
What does the lsscsi command-line utility stand for in Linux?
List Storage Space and Connections Information
List Small Computer System Interface devices
List System Storage Components and Interfaces
List SCSI Connection Status and Information
What type of information does the lsscsi command provide?
Universally Unique Identifiers (UUIDs) of block devices
Information about Fiber Channel adapters
Information about SCSI devices, including device name, type, bus, and target
File system types on storage devices
What is the primary purpose of the lsblk command-line utility in Linux?
Retrieve information about Fiber Channel adapters
List information about SCSI devices
Display information about block devices, including hard drives and partitions
Display information about file system types
What information does the blkid command retrieve about block devices in Linux?
Adapter status and link speed
Universally Unique Identifiers (UUIDs) and file system types
Device name, type, bus, and target
Error statistics for Fiber Channel connections
When using the blkid command, how can you display UUID and file system information for a specific device?
blkid --show /dev/sda1
blkid /dev/sda1
blkid -d /dev/sda1
blkid --info /dev/sda1
What does the fcstat command-line utility provide information about in a Linux environment?
Block devices
File system types
Fiber Channel adapters and their statistics
SCSI devices
Which connection type is Fiber Channel commonly used for?
Local Area Network (LAN)
Wireless Area Network (WAN)
Storage Area Network (SAN)
Network-Attached Storage (NAS)
Which command and option provides adapter status, link speed, and error statistics for FC connections?
fcstat -d <adapter>
fcstat -q <adapter>
fcstat -r <adapter>
fc -q <adapter>
What does high latency in storage refer to?
The limited data transfer rate between the storage system and requesting components.
The time it takes for a storage system to respond to a request, causing delays in data access and retrieval.
The number of read and write operations a storage device can handle per second.
The exhaustion of inodes, preventing new file creation.
What is the potential consequence of low throughput in storage?
High latency and I/O wait.
Limited data transfer rate between the storage system and requesting components.
Slow data transfers and poor application performance.
Insufficient IOPS.
What does IOPS stand for in the context of storage?
Input/Output Wait per Second.
Input/Output System.
Inodes Output Performance Standard.
Input/Output Operations Per Second.
How can insufficient IOPS impact system performance?
By causing filesystem corruption.
By leading to high latency.
By resulting in a limited data transfer rate.
By causing sluggish system performance, especially in scenarios with high read/write demands.
What do capacity issues in storage involve?
The exhaustion of inodes.
Running out of storage space on a storage device.
Problems within the structure of the filesystem.
Mismatched filesystem types or versions.
What could be a consequence of running out of storage space on a storage device?
High latency.
I/O wait.
Data loss, application crashes, or system instability.
Slow data transfers.
What are inodes in the context of storage?
The time it takes for a storage system to respond to a request.
Data structures that track files and directories.
The number of read and write operations a storage device can handle per second.
The limited data transfer rate between the storage system and requesting components.
What could be a cause of filesystem corruption in storage?
Running out of storage space.
Limited data transfer rate.
Mismatched filesystem types or versions.
Hardware failures or software errors.
What can be a consequence of filesystem corruption?
I/O wait.
Slow data transfers.
Data loss and filesystem instability.
Limited data transfer rate.
What could be a cause of mismatched filesystem types or versions?
High latency.
IOPS.
Insufficient storage capacity.
Incompatibility between storage devices and hosts.
What role does the I/O scheduler play in managing data flow between a storage device and the system?
Decides the order in which data is stored on the storage device.
Manages the flow of data, optimizing for performance and responsiveness.
Monitors the health of storage devices.
Ensures compatibility between storage devices and the system.
What compatibility problem can Non-Volatile Memory Express (NVMe) devices face with older systems?
Lack of NVMe support in older systems.
Compatibility issues with SSDs.
Limited write cycles.
RAID array failures.
How can SSD performance degrade over time without TRIM support?
Due to compatibility problems.
Due to inadequate permissions.
Due to inefficient data management.
Due to RAID array failures.
What is TRIM support for SSDs, and how does it contribute to performance and longevity?
TRIM support enhances RAID array performance.
TRIM support prevents I/O errors.
TRIM support maximizes the number of write cycles for SSDs.
TRIM support helps maintain SSD performance and longevity by optimizing data management.
What issue can RAID arrays face that may compromise data integrity?
Limited number of write cycles.
Lack of NVMe support.
Disk failures.
I/O errors.
What precaution should be taken during resizing or modifying volumes with Logical Volume Manager (LVM)?
Monitor RAID health.
Check file system permissions.
Enable TRIM support.
Be cautious to avoid misconfigurations or failures.
What do I/O errors indicate, and what actions can be taken to address them?
They indicate disk failures; replace failed disks promptly.
They indicate network-related problems; check network connectivity.
They indicate problems with input or output operations; investigate the root cause, check hardware connections, update drivers, and run diagnostics.
They indicate filesystem corruption; use appropriate tools to check and repair filesystem integrity.
What can happen if a file system is mounted as read-only but needs to be modified?
I/O errors.
Data loss.
Disk failures.
Issues when attempting to write or update files.
What is a common problem during the automatic mounting of file systems during system startup?
Lack of NVMe support.
RAID array failures.
Incorrect or incompatible mount options.
Misconfigurations in /etc/fstab or unavailable file systems.
What should be done before mounting a corrupted file system?
Enable TRIM support.
Verify mount options.
Check file system permissions.
Use appropriate tools to check and repair file system integrity.
