Courseiva
Storage Management →mediumMultiple Select

LFCS Storage Management Practice Question

An administrator is configuring LVM and wants to display information about physical volumes, volume groups, and logical volumes. Which two commands provide this information? (Choose two.)

⚠ Common exam trap

It's easy for candidates to confuse the 'scan' commands (option A) with 'display' commands, assuming that scanning also shows detailed information, when in fact `pvscan` only lists discovered PVs without showing attributes like PE size or free space.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

pvdisplay, vgdisplay, lvdisplay

Option D is correct because pvdisplay, vgdisplay, and lvdisplay are the LVM reporting commands that print detailed information about physical volumes, volume groups, and logical volumes respectively, including attributes such as size, UUID, PE size, and allocation policy. Option E is also correct because pvs, vgs, and lvs are the LVM reporting commands that produce concise, column-oriented summaries of physical volumes, volume groups, and logical volumes, making them ideal for quickly displaying this information. Option A is incorrect because pvscan, vgscan, and lvscan scan for and activate LVM metadata/devices rather than displaying detailed configuration information. Option B is incorrect because pvck, vgck, and lvck check and repair LVM metadata consistency, not report volume information. Option C is incorrect because pvcreate, vgcreate, and lvcreate create physical volumes, volume groups, and logical volumes rather than displaying information about them.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    pvscan, vgscan, lvscan

    Why it's wrong here

    Scan for devices, not display info.

  • ✗

    pvck, vgck, lvck

    Why it's wrong here

    Check consistency, not display info.

  • ✗

    pvcreate, vgcreate, lvcreate

    Why it's wrong here

    Create objects, not display.

  • ✓

    pvdisplay, vgdisplay, lvdisplay

    Why this is correct

    pvdisplay, vgdisplay and lvdisplay report detailed per-object attributes for physical volumes, volume groups and logical volumes respectively, including sizes, UUIDs and allocation policy. They satisfy the requirement to inspect all three LVM layers, though the question expects only two commands.

  • ✓

    pvs, vgs, lvs

    Why this is correct

    pvs, vgs and lvs are the concise reporting variants, each printing one line per physical volume, volume group or logical volume. They expose the same LVM metadata as the verbose display commands but in compact, script-friendly columns.

About these practice questions

Courseiva writes every LFCS question from scratch — 406 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This LFCS practice question is part of Courseiva's free Linux Foundation certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LFCS exam.