20+ practice questions focused on System Management — one of the most tested topics on the CompTIA Linux+ (XK0-006) exam. Each question includes a detailed explanation so you learn why the right answer is correct.
Start System Management PracticeA user reports that a script in /home/user/script.sh fails to execute. The output of 'ls -l script.sh' is '-rw-r--r-- 1 user user 1024 Apr 1 10:00 script.sh'. Which command should be used to make the script executable for all users?
Explanation: The current mode `-rw-r--r--` (644) grants read/write to the owner and read-only to group and others, with no execute bit set anywhere. `chmod a+x script.sh` adds the execute bit for user, group, and other (a = ugo), producing `-rwxr-xr-x` (755) and satisfying the requirement that all users can execute the script. It is the most direct, symbolic-mode answer to 'make executable for all users.'
A system administrator needs to set the umask so that newly created files have permissions of 644 and directories have permissions of 755. Which umask value should be set?
Explanation: Default base permissions are 666 for files and 777 for directories. To get 644 (rw-r--r--) for files: 666 - 644 = 022. To get 755 (rwxr-xr-x) for directories: 777 - 755 = 022. So umask 022 works for both.
A Linux administrator needs to display the amount of disk space used by each mounted filesystem. Which two commands can be used? (Choose two.)
Explanation: Option E, `df -h`, is correct because `df` (disk free) reports the space used and available on each mounted filesystem, and the `-h` flag renders sizes in human-readable units like GB and MB, exactly matching the requirement to show disk space used per mounted filesystem. Option A, `du -h /`, is also correct because `du` (disk usage) with `-h` summarizes the space consumed by files and directories, and running it against `/` reports the amount of disk space used, which satisfies the administrator's goal of seeing usage per filesystem. Option B, `mount | column -t`, only lists mounted filesystems and their mount options in tabular form; it shows no usage figures. Option C, `lsblk`, enumerates block devices and their sizes but does not report used versus free space on mounted filesystems. Option D, `fdisk -l`, displays partition tables and partition sizes, not the amount of space currently used on each mounted filesystem.
An administrator wants to change the runlevel/target to a state where only a minimal set of processes is running, and network services are disabled. Which two systemd targets achieve this? (Choose two.)
Explanation: rescue.target (B) is correct because it starts a single-user-like rescue shell with only a minimal set of services, mounting local filesystems but not activating network services, which matches the requested state. emergency.target (E) is also correct because it provides the most minimal environment, mounting only the root filesystem read-only and starting essentially no services, including no networking. graphical.target (A) is wrong because it starts a full graphical multi-user environment with networking enabled. poweroff.target (C) is wrong because it shuts the system down rather than providing a running minimal state. multi-user.target (D) is wrong because it is the normal multi-user runlevel that includes network services.
A system administrator wants to ensure a service starts automatically at boot and also starts immediately without rebooting. Which of the following systemctl commands or command combinations achieve both goals? (Choose all that apply.)
Explanation: Option C is correct because it explicitly starts the service immediately with 'systemctl start service' and then enables it for automatic startup at boot with 'systemctl enable service'. Option D is correct because 'systemctl enable --now service' combines both actions in a single command: the '--now' flag starts the service immediately while 'enable' configures it to start at boot. Both achieve the dual goal of immediate start and persistent enablement.
+15 more System Management questions available
Practice all System Management questions1. Baseline your knowledge
Start with 10 questions to gauge your current understanding of System Management. This tells you whether you need a concept refresher or just practice.
2. Review every explanation
For each question — right or wrong — read the full explanation. Understanding why an answer is correct is more valuable than knowing the answer itself.
3. Focus on exam traps
System Management questions on the XK0-006 frequently use trap wording. Look for subtle differences in answers that test your precision, not just general knowledge.
4. Reach 80% consistently
Do repeated sessions until you score 80%+ three times in a row. Then move to mixed-mode practice to test cross-topic recall under realistic conditions.
The exact number varies per candidate. System Management is tested as part of the CompTIA Linux+ (XK0-006) blueprint. Practicing with targeted System Management questions ensures you can handle any format or difficulty that appears.
Yes. Courseiva provides free XK0-006 practice questions across all exam topics and domains. The platform includes topic-based practice, mock exams, missed-question review, bookmarked questions, and readiness tracking — no account required.
Difficulty is subjective, but System Management is a high-priority exam concept tested in multiple ways — direct recall, scenario analysis, and command-output interpretation. Consistent practice is the best way to build confidence.
Launch a full System Management practice session with instant scoring and detailed explanations.
Start System Management Practice →