Free CompTIA Linux+ Practice Test 2026

204 original questions weighted to the XK0-006 exam objectives, with real commands, choose-two, matching and ordering items. Tuned for mobile. Free to start, no account needed.

Tigertest Linux+ practice test training mode on mobile

Train on mobile

Tigertest Linux+ practice test on desktop

Test on desktop

The Linux+ exam at a glance

The CompTIA Linux+ exam (XK0-006) has a maximum of 90 questions in 90 minutes, multiple choice and performance-based, and you need 720 on a 100 to 900 scale to pass. It covers System Management 23%, Services and User Management 20%, Security 18%, Automation, Orchestration, and Scripting 17% and Troubleshooting 22%. XK0-006 launched on July 15, 2025, and the English XK0-005 exam retired on January 13, 2026.

Tigertest has 204 Linux+ practice questions with explanations, free to start with no account required.

Questions
Up to 90
Time
90 minutes
Passing score
720 on a 100 to 900 scale
Exam code
XK0-006 (replaced XK0-005)
Valid for
3 years
Given by
CompTIA, at Pearson VUE or online

Updated by the Tigertest team. Practice questions follow the CompTIA Linux+ XK0-006 exam objectives (Document Version 5.0). Exam rules change, so confirm current details with CompTIA.

How It Works

Eight Drills

One drill per topic: boot, devices and networking; storage, shell and backups; files, users and processes; software, systemd and containers; security; automation and scripting; and two troubleshooting drills. Questions you miss come back until you have mastered them.

Practice Tests

Two 90-question tests in 90 minutes with flagging and review, like the real exam. Read commands, match tools to tasks and put steps in order. Practice Test 2 is held out of the drills, so it measures readiness.

Built on the XK0-006 Objectives

CompTIA publishes the domain weighting for Linux+. Every practice test follows it, from boot, storage and accounts through systemd, containers, security and automation to troubleshooting a server that misbehaves.

System Management23%
Services and User Management20%
Security18%
Automation, Orchestration, and Scripting17%
Troubleshooting22%
Tigertest mascot

Help Make Tigertest Better

Have an idea, a topic you'd like covered, or a question that could be clearer? We read every message and use it to improve every test.

Share Feedback

How to Pass Linux+

1. Practice on a real Linux system

Install a Red Hat-family and a Debian-family distribution in virtual machines and do the tasks yourself: build an LVM volume, add a user, write a systemd timer, open a firewall port. Linux+ asks which command does a job, and typing it once makes it stick.

2. Know the options that change the meaning

Many questions turn on one flag: usermod -aG against -G, --permanent on firewall-cmd, setsebool -P, 2>&1 after or before the redirect. Learn what each common option does, not just the command name.

3. Treat troubleshooting as reading evidence

Troubleshooting is 22 percent of the exam. Practise going from a symptom to the tool that proves the cause: df -i for inodes, lsof for a busy mount, getfacl for a + in ls -l, ip route get for a routing doubt, vmstat for swapping.

4. Drill your weak area, then sit a full test

Tigertest tracks your accuracy by area. Retake the drill you miss most until you clear 80 percent, then take Practice Test 2 cold. On the real exam, flag the performance-based questions and come back to them once the multiple choice is done.

Linux+ Frequently Asked Questions

How many questions are on the Linux+ exam?

The CompTIA Linux+ XK0-006 exam has a maximum of 90 questions in 90 minutes. Most are multiple choice, plus performance-based questions where you work with commands, files or a simulated system.

What is the passing score for Linux+?

You need 720 on a scale of 100 to 900. The score is scaled, so it is not a fixed percentage of questions. Aim for 80 percent or better on these practice tests before you book.

What is on the Linux+ XK0-006 exam?

Five domains: System Management 23 percent, Services and User Management 20 percent, Security 18 percent, Automation, Orchestration, and Scripting 17 percent, and Troubleshooting 22 percent.

Is XK0-006 the current Linux+ exam?

Yes. Linux+ V8 (XK0-006) launched on July 15, 2025. The English XK0-005 exam retired on January 13, 2026, so XK0-006 is the version to study for. CompTIA usually retires an exam about three years after launch.

Is this practice test the same format as the real exam?

Each practice test is 90 questions in 90 minutes with free navigation and flagging, like the real exam. Commands are shown in monospace, and choose-two, matching and ordering items stand in for the performance-based questions.

Is the Tigertest Linux+ practice test free?

It is free to start, with no account required. Practice Test 1 and every drill but the last two are free; the last two drills (Monitoring and OS Issues, and Network and Performance Issues) and the final practice test are part of Tigertest Premium, one payment with no subscription. Create a free account if you want your progress saved across devices.

I teach a Linux administration or Linux+ course. Can my students use Tigertest?

Yes, for free. Make a class at tigertest.io/teach, post one link, and students join with just their name. You see who practiced, their test scores and the topics your class misses most.

Linux+ sample questions and answers

6 of the 204 practice questions, one from each topic, with the answer explained.

  1. 1.

    A VM must sit on the office LAN and get its address from the same DHCP server as the physical hosts. Which network type fits?

    • A.

      Host-only

    • B.

      Routed

    • C.

      Bridged

    • D.

      NAT

    Answer: C.

    A bridged network connects the guest's virtual NIC to the physical segment, so it looks like any other host on the LAN. NAT hides guests behind the host's address on a private subnet.

  2. 2.

    In Bash, which file runs for each new interactive shell that is not a login shell, such as a new terminal tab?

    • A.

      ~/.bash_profile

    • B.

      ~/.profile

    • C.

      ~/.bashrc

    • D.

      ~/.bash_logout

    Answer: C.

    Bash reads ~/.bashrc for interactive non-login shells. ~/.bash_profile (or ~/.profile when it is missing) runs for login shells, which is why many profiles source .bashrc.

  3. 3.

    Which nice value gives a process the lowest scheduling priority?

    • A.

      10

    • B.

      19

    • C.

      0

    • D.

      -20

    Answer: B.

    Niceness runs from -20 (most favored) to 19 (least favored), and new processes start at 0. Only root can set negative values.

  4. 4.

    What is the main security gain of running containers rootless or unprivileged?

    • A.

      Images are verified before running

    • B.

      Containers get no network access

    • C.

      An escape gains only user rights

    • D.

      Processes cannot see each other

    Answer: C.

    If a process breaks out of an unprivileged container, it lands as an ordinary user on the host rather than as root. Image signing, network isolation and PID namespaces are separate controls that work with or without root.

  5. 5.

    Which technology encrypts a whole block device so the data is unreadable if the disk is stolen?

    • A.

      SHA-256

    • B.

      HMAC

    • C.

      GPG

    • D.

      LUKS2

    Answer: D.

    LUKS2 is the Linux standard for full-disk or partition encryption, with keys protected by a passphrase run through Argon2. GPG encrypts individual files, and HMAC and SHA-256 do not encrypt at all.

  6. 6.

    An LLM wrote a regular expression for a log parser. What should the admin do before it goes into production?

    • A.

      Read through it line by line

    • B.

      Test it against sample logs

    • C.

      Have the LLM explain each part

    • D.

      Try it once on the live server

    Answer: B.

    AI output must be verified like any untested code: run it on representative samples, including edge cases, before production. Reading it or asking the model to explain it is not a test, and trying it on the live server is testing in production.

Every test on Tigertest is free to start, with no account needed.

See all 455 practice tests

Ready to Pass Linux+?

Start for free. No account required. 204 questions across all five domains.

Start practicing