Courseiva

EX200 · topic practice

Configure local storage practice questions

This domain covers creating and managing partitions, LVM volumes, and filesystems on RHEL. You must use tools like fdisk, parted, pvcreate, vgcreate, lvcreate, mkfs, and mount, then persist changes in /etc/fstab. Questions test command sequences, resizing, and avoiding data loss.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Configure local storage

What the exam tests

What to know about Configure local storage

You must create partitions, assemble LVM volumes, format filesystems, and extend them online without data loss. The single most important thing is matching the resize command to the filesystem: resize2fs for ext4, xfs_growfs for XFS, after lvextend.

Creating and modifying MBR/GPT partitions with fdisk or parted without destroying existing data

Building LVM stacks using pvcreate, vgcreate, and lvcreate, then formatting with mkfs

Extending logical volumes and filesystems using lvextend plus resize2fs or xfs_growfs

Persisting mounts in /etc/fstab using UUIDs or device paths and verifying with mount -a

Watch out for

Common Configure local storage exam traps

  • ▸Running mkfs on an existing filesystem instead of resizing it, which destroys all data on the volume
  • ▸Forgetting to extend the filesystem after lvextend, leaving the logical volume larger but the filesystem unchanged
  • ▸Using resize2fs on XFS or xfs_growfs on ext4; each filesystem has its own resize tool

Practice set

Configure local storage questions

20 questions · select your answer, then reveal the explanation

An administrator has created a RAID 1 array using mdadm with two 1TB disks. After a disk failure, the array is in a degraded state. Which command should be used to replace the failed disk with a new one?

An administrator needs to ensure that a specific LVM logical volume is automatically mounted at boot with the 'noexec' option. Which configuration file and entry should be used?

Which TWO commands can be used to view the current size and usage of an LVM logical volume? (Choose two.)

An administrator needs to create a new logical volume named 'lvdata' of size 5G in vgdata, format it with ext4, and mount it persistently at /mnt/data. The system currently has /dev/sdc as a physical volume in vgdata. Which command sequence accomplishes this?

Network Topology
/dev/sda2 vgroot lvm2 a10.00G 0/dev/sdc vgdata lvm2 a10.00G 10.00Gn- 10.00G 0n- 10.00G 10.00Groot vgroot -wi-ao8.00Gswap vgroot -wi-ao2.00GRefer to the exhibit.# lsblk# df -h /data# pvs# vgs# lvs

An administrator suspects a disk failure in /dev/md0. Which command would be used to simulate a failure on /dev/sdb and then remove it from the array?

Network Topology
# mdadmdetail /dev/md0Refer to the exhibit.# cat /proc/mdstatPersonalities[raid1] [raid6] [raid5] [raid4]md0active raid5 sdb[0] sdc[1] sdd[2]md1active raid1 sde[0] sdf[1]/dev/md0:Version1.2Raid Level : raid5Raid Devices : 3Total Devices : 3PersistenceSuperblock is persistentStatecleanActive Devices : 3Working Devices : 3Failed Devices : 0Spare Devices : 0Layoutleft-symmetricChunk Size : 512KConsistency Policy : resyncNamelocalhost:0 (local to host localhost)UUID12345678:9abc:def0:1234Events10Number Major Minor RaidDevice State

You are a Red Hat administrator at a company that runs a critical database server. The server has a single 500GB SSD (/dev/sda) with a default partition layout: /boot (1GB), swap (8GB), and / (491GB) using LVM. The database stores data in /var/lib/mysql, which is on the root logical volume. Recently, the /var/lib/mysql directory has been growing rapidly and is now at 95% usage. The server has an additional 1TB HDD (/dev/sdb) installed but not configured. You need to provide additional storage to /var/lib/mysql without downtime. The database is currently running and must remain accessible. You have root access via SSH. Which of the following is the best course of action?

Which command is used to display all block devices that have a filesystem of type XFS?

Which THREE of the following are valid methods to identify a block device in /etc/fstab?

After editing /etc/fstab to add a mount for /data, the system fails to boot and drops to a maintenance shell. Which recovery step should be taken first?

A database server requires a filesystem that supports very large files (over 2TB) and online defragmentation. Which filesystem type should be used?

