Skip to content

HomePractice testsLinux+ XK0-006

Linux+ XK0-006 practice test: 15 free questions

15 original Linux+ XK0-006 questions with a reason for every option, a score at the end, and the domain weights and pass mark the real exam uses.

XK0-006 is 90 questions in 90 minutes, 720 on the 100 to 900 scale. Facts checked 15 November 2026 against comptia.org. Nothing below is drawn from the paid bank or from a real exam. Written by Ronix.

15 questions about 15 minutes every option explained

The 15 questions

Pick an option to see that question's explanations.

0 of 15 answered · suggested 15 minutes · Linux+ XK0-006

  1. 01

    An administrator needs to see which block devices are attached, with their sizes and mount points, in a tree. Which command does that?

    Options for question 1
  2. 02

    A new disk partition has been formatted and must be mounted at boot. Which file should the administrator add an entry to?

    Options for question 2
  3. 03

    A package must be installed on a Debian-based system and its dependencies resolved automatically. Which command does this?

    Options for question 3
  4. 04

    A service unit file was edited on a systemd host. What must the administrator run so systemd reads the change before restarting the service?

    Options for question 4
  5. 05

    A file must be readable and writable by its owner, readable by the group and inaccessible to everyone else. Which mode does that?

    Options for question 5
  6. 06

    An administrator wants a cron job that runs a backup script every day at 02:30. Which crontab schedule is correct?

    Options for question 6
  7. 07

    A server should accept SSH only from the management subnet, and the administrator uses firewalld. Which approach follows least privilege?

    Options for question 7
  8. 08

    A web server process is denied access to a directory that its Unix permissions allow, and the audit log shows an SELinux denial. What is the correct fix?

    Options for question 8
  9. 09

    To reduce brute-force risk on an SSH server, which change is the strongest single hardening step?

    Options for question 9
  10. 10

    A shell script should stop immediately if any command fails, rather than carrying on with bad data. Which line near the top does this?

    Options for question 10
  11. 11

    A team wants to track changes to configuration files, review them before they apply and roll back easily. Which practice supports this?

    Options for question 11
  12. 12

    A configuration management run is applied to a server twice and the second run makes no changes. Which property does this show?

    Options for question 12
  13. 13

    A service fails to start after a reboot. Which command gives the most direct view of its recent log messages on a systemd host?

    Options for question 13
  14. 14

    Users report that an application is very slow, and top shows high I/O wait with low CPU use. What is the most likely bottleneck?

    Options for question 14
  15. 15

    A server can reach other hosts by IP address but name lookups fail. Which file should be checked first for the resolver configuration?

    Options for question 15

What this Linux+ XK0-006 practice test measures

Linux+ XK0-006 questions are administrator questions: which command, which file, which permission or which service state explains what you see. This set spreads across the five published domains by weight and asks for the exact tool or the first diagnostic step, because the exam separates people who have used a shell from people who have read about one.

The fifteen questions are grouped the way XK0-006 is grouped, so the domains that carry the most marks get the most questions. Each question has one key and three distractors, and every option carries its own explanation: the key says why it is right, and each distractor says the specific thing that makes it wrong. That is the part most free question sets skip, and it is the part that turns a miss into a lesson.

Nothing here is drawn from the paid bank or from a real exam. The questions were written for this page, mapped to the published XK0-006 objectives, and checked against every question in the SecLern packs so the same idea is not tested twice in different words.

DomainWeightQuestions here
System management23%3
Services and users20%3
Security18%3
Automation17%3
Troubleshooting22%3

Weights from the published XK0-006 objectives, checked 15 November 2026.

How to use a practice test without wasting it

A practice test is a measurement, and a measurement you have already seen is worth less the second time. Take this one once, cold, before you revise anything: no notes, no lookups, no pausing. Fifteen questions will not take long, and the score is only useful if it reflects what you actually know today.

Mark every question you were unsure about, even the ones you got right. A lucky guess and a confident answer look identical in the score, and they are not the same thing. At the end, the questions you flagged tell you more than the ones you missed.

