Certification guide · CompTIA Linux+

CompTIA Linux+ XK0-006: exam objectives, study guide and how to pass

What the CompTIA Linux+ XK0-006 covers according to its official objectives: exam format, the five domains, the topics that matter most, a study plan, practice exams and whether the certification is worth it.

By the HacksinCodigos team · Updated · 9 min read

In this guide: what Linux+ is · exam format · exam objectives · key topics · study guide · your lab · practice exams · how to pass · is Linux+ worth it?

What CompTIA Linux+ certifies

The CompTIA Linux+ exam shows that you can set up a Linux server, keep it running and fix it when it breaks, following good security practices and using scripts, containers, virtual machines and automation. CompTIA describes the level as equivalent to 12 months of hands-on experience with Linux servers.

The current version is XK0-006, and it is distribution-neutral. The objectives suggest practicing on AlmaLinux, Debian, Fedora, openSUSE or SUSE Linux Enterprise Server, Red Hat Enterprise Linux, Rocky Linux or Ubuntu, and questions cover both RPM-based and Debian-based tooling.

Linux+ exam format

ItemDetails
Exam codeXK0-006
QuestionsMaximum of 90, multiple-choice and performance-based
Length90 minutes
Passing score720 on a scale of 100–900
Recommended experience12 months of hands-on experience with Linux servers; A+, Network+, Server+ or similar knowledge recommended
Where to take itAt a Pearson VUE test center or online
Exam costCheck the current voucher price on CompTIA's website

The recommended experience and certifications are recommendations, not prerequisites. The passing score is scaled, so 720 is not a percentage: aim for a comfortable margin on timed practice exams.

Many questions are scenarios: "an administrator extended a logical volume, but df -h still shows the old size; what should they run next?" Recognizing the command is not enough; you need to know the order things happen in. Performance-based questions (PBQs) go further and ask you to complete a task, often in a terminal. The guide to Security+ and Linux+ PBQs covers the formats and how to budget time for them.

XK0-006 exam objectives

CompTIA publishes an objectives document that lists, domain by domain, the concepts and commands that can appear. Five domains, with these weights:

DomainWeightWhat it covers
1.0 System Management23%Boot process, FHS, architectures and distributions, devices and kernel modules, storage (partitions, LVM, RAID, filesystems, mounts, NFS, Samba), networking, shell operations, backups and virtualization
2.0 Services and User Management20%Files and directories, local accounts, processes and jobs, software and repositories, common services, systemd and containers
3.0 Security18%Authentication and logging (PAM, SSSD, LDAP, Kerberos, auditd), firewalls, OS and account hardening, cryptography and compliance
4.0 Automation, Orchestration, and Scripting17%Infrastructure as code, unattended deployments, CI/CD, Kubernetes, Swarm and Compose, Bash scripting, Python basics, Git and responsible use of AI
5.0 Troubleshooting22%Monitoring, plus hardware, storage, OS, network, security and performance issues

Troubleshooting is 22% of the exam and cuts across every other domain: fixing a broken /etc/fstab takes storage knowledge, and fixing a service that won't start takes systemd. Practice it throughout your preparation, not just at the end.

Key Linux+ exam topics

The objectives name hundreds of commands. These are the blocks that come up most and are worth knowing by muscle memory.

Storage and LVM

Create volumes with pvcreate, vgcreate and lvcreate; grow them with lvextend, then grow the filesystem with resize2fs (ext4) or xfs_growfs (XFS). Read lsblk and blkid, mount through /etc/fstab and know options like noexec, nosuid and nofail. For RAID, mdadm and /proc/mdstat.

systemd and processes

Service units, timers and targets; systemctl enable, mask and daemon-reload; diagnosis with journalctl and systemd-analyze. Signals (1 HUP, 9 KILL, 15 TERM), nice and renice, and scheduling with crontab, at and anacron.

Server security

The most detail-heavy block: sudo and /etc/sudoers, octal and symbolic permissions, SUID, SGID and the sticky bit, umask, ACLs with setfacl and getfacl, and SELinux (restorecon, semanage, setsebool, audit2allow). SSH key authentication, PermitRootLogin and fail2ban; firewalld, ufw and nftables; GPG, LUKS2 and TLS; OpenSCAP, CIS Benchmarks and AIDE.

Containers, automation and scripting

Docker and Podman: building images from a Dockerfile, volumes, networks, privileged versus unprivileged containers. Kubernetes pods, deployments, services, ConfigMaps and secrets. Ansible, Puppet and OpenTofu; Kickstart and cloud-init. In Bash: parameter expansion (${var}), command substitution, if and case, loops and the $? exit code. Git from clone to rebase and stash.

AI, used responsibly

One domain 4 objective covers best practices and responsible uses of AI: generating code, regular expressions or infrastructure as code, reviewing the output before using it, and being careful with the data you hand to a model. It tests judgment, not a particular tool.

Linux+ study guide: a six-week plan

Go from the basics to the advanced topics so each week builds on the last. If you already use Linux at work, the same sequence fits into 15 days at about two hours a day.

