thinQmaster
Five questions free, before you decide.
Step 1 · choose a vendor
Built like the exam, not like a flashcard deck. The same question shapes you meet on test day, sat against the published blueprint, with a timed paper at full length.
Question types
400 multiple choice · 100 choose two
Domains, and how many questions each
A real exam experience
We teach camps, and its thinQmaster titles are being written. Tell us which exam you are booked for and we will put yours first in the queue.
Nothing matches that. Tell us which exam you are booked for and we will tell you where it is in the queue.
In one of our camps? Your practice exams come with the tuition — they are on your study page already.
Starting the engine…
thinQmaster — free preview
This is not a sample sheet — it is the application, running. Pick your mode, your length, your domain, the same way you would inside the full title. Study mode marks each answer and tells you why the right one is right and why each wrong one is wrong; Simulation puts a clock on it and chooses each question from whatever you are weakest in. No account, no e-mail address, no card.
Free · nothing to sign up forthinQmaster — Linux+ (XK0-006)
Built like the exam, not like a flashcard deck. The same question shapes you meet on test day, sat against the published blueprint, with a timed paper at full length.
500 questions in the full guide
Question types
400 multiple choice · 100 choose two
Domains, and how many questions each
A real exam experience
And what comes with it
Below is the engine itself, running on real Linux+ (XK0-006) questions. Free, no account, no card.
1. A server reports the output in the exhibit. Only the last fortnight of records is needed. Which command trims the journal accordingly?
Correct answer: B. --vacuum-time deletes archived journal files whose newest record is older than the given age, so --vacuum-time=14d leaves roughly the last fortnight in place and frees the rest.
Why the others are wrong. A: --vacuum-size caps the journal by total bytes, not by age, and 14M would discard almost everything. C: Rotation closes the active journal files and opens new ones; nothing is deleted, so no space is recovered. D: --since is a display filter on what is printed to the terminal; the files on disk are untouched.
2. A BIOS server stops after a disk was re-partitioned, showing the output in the exhibit. Which two statements about that prompt are correct? (Choose two.)
Correct answer: A. The rescue shell is the fallback GRUB enters when it cannot load its modules, so only a few built-in commands such as ls, set, insmod and normal are available. Nothing typed there is written to disk, so any recovery must be repeated with grub2-install and grub2-mkconfig once the system is running.
Why the others are wrong. B: fstab is read long after the boot loader has handed over; a bad entry produces emergency mode, not a GRUB rescue prompt. C: grub2-mkconfig is a program on the root filesystem, which is not mounted and not reachable from the rescue shell. D: A bad initramfs is only discovered after the kernel is loaded, and it produces a panic rather than a GRUB prompt.
3. An administrator edits GRUB_CMDLINE_LINUX in /etc/default/grub on a RHEL 9 server that boots in legacy BIOS mode. Which command writes that change into the boot loader configuration the machine will actually read at the next boot?
Correct answer: A. On RHEL and its derivatives the generator is grub2-mkconfig, and the output file must be named explicitly. On a BIOS system that file is /boot/grub2/grub.cfg. The command reads /etc/default/grub and the scripts in /etc/grub.d and rebuilds the menu from them.
Why the others are wrong. B: update-grub is a Debian and Ubuntu wrapper script; it is not shipped on RHEL, and the file it targets is /boot/grub/grub.cfg. C: That reinstalls the boot loader images into the MBR and /boot/grub2; it does not regenerate the menu from /etc/default/grub. D: dracut rebuilds the initramfs image for the running kernel and never touches the GRUB menu or its kernel command line.
4. A deployment script is inspected before a change window, as shown in the exhibit. Which numeric mode matches the permissions shown?
Correct answer: A. Read the string in three groups: owner rwx is 4+2+1 = 7, group r-x is 4+0+1 = 5, others --- is 0. The mode is 750.
Why the others are wrong. B: 740 is -rwxr-----; the group field here shows r-x, and the execute bit adds 1 to make 5. C: 755 is -rwxr-xr-x, which would let every account on the host read and run the script; the others field is --- here. D: 775 is -rwxrwxr-x; that gives the devops group write access and others read and execute, neither of which the listing shows.
5. A script contains the code shown in the exhibit. The directory holds four .log files and one .txt file. What does the script print, and what would it print if the directory held no .log files at all?
Correct answer: A. The pattern expands to the four matching names, so the counter reaches 4. With nothing to match, bash leaves the word as the literal string /var/log/app/*.log, so the loop still runs exactly once and the script prints 1.
Why the others are wrong. B: That is the behaviour only after shopt -s nullglob; with the default setting the unmatched pattern survives as text and the body runs once, printing 1. C: The pattern *.log cannot match a name ending in .txt, so that file is never part of the expansion and the first count stays at 4. D: A for loop iterates over words rather than over files that must exist, so an unmatched pattern produces one ordinary iteration and no error.
6. A BIOS server stops during boot with the output shown in the exhibit. At that prompt ls reports (hd0) (hd0,msdos1) (hd0,msdos2), and ls (hd0,msdos1)/ lists grub2 and vmlinuz-5.14.0-427.el9.x86_64. What is the correct sequence at the rescue prompt to reach a normal boot menu?
Correct answer: A. The rescue shell has only a handful of built-in commands because it could not find its module directory. Pointing prefix at the directory that actually holds the modules lets insmod normal load the full GRUB, and normal then draws the menu. The listing shows the modules live on the first partition, so prefix must name that partition.
Why the others are wrong. B: insmod cannot find the module until prefix points at the directory holding it, so this fails with the same file not found error. C: That hand-boots a kernel with no initramfs and no root= argument, and msdos2 is not the partition the listing shows the modules on. D: Reading the configuration file proves it exists but never loads it; the rescue shell cannot act on grub.cfg without the normal module.
7. On Ubuntu 22.04 the kernel parameter transparent_hugepage=never must be present at every boot, and must survive future kernel package updates. Which file should be edited before update-grub is run?
Correct answer: C. GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub is the supported place for persistent kernel parameters. update-grub then rebuilds /boot/grub/grub.cfg, and every generated menu entry, including entries for kernels installed later, picks the parameter up.
Why the others are wrong. A: That file is generated by update-grub, so any hand edit is discarded the next time a kernel update triggers a regeneration. B: It is a read-only view of the parameters the running kernel was given; nothing written there survives, and it is not a configuration file. D: That script is the place to append extra menu entries of your own; it does not change the command line of the generated entries.
8. A shared project directory is created on a RHEL 9 host with: $ sudo chmod 2770 /srv/projects/atlas . Which line will ls -ld /srv/projects/atlas now display?
Correct answer: C. 2 is the setgid bit, 7 is rwx for the owner, 7 is rwx for the group and 0 is nothing for others. Because the group already has execute permission, the setgid bit prints as a lowercase s in the group execute position: drwxrws---.
Why the others are wrong. A: A trailing T is the sticky bit with no execute for others, which is mode 1770, not 2770. B: An s in the owner execute position is the setuid bit, mode 4770; the leading 2 sets setgid, which lands in the group field. D: That is plain 0775 with no special bit at all, and it also gives others read and execute.