Skip to main content
Ameerpet, Hyderabad · Classroom & live online
Cloud Soft Solutions

CompTIA Linux+ XK0-006 Exam Guide 2026: 5 Domains, Key Commands, Ansible, 6-Week Plan and 15 Questions

CompTIA Linux+ V8 (XK0-006): up to 90 questions, 90 minutes, pass mark 720. Five domains with weights, the storage, systemd, SELinux and firewall commands that carry the marks, an Ansible example, a 6-week plan and 15 practice questions.

CompTIA Linux+ XK0-006 exam guide 2026, Cloud Soft Solutions
Last updated · 6 min read · 1,392 words

CompTIA Linux+ XK0-006 exam guide 2026, Cloud Soft Solutions

CompTIA Linux+ V8 (XK0-006) is CompTIA's certification for Linux system administrators. It launched on 15 July 2025. It covers system management, services and users, security, automation and scripting (Ansible, Python basics, Git, CI/CD and responsible use of AI code generation) and troubleshooting. Linux runs most cloud servers, containers and CI/CD pipelines, so Linux+ fits freshers and support engineers moving into Linux admin, cloud, DevOps and SRE roles.

This guide follows CompTIA's official V8 page: five domains with weights, what to study in each, the commands that carry the most marks, a 6-week plan and 15 original practice questions.

Quick facts (CompTIA, November 2026)

ItemDetail
Exam codeXK0-006 (V8), launched 15 July 2025
QuestionsMaximum 90, multiple choice and performance-based
Duration90 minutes
Passing score720 on a 100–900 scale
LanguageEnglish
Recommended experience12 months hands-on with Linux servers; A+, Network+ or Server+ or similar knowledge
RetirementUsually about three years after launch; estimated 2028

Read the official CompTIA Linux+ page and download the exam objectives before booking. Make sure your study material says XK0-006.

Domains and weights

DomainWeightKey topics (from CompTIA)
System Management23%Boot process and kernel, devices and kernel modules, LVM, RAID and partitions, network setup, shell operations, archiving and recovery, virtualisation
Troubleshooting22%Monitoring and logs, boot, mount and storage repair, firewall, routing and DNS problems, SELinux and permission fixes, CPU, memory and I/O performance
Services and User Management20%File permissions and links, users and groups, processes and scheduling, package management, services and logs, container runtimes and images
Security18%PAM, LDAP, Kerberos and auditing; iptables, nftables, UFW and firewall zones; sudo; password policy and MFA; encryption and certificates; integrity checks
Automation, Orchestration and Scripting17%Ansible, Puppet and CI/CD; shell scripting; Python basics; Git workflows; responsible use of AI code generation

Troubleshooting is 22% on its own, and many questions in other domains also describe a broken system. Practise on real VMs, not just flash cards.

Commands worth knowing cold