WeekWhat to studyHow to practice
1The terminal, files and directories, redirection, pipes and text processingUse the terminal every day; redirect and filter the output of every new command
2Users, groups, sudo, permissions, ACLs and package managementCreate users and a shared folder with SGID and ACLs; install and remove packages
3Processes, scheduling, the boot process, systemd, disks and filesystemsWrite your own systemd unit; mount a disk by UUID in fstab
4LVM, RAID, backups, virtualization, networking, SSH and server securityExtend a mounted logical volume; harden sshd and the firewall; take a sample exam
5Bash scripting, Git, containers, automation, Python and troubleshootingAutomate a backup with a script; run a container with a volume and a published port
6Full reviewFull-length timed practice exams; review your weakest domain between them

Use the objectives document as your checklist. Tick off an objective only when you can do it in a terminal without looking anything up.

Build a lab: you pass Linux+ by typing

CompTIA's suggested hardware and software list for exam prep includes a computer that supports virtualization or access to a cloud provider, Docker, Podman, Kubernetes with Minikube, Ansible, Git, Python 3 and an SSH client. A practical setup combines two things:

  • A terminal for daily practice. Short, frequent sessions beat long weekend marathons. A browser-based terminal with self-checking tasks lets you drill commands until they stick.
  • A virtual machine for full-system work. Install one RPM-based and one Debian-based distribution to see the differences in packages, firewalls and networking. That is where you reboot, edit GRUB and break the boot process on purpose to fix it.

A useful habit: every time you study an objective, break something on purpose and repair it. That is exactly what domain 5 tests.

Linux+ practice exams

A good practice exam matches the real one: 90 minutes, English wording, scenario questions, PBQs and a 100–900 score. It should also explain every answer, so you learn from the questions you got right by luck.

Stay away from "brain dumps": the official objectives warn that candidates who use them have their certifications revoked and are suspended from future testing. Practice with original questions.

The HacksinCodigos Linux+ course includes three full practice exams in that format, with terminal PBQs, ordering, matching and classification tasks, and a per-domain report. The free XK0-006 practice exam is timed and includes a hands-on terminal task, with five sample questions and explanations you can read first.

How to pass Linux+

  1. Score above 800 on full timed practice exams. 720 is the minimum; the margin is your insurance.
  2. Leave no weak domain, especially troubleshooting at 22%.
  3. Know the order, not just the command. Extend the volume, then grow the filesystem; edit the unit, then reload systemd, then restart the service.
  4. Watch the distribution in the question. It changes the right tool: apt or dnf, ufw or firewalld, Netplan or NetworkManager.
  5. Flag PBQs that stall you and return to them after the multiple-choice questions.

Is Linux+ worth it?

It depends on where you are heading. Linux+ makes sense if:

  • you are aiming for infrastructure, cloud, DevOps or cybersecurity roles, where most servers run Linux;
  • you want a credential that is not tied to one distribution, and that you can sit like any other CompTIA exam;
  • you want an up-to-date syllabus: XK0-006 covers containers, Kubernetes, infrastructure as code, CI/CD and responsible AI use alongside classic administration.

If your employer standardizes on one distribution and asks for that vendor's certification, that may be the better fit. And even if you never sit the exam, the objectives give you an organized map of what a Linux administrator should know. Deciding between Linux+ and Security+? The CompTIA certification path explains where each one fits.

About the HacksinCodigos Linux+ course

To be clear about the language: the HacksinCodigos Linux+ course is taught in Spanish. The practice exams are in English, like the real one, with explanations in Spanish. It covers the XK0-006 objectives over 15 days, with a Linux terminal that runs in your browser and more than 230 self-checking tasks. You can try the first lesson for free.

Practice with the Linux+ course

A 15-day Linux+ XK0-006 online prep course with a Linux terminal in the browser, more than 230 self-checking tasks and practice exams in the real exam format. The sample exam (11 questions, 15 minutes) is free. The courses are taught in Spanish. The practice exams are in English, like the real exam.

Frequently asked questions

Five domains: System Management (23%), Services and User Management (20%), Security (18%), Automation, Orchestration, and Scripting (17%) and Troubleshooting (22%). CompTIA publishes the full objectives document.

A maximum of 90 multiple-choice and performance-based questions in 90 minutes. The passing score is 720 on a scale of 100 to 900.

No. CompTIA recommends 12 months of hands-on Linux server experience and A+, Network+ or Server+ level knowledge, but these are recommendations, not prerequisites.

The HacksinCodigos Linux+ course includes three full practice exams with the real format, and a free sample exam anyone can take. All questions are original, written from the public objectives.

It is a good fit if you are heading for infrastructure, cloud, DevOps or cybersecurity and want a distribution-neutral certification with a modern syllabus that includes containers and automation.

The exam is distribution-neutral. Practice on one RPM-based distribution, such as Rocky Linux or Fedora, and one Debian-based one, such as Ubuntu or Debian.

No. The lessons are in Spanish. The practice exams are in English, like the real exam, with explanations in Spanish.

More certification guides

Exam details come from the exam objectives published by CompTIA; check pricing and registration on CompTIA's website.

Message us now!