An administrator is configuring a RAID 1 (mirror) using two 100GB disks /dev/sda and /dev/sdb. After creating the array, which command(s) will verify the array status? (Choose the best answer.)

To ensure that a filesystem is mounted automatically at boot and that only root can write to it, which mount options should be used in /etc/fstab? (Assume the filesystem permissions are appropriately set.)

Which three fields are present in every /etc/fstab entry? (Choose three.)

A system administrator adds a new 10GB disk (/dev/sdb) to a server. The requirement is to create a single ext4 filesystem on the entire disk for storing application data. Which sequence of commands should be used?

An administrator replaces a failed disk in a RAID 10 array /dev/md0. The new disk is /dev/sdc. The admin runs: mdadm /dev/md0 --add /dev/sdc. The command succeeds, but the array does not start rebuilding. What is the most likely reason?

An admin is setting up a new RHEL 9 server. He has two disks: /dev/sda (500GB) and /dev/sdb (500GB). He wants to create a 300GB logical volume for application data, with the ability to take snapshots. He decides to use LVM thin provisioning. He creates a physical volume on /dev/sda, a volume group vg_data, and a thin pool with 300GB of data space and 10GB metadata. He then creates a thin volume lv_app of 300GB. Later, he wants to extend lv_app to 400GB as usage increases. He runs 'lvextend -L+100G /dev/vg_data/lv_app'. The command succeeds, but the application reports no additional space. What is the likely issue?

Which THREE of the following are valid steps to create and mount an XFS filesystem on a new disk /dev/sdb?

Refer to the exhibit. An administrator wants to create a logical volume named 'data' of size 5GB in volume group 'myvg' and mount it at /data. What is the correct sequence of commands?

Network Topology
/dev/sda2 rhel lvm2 a19.00g 0/dev/sdb myvg lvm2 a10.00g 10.00gn- 10.00g 10.00gn- 19.00g 0root rhel -wi-ao17.00gswap rhel -wi-ao2.00g# lsblk# pvs# vgs# lvs

Refer to the exhibit. An administrator wants to create a RAID 1 array using /dev/sdb and /dev/sdc. Which of the following is true?

Exhibit

# lsblk -o NAME,SIZE,TYPE,MOUNTPOINT
NAME   SIZE TYPE MOUNTPOINT
sda     20G disk
├─sda1  500M part /boot
├─sda2  2G   part [SWAP]
└─sda3 17.5G part /
sdb     10G disk
sdc     10G disk

# parted /dev/sdb print
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sdb: 10.7GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start  End  Size  File system  Name  Flags

# parted /dev/sdc print
Error: /dev/sdc: unrecognised disk label

# fdisk -l /dev/sdc
Disk /dev/sdc: 10 GiB, 10737418240 bytes, 20971520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start     End Sectors Size Id Type
/dev/sdc1        2048 20971519 20969472  10G 83 Linux

Refer to the exhibit. An administrator tries to initialize /dev/sdb as an LVM physical volume but gets an error. What is the most likely cause?

Exhibit

# cat /etc/lvm/lvm.conf | grep -A5 'filter ='
	# By default we accept every block device:
	filter = [ "a|.*|" ]

# pvcreate /dev/sdb
  Device /dev/sdb excluded by a filter.

# lvmdiskscan
  /dev/sda1 [      17.15 GiB]
  /dev/sda2 [       2.00 GiB]
  /dev/sdb  [      10.00 GiB]
  0 disks
  3 partitions
  0 LVM physical volumes
  0 LVM logical volumes

# ls -l /dev/sdb
brw-rw----. 1 root disk 8, 16 Nov 25 10:00 /dev/sdb

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Configure local storage sessions

Start a Configure local storage only practice session

Every question in these sessions is drawn from the Configure local storage domain — nothing else.

Related practice questions

Related EX200 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the EX200 exam test about Configure local storage?
You must create partitions, assemble LVM volumes, format filesystems, and extend them online without data loss. The single most important thing is matching the resize command to the filesystem: resize2fs for ext4, xfs_growfs for XFS, after lvextend.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Configure local storage questions in a focused session?
Yes — the session launcher on this page draws every question from the Configure local storage domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other EX200 topics?
Use the topic links above to move to related areas, or go back to the EX200 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the EX200 exam covers. They are not copied from any real exam or dump site.