exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 131 discussion

Actual exam question from CompTIA's XK0-005
Question #: 131
Topic #: 1
[All XK0-005 Questions]

A Linux administrator needs to expand a volume group using a new disk. Which of the following options presents the correct sequence of commands to accomplish the task?

  • A. partprobe
    vgcreate
    lvextend
  • B. lvcreate
    fdisk
    partprobe
  • C. fdisk
    partprobe
    mkfs
  • D. fdisk
    pvcreate
    vgextend
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Alizadeh
8 months, 3 weeks ago
Selected Answer: D
The correct sequence of commands is D. fdisk, pvcreate, vgextend.
upvoted 2 times
...
linux_admin
1 year, 2 months ago
Selected Answer: D
D. fdisk, partprobe, pvcreate, vgextend Explanation: fdisk is used to create a partition on the new disk. partprobe is used to inform the OS of the new partition and update the kernel's partition table. pvcreate is used to create a physical volume on the new partition. vgextend is used to extend the volume group to include the new physical volume. The other options are not correct for the following reasons: Option A is not correct because it is missing the pvcreate and vgextend commands, which are required to create a physical volume and extend the volume group to include the new physical volume. Option B is not correct because it uses lvcreate instead of pvcreate to create a new logical volume, which is not necessary for expanding a volume group using a new disk. Option C is not correct because it uses mkfs to create a file system, which is not necessary for expanding a volume group using a new disk. Additionally, it is missing the pvcreate and vgextend commands, which are required to create a physical volume and extend the volume group to include the new physical volume.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago