• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 90 pages
Exam (elaborations)

CompTIA Linux+ XK0-006 Exam 2026 – Practice Questions & Answers

Document preview thumbnail
Preview 4 out of 90 pages

Review Linux+ certification topics with practice questions covering Linux administration, system configuration, command-line tools, permissions, networking, security, scripting, and troubleshooting.

Content preview

CompTIA Linux+ XK0-006 Exam 2026 – 190 Practice Questions with
Answers & Detailed Rationales, System Management, Services &
User Administration, Linux Security, Scripting & Automation,
Troubleshooting




Domain 1: System Management (Questions 1–44)

Question 1

A Linux administrator needs to identify which kernel module provides support for a specific
network interface card. Which command should the administrator use?



A. lsmod | grep <module_name>

B. modinfo <module_name>

C. lspci -k

D. dmesg | grep <module_name>



Correct Answer: C



Explanation: lspci -k displays PCI devices along with the kernel driver and modules in use for
each, directly linking hardware to module.



Question 2

An administrator needs to create a new logical volume named data within an existing
volume group vg_prod with a size of 50GB. Which command accomplishes this?



A. lvcreate -L 50G -n data vg_prod

B. vgcreate -L 50G -n data vg_prod

C. pvcreate -L 50G -n data vg_prod

,D. lvcreate -l 50G -n vg_prod data



Correct Answer: A



Explanation: lvcreate creates logical volumes; -L specifies size in gigabytes, -n names the LV,
and the VG follows.



Question 3

A system fails to boot and drops to an emergency shell. The administrator suspects a
corrupted filesystem on /dev/sda2. What is the correct sequence to attempt repair?



A. Mount /dev/sda2, run fsck, then reboot

B. Run fsck /dev/sda2 while unmounted, then reboot

C. Run mkfs.ext4 /dev/sda2 to recreate the filesystem

D. Boot into single-user mode and run tune2fs /dev/sda2



Correct Answer: B



Explanation: fsck must run on unmounted filesystems to safely repair corruption without
risking data loss or further damage.



Question 4

Which systemd target corresponds to the traditional runlevel 3 (multi-user, non-graphical)?



A. graphical.target

B. rescue.target

C. multi-user.target

D. emergency.target

,Correct Answer: C



Explanation: multi-user.target provides a full multi-user command-line environment,
equivalent to legacy runlevel 3.



Question 5

A server has two physical network interfaces, eth0 and eth1. The administrator wants to
bond them for redundancy. Which bonding mode provides fault tolerance without load
balancing?



A. balance-rr (mode 0)

B. active-backup (mode 1)

C. balance-xor (mode 2)

D. 802.3ad (mode 4)



Correct Answer: B



Explanation: active-backup (mode 1) uses one active slave and fails over to another only if
the active one fails, providing redundancy.



Question 6

An administrator needs to compress a directory /var/log/archive into a gzip-compressed
tarball. Which command is correct?



A. tar -czf archive.tar.gz /var/log/archive

B. tar -xzf archive.tar.gz /var/log/archive

C. gzip -r /var/log/archive > archive.tar.gz

D. zip -r archive.tar.gz /var/log/archive

, Correct Answer: A



Explanation: tar -czf creates (c) a gzip-compressed (z) archive file (f) from the specified
directory.



Question 7

A Linux system is configured with UEFI firmware. Which partition type is required for the
bootloader?



A. BIOS Boot Partition

B. EFI System Partition (ESP)

C. Linux LVM partition

D. Root filesystem partition



Correct Answer: B



Explanation: UEFI systems require an EFI System Partition formatted with FAT32 to store
bootloader files and EFI applications.



Question 8

Which command displays the current runlevel and previous runlevel on a systemd-based
distribution?



A. runlevel

B. systemctl get-default

C. who -r

D. init --status



Correct Answer: A

Document information

Uploaded on
October 15, 2026
Number of pages
90
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$38.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TUTORWILLIAM
4.7
(91)
Sold
194
Followers
61
Items
5677
Last sold
5 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions