Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

HomeCertificationsLPIC-2TopicsBlock Devices, Filesystems and Advanced Storage
Free · No Signup RequiredLPI · LPIC-2

LPIC-2 Block Devices, Filesystems and Advanced Storage Practice Questions

20+ practice questions focused on Block Devices, Filesystems and Advanced Storage — one of the most tested topics on the Linux Professional Institute Certification Level 2 LPIC-2 exam. Each question includes a detailed explanation so you learn why the right answer is correct.

Start Block Devices, Filesystems and Advanced Storage Practice

Exam Domains

Linux Kernel and System StartupBlock Devices, Filesystems and Advanced StorageAdvanced Networking ConfigurationDNS, Web and Mail ServicesFile Sharing and SambaSystem SecurityNetwork Client ManagementAll domains →

Study Tools

Practice TestMock ExamFlashcardsAll Topics

Sample Block Devices, Filesystems and Advanced Storage Questions

Practice all 20+ →
1.

A system administrator notices that a new 1TB NVMe drive (/dev/nvme0n1) is not detected by the kernel. The hardware is confirmed working. Which troubleshooting step should be taken first to check if the drive is recognized by the system's PCI subsystem?

A.Run lsblk to list all block devices.
B.Check dmesg output for errors.
C.Run lspci to verify the NVMe controller is detected.
D.Run fdisk -l /dev/nvme0n1 to probe the drive.

Explanation: The NVMe drive is not detected by the kernel, but the hardware is confirmed working. The first step is to verify whether the PCI subsystem sees the NVMe controller, because NVMe devices are connected via the PCI Express bus. Running lspci lists all PCI devices, including the NVMe controller; if it does not appear, the issue is at the PCI or hardware level, not the block layer.

2.

An administrator is designing a high-availability storage solution using DRBD. The requirement is to have two nodes with synchronous replication and automatic failover in case of primary node failure. Which configuration best achieves this?

A.Export the DRBD block device via NFS and use a load balancer.
B.Primary/Secondary DRBD resource with manual failover using drbdadm.
C.DRBD with Heartbeat to automatically promote the secondary on primary failure.
D.DRBD in Primary/Primary mode managed by Pacemaker cluster stack.

Explanation: Option D is correct because DRBD in Primary/Primary mode, managed by the Pacemaker cluster stack, provides synchronous replication and automatic failover. Pacemaker monitors node health and can promote the secondary node to primary automatically upon primary failure, meeting the high-availability requirement without manual intervention.

3.

A filesystem is reported as 'read-only' after an unexpected power failure. Which command should be used to attempt repair without data loss?

A.mount -o remount,rw /dev/sda1
B.fsck -y /dev/sda1
C.fsck -n /dev/sda1
D.e2fsck -p /dev/sda1

Explanation: After an unexpected power failure, the filesystem may have been marked as needing a clean replay of its journal, but it is not necessarily corrupted. Running `fsck -n` performs a read-only check of the filesystem without making any changes, allowing you to assess the extent of damage or confirm that the journal replay is all that is needed. This avoids the risk of `fsck` making incorrect automatic repairs that could cause data loss, which is critical when the root cause is an unclean shutdown rather than structural corruption.

4.

Which TWO statements about LVM thin provisioning are correct?

A.Thin pools are created using the 'pvcreate' command.
B.The filesystem on a thin volume must support the 'discard' option to free unused space.
C.Thin volumes can be over-provisioned, allowing more virtual space than physical storage.
D.Thin provisioning requires a dm-cache device to function.

Explanation: Option B is correct because thin volumes allocate data blocks on demand from a thin pool. To allow the underlying physical storage to reclaim unused blocks when files are deleted, the filesystem must support the 'discard' option (or use fstrim) so that it can notify the device mapper of freed space. Without discard, the thin pool never learns that blocks are no longer in use, preventing space reclamation.

5.

A Linux administrator is managing a database server running on CentOS 7 that uses ext4 filesystems on LVM. The server has three physical volumes: /dev/sda (200GB), /dev/sdb (200GB), and /dev/sdc (200GB) all in volume group 'vg_db'. The logical volume 'lv_data' (400GB) is used for database files. Recently, the DBA reports that database writes are slower than expected. Iostat shows high average wait times (>100ms) on /dev/sdc but normal on /dev/sda and /dev/sdb. The LVM stripes data across all three PVs with a stripe size of 64KB. Which action should the administrator take to improve performance?

A.Replace /dev/sdc with a new disk and restore the mirror or restripe.
B.Convert lv_data to linear mapping on /dev/sda and /dev/sdb only.
C.Increase the stripe size to 256KB to reduce I/O overhead.
D.Remove /dev/sdc from the volume group and reduce the stripe count to 2.

Explanation: The high average wait time on /dev/sdc indicates that this specific physical volume is a performance bottleneck, likely due to hardware failure or degradation. Since the logical volume 'lv_data' stripes data across all three PVs, the overall write performance is limited by the slowest device in the stripe set. Replacing /dev/sdc with a new disk and restoring the stripe (e.g., using pvmove to relocate extents and then replacing the device) eliminates the bottleneck and restores balanced I/O across all PVs.

+15 more Block Devices, Filesystems and Advanced Storage questions available

Practice all Block Devices, Filesystems and Advanced Storage questions

How to master Block Devices, Filesystems and Advanced Storage for LPIC-2

1. Baseline your knowledge

Start with 10 questions to gauge your current understanding of Block Devices, Filesystems and Advanced Storage. This tells you whether you need a concept refresher or just practice.

2. Review every explanation

For each question — right or wrong — read the full explanation. Understanding why an answer is correct is more valuable than knowing the answer itself.

3. Focus on exam traps

Block Devices, Filesystems and Advanced Storage questions on the LPIC-2 frequently use trap wording. Look for subtle differences in answers that test your precision, not just general knowledge.

4. Reach 80% consistently

Do repeated sessions until you score 80%+ three times in a row. Then move to mixed-mode practice to test cross-topic recall under realistic conditions.

Frequently asked questions

How many LPIC-2 Block Devices, Filesystems and Advanced Storage questions are on the real exam?

The exact number varies per candidate. Block Devices, Filesystems and Advanced Storage is tested as part of the Linux Professional Institute Certification Level 2 LPIC-2 blueprint. Practicing with targeted Block Devices, Filesystems and Advanced Storage questions ensures you can handle any format or difficulty that appears.

Are these LPIC-2 Block Devices, Filesystems and Advanced Storage practice questions free?

Yes. Courseiva provides free LPIC-2 practice questions across all exam topics and domains. The platform includes topic-based practice, mock exams, missed-question review, bookmarked questions, and readiness tracking — no account required.

Is Block Devices, Filesystems and Advanced Storage one of the harder LPIC-2 topics?

Difficulty is subjective, but Block Devices, Filesystems and Advanced Storage is a high-priority exam concept tested in multiple ways — direct recall, scenario analysis, and command-output interpretation. Consistent practice is the best way to build confidence.

Ready to practice?

Launch a full Block Devices, Filesystems and Advanced Storage practice session with instant scoring and detailed explanations.

Start Block Devices, Filesystems and Advanced Storage Practice →

Topic Info

Topic

Block Devices, Filesystems and Advanced Storage

Exam

LPIC-2

Questions available

20+