Then leave it alone for a while. Come back in a week and the same fifteen questions will feel different, which is useful evidence about whether the revision landed.

  • Take it cold, once. Sit the fifteen questions in one go with a clock running and nothing open beside them. The result is a baseline, not a verdict.
  • Read every explanation, including the ones you got right. The three distractors teach the distinctions the exam tests: which control, which order, which owner. A right answer for the wrong reason will not survive a differently worded question.
  • Write the miss down by objective. Not "I got four wrong": name the objective id and the idea behind the question. That list becomes the next study session instead of a vague feeling of weakness.
  • Move the miss into another format. If the miss was about a control, find the lab that uses it. If it was about order, find a PBQ that grades sequence. Reading the same explanation twice is not revision.
  • Measure again with fresh questions. Repeat on unseen questions, not this set. When two fresh sittings land comfortably above the pass margin, the exam date is a scheduling decision rather than a hope.

What XK0-006 actually asks, domain by domain

The percentages below are the published weights, not a study plan. They say where the marks are, which is where your calendar should go first: System management carries 23% of XK0-006 and deserves the largest share of the remaining weeks.

The exam is 90 questions in 90 minutes, which is about 1 minutes per question on average, before you account for the 5 performance-based questions the simulation serves. That average is the whole timing argument: a question that takes three minutes has borrowed a minute from two others.

  • System management (23%). System management is storage, boot, packages, processes and networking basics. Distractors are real commands for a neighboring job, so match the tool to the object the stem names: a block device, a package, a process or an interface.
  • Services and users (20%). Services and user management covers systemd units, scheduling, containers, accounts, groups and permissions. Read whether the question is about a unit file, a user record or a file mode before you read the options.
  • Security (18%). Security is firewalls, SELinux and AppArmor, SSH hardening, auditing and encryption. The best answer is usually the narrowest change that meets the requirement without turning a control off.
  • Automation (17%). Automation, orchestration and scripting covers shell scripts, version control, configuration management and infrastructure as code. Look for the idiom that makes a script safe and repeatable rather than merely working once.
  • Troubleshooting (22%). Troubleshooting is the largest practical skill: reading logs, finding resource exhaustion and tracing network and permission failures. The right first step is the one that gathers evidence before changing anything.

Reading your score honestly

The published pass mark is 720 on the 100 to 900 scale. Your raw score out of fifteen is not that number: the real exam is scaled, and 90 questions sample far more objectives than fifteen can. Use the raw score to find gaps; use a full simulation before you book.

A useful rule for a fifteen-question sample: anything under ten correct means at least one domain is unlearned, not unlucky. Twelve or more with two flagged guesses means the knowledge is there and the risk is pace and wording. The number that matters is not the percentage; it is which domains the misses cluster in.

The app's full simulation is the honest test: 90 questions on the real clock, with the same domain mix the objectives describe, and 5 performance-based questions in front of it. Free accounts get thirty study questions a day and three PBQs; the timed simulations are Pro. That is the line between practising and measuring.

The week after this test

Five steps, in order. Each one uses a different surface, because reading the same page twice is not revision.

  • Step 1. Re-run every missed command in a disposable VM or container and read its real output; recall is much stronger after you have seen the error.
  • Step 2. Keep a one-page list of tool to job: lsblk, blkid, findmnt, journalctl, ss, chmod, chown, setfacl, firewall-cmd and systemctl.
  • Step 3. For each troubleshooting miss, write the evidence you would gather first and the command that gathers it.
  • Step 4. Work the Linux+ PBQ examples page with hints off; the tasks happen at a prompt on a host that is already broken.
  • Step 5. Sit two full timed simulations before booking and review the domain you miss most before each one.

Keep going

15 free sets are live: SY0-701, N10-009, 200-301, CS0-004, 220-1201, 220-1202, SY0-801, PT0-003, CAS-005, XK0-006, CISSP, CISM, SAA-C03, AZ-900, SC-500.

XK0-006 practice test questions

Yes. All 15 questions, every option explanation and the score are free with no account. The free SecLern account adds thirty study questions a day, three PBQs, the lessons and every free tool.

Create a free account

Thirty study questions a day, three PBQs and every free tool. No card, and the 7-day Pro trial is optional.

Turn today's misses into this week's study plan

Save your score, name the domains that leaked points, and work the XK0-006 lessons and labs for them. The next fresh sitting is the measurement that matters.

Start studying free

Free tier, no card. Pro starts with a 7-day trial; a card is required and you can cancel before day 7.