mediumMultiple ChoiceObjective-mapped
XK0-006 Practice Question: Refer to the exhibit
Network Topology
Refer to the exhibit. A user reports that the /var directory is not accessible. The system administrator checks the logical volumes and notices that the 'var' logical volume is not activated. Which command should be used to activate it?
⚠ Common exam trap
CompTIA often tests the distinction between commands that modify LVM objects (like `lvextend`, `lvcreate`) versus commands that manage state (like `lvchange`), leading candidates to confuse activation with resizing or creation.
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
✓
lvchange -ay vg0/var
The `lvchange -ay vg0/var` command activates the specified logical volume by setting its activation flag to 'y' (yes). This is the correct way to bring an inactive LVM logical volume online so that it can be mounted and accessed.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
lvextend -L+10g vg0/var
Why it's wrong here
lvextend extends the size; activation requires lvchange.
- ✓
lvchange -ay vg0/var
Why this is correct
The -ay option activates the logical volume.
- ✗
lvscan
Why it's wrong here
lvscan only scans for LVs, does not activate them.
- ✗
lvcreate -a y vg0/var
Why it's wrong here
lvcreate is for creating new volumes, not activating existing ones.
Go deeper
Related to this question
Learn chapter
User and Group Administration
Key term
LVM
LVM (Logical Volume Manager) is a storage management system that allows you to create, resize, and manage disk partitions flexibly without needing to repartition the physical disk.
Key term
User
A user is any person, system, or device that interacts with an IT service, resource, or identity system, typically authenticated through credentials and authorized to perform specific actions.
About these practice questions
Courseiva writes every XK0-006 question from scratch — 979 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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This XK0-006 practice question is part of Courseiva's free CompTIA 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 XK0-006 exam.