Courseiva
Back to CompTIA Linux+ (XK0-006) questions

Scenario-based practice

Select Two (Multi-Select) Questions

Practise CompTIA Linux+ (XK0-006) practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

20
scenario questions
XK0-006
exam code
CompTIA
vendor

Scenario guide

How to approach select two (multi-select) questions

Multi-select questions tell you to 'Choose TWO' or 'Choose THREE'. Getting partial credit is not a thing — you must select all correct answers with no incorrect ones. The stem always states how many to choose, so trust it. These questions require precision, not best-guess elimination.

Quick answer

Select Two (Multi-Select) Questions questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Related practice questions

Related XK0-006 topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1mediummulti select
Full question →

A system administrator needs to configure a cron job to run a script every Monday at 3:00 AM. Which two cron expressions are correct? (Select TWO).

Question 2mediummulti select
Full question →

A security analyst is investigating a potential breach and needs to examine user login history. Which THREE commands or log files provide information about user logins? (Select THREE.)

Question 3mediummulti select
Full question →

Which TWO of the following are valid methods to enforce disk quota limits on a Linux filesystem? (Select TWO.)

Question 4mediummulti select
Full question →

A Linux administrator is hardening an SSH server. Which two of the following settings should be applied to /etc/ssh/sshd_config to improve security?

Question 5hardmulti select
Full question →

A system fails to boot with a kernel panic. The administrator suspects a corrupt initramfs or missing kernel module. Which three methods could be used to recover the system? (Choose three.)

Question 6easymulti select
Full question →

Which TWO commands can be used to lock a user account? (Choose two.)

Question 7mediummulti select
Full question →

A technician wants to capture network traffic to analyze a web server issue. Using tcpdump, which THREE options are useful for writing the capture to a file and avoiding name resolution? (Choose three.)

Question 8hardmulti select
Full question →

Which TWO tools are specifically designed to detect rootkits on a Linux system?

Question 9hardmulti select
Full question →

Which TWO commands can be used to immediately synchronize the system time with an NTP server, even if the time difference is large? (Choose two.)

Question 10hardmulti select
Read the full Ansible explanation →

Which THREE statements about Ansible are true? (Choose three.)

Question 11easymulti select
Full question →

An administrator needs to create a hard link to an existing file. Which two statements are true about hard links? (Choose two.)

Question 12hardmulti select
Full question →

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.)

Question 13mediummulti select
Full question →

A Linux administrator is hardening a server. Which TWO actions are effective in preventing unauthorized access via SSH? (Select TWO.)

Question 14hardmulti select
Full question →

A Linux administrator needs to implement a cron job that runs a script every day at 2:30 PM. Which TWO cron schedule expressions are equivalent?

An administrator wants to view the contents of a compressed log file /var/log/syslog.2.gz without decompressing it to disk. Which two commands can be used to display the file contents? (Select TWO).

Question 16mediummulti select
Full question →

An administrator wants to monitor real-time system resource usage to identify performance bottlenecks. Which two commands are suitable? (Choose two.)

Question 17mediummulti select
Read the full Ansible explanation →

Which TWO statements are true regarding the use of Ansible for automation? (Choose TWO.)

Question 18hardmulti select
Full question →

An administrator wants to locate files that have the SUID or SGID special permission set. Which three find commands can accomplish this? (Choose three.)

Question 19hardmulti select
Full question →

A system administrator is configuring a new disk partition for a database server. The disk has been partitioned as /dev/sdb1. Which three steps are necessary to make the filesystem available for use? (Choose three.)

Question 20hardmulti select
Full question →

A Linux system is experiencing kernel panics after a recent update. The administrator wants to boot into a previous kernel version to restore functionality. Which three steps are required to achieve this? (Select THREE).

These XK0-006 practice questions are part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style XK0-006 questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.