# Storage and LVM
lsblk; blkid; df -h; du -sh /var/*
pvcreate /dev/sdb; vgcreate data /dev/sdb; lvcreate -L 5G -n app data
mkfs.xfs /dev/data/app; mount /dev/data/app /srv/app   # then add to /etc/fstab
lvextend -r -L +2G /dev/data/app                       # grow LV and filesystem

# Services, logs and boot
systemctl status sshd; systemctl enable --now nginx
journalctl -u nginx --since "1 hour ago"; journalctl -b -p err
systemctl get-default; systemctl set-default multi-user.target

# Users, permissions, SELinux
useradd -m -G wheel asha; passwd -e asha; chage -l asha
chmod 2770 /srv/team; chown :team /srv/team; setfacl -m u:ravi:rx /srv/team
getenforce; ls -Z /var/www; restorecon -Rv /var/www

# Network and firewall
ip a; ip r; ss -tulpn; dig example.com; nmcli con show
firewall-cmd --add-service=https --permanent; firewall-cmd --reload
nft list ruleset; ufw allow 22/tcp

What to study in each domain

  • System management (23%): the boot sequence (UEFI, GRUB2, kernel, initramfs, systemd targets), kernel modules (lsmod, modprobe), partitions, LVM and software RAID, network configuration with NetworkManager, archiving (tar, rsync) and recovery, and virtualisation basics (KVM, libvirt).
  • Services and users (20%): permissions, special bits (SUID, SGID, sticky), hard and soft links, users and groups, process control (ps, top, kill, nice), scheduling with cron and systemd timers, packages with dnf and apt, systemd units, and running containers with Podman or Docker.
  • Security (18%): PAM, directory authentication (LDAP, Kerberos), auditd, host firewalls, least-privilege sudo rules, password policies and MFA, SSH keys, certificates and disk encryption (LUKS), and file integrity checks.
  • Automation (17%): Bash scripts with variables, loops, conditionals and exit codes; basic Python; Git branching and merging; Ansible playbooks and inventories; CI/CD concepts; and checking AI-generated code before running it.
  • Troubleshooting (22%): a full disk or inodes, a filesystem that won't mount, a service that won't start, a server that boots to emergency mode, DNS and routing faults, SELinux denials, and slow systems (top, vmstat, iostat, free).
# Small Ansible playbook: install and start nginx on web servers
- hosts: web
  become: true
  tasks:
    - name: Install nginx
      ansible.builtin.package:
        name: nginx
        state: present
    - name: Start and enable nginx
      ansible.builtin.service:
        name: nginx
        state: started
        enabled: true

6-week study plan

WeekFocusLab
1Shell, files, permissions, links, users and groupsBuild a shared team directory with SGID and ACLs
2Boot process, systemd, packages, processes, cron and timersWrite a systemd service and timer for a backup script
3Storage: partitions, LVM, RAID, filesystems, fstab; archiving and recoveryAdd a disk, create an LV, grow it online
4Networking and security: NetworkManager, firewalld/nftables, SSH, sudo, PAM, SELinux, LUKSFix an SELinux denial on a web root
5Automation: Bash and Python scripts, Git, Ansible, containersAnsible playbook that configures two VMs
6Troubleshooting scenarios; performance-based question practice; mocksBreak and fix boot, mount and DNS on a VM; book the exam

15 practice questions with answers

These are original questions written for this guide, not exam questions.

1. A server boots to emergency mode after a new line was added to /etc/fstab. What is the likely cause and fix?
A wrong device, UUID or filesystem type in fstab. Check with blkid, correct the line (or comment it out), then run mount -a to test.

2. df -h shows free space but you can't create files. What do you check?
Inode usage with df -i.

3. Which command grows a logical volume and its filesystem in one step?
lvextend -r.

4. New files in a shared directory must belong to the directory's group. Which bit do you set?
SGID on the directory (chmod g+s).

5. Users must not delete each other's files in a shared directory. Which bit?
The sticky bit (as on /tmp).

6. nginx can't read files in a new web root although permissions are correct, on an SELinux system. What do you do?
Fix the file context (semanage fcontext then restorecon -Rv) rather than disabling SELinux.

7. How do you see only error messages from the current boot?
journalctl -b -p err.

8. A service must start at boot and now. Which single command?
systemctl enable --now <service>.

9. Which command shows listening TCP and UDP ports with their processes?
ss -tulpn.

10. A host can ping 8.8.8.8 but not reach example.com. What is the likely fault?
DNS resolution. Check the resolver configuration and test with dig.

11. A junior admin needs to restart one service as root, nothing else. What do you configure?
A sudo rule allowing only that command (least privilege), edited with visudo.

12. What does a script's exit code of 0 mean?
Success. Any non-zero code means an error, which scripts and CI pipelines can test.

13. An AI assistant wrote a shell script that deletes old logs. What should you do before running it on production?
Read and test it in a lab, check paths and quoting, and run it with a dry-run option first.

14. A server is slow and vmstat shows high wa (I/O wait). Where is the bottleneck?
Storage I/O. Use iostat to find the busy disk and process.

15. Which tool applies the same configuration to many servers without installing an agent?
Ansible (agentless, over SSH).

After Linux+

Cloud Soft Solutions in Ameerpet, Hyderabad teaches Linux administration, DevOps and multi-cloud with real-time labs. See the APEX program and all courses.

📞 Call +91 96660 19191 · WhatsApp · Flat No. 513, 5th Floor, Nilagiri Block, Aditya Enclave, Ameerpet, Hyderabad

Frequently Asked Questions

What is the current CompTIA Linux+ exam code?
XK0-006 (V8), launched on 15 July 2025.

How long is the Linux+ exam?
90 minutes, with a maximum of 90 multiple-choice and performance-based questions.

What is the Linux+ passing score?
720 on a scale of 100–900.

Which Linux+ domain has the most weight?
System Management at 23%, followed closely by Troubleshooting at 22%.

Does Linux+ XK0-006 cover automation?
Yes. Automation, Orchestration and Scripting is 17%, covering Ansible, Puppet, CI/CD, shell scripting, Python basics, Git and responsible use of AI code generation.

When will Linux+ V8 retire?
CompTIA estimates 2028, about three years after launch.

Share𝕏inf✉
EnrollWhatsAppCall us