Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← Troubleshooting practice sets

XK0-005 Troubleshooting • Complete Question Bank

XK0-005 Troubleshooting — All Questions With Answers

Complete XK0-005 Troubleshooting question bank — all 0 questions with answers and detailed explanations.

126
Questions
Free
No signup
Certifications/XK0-005/Practice Test/Troubleshooting/All Questions
Question 1mediummultiple choice
Read the full Troubleshooting explanation →

A system administrator notices that a service named 'myapp' fails to start on a Linux server. The command 'systemctl status myapp' shows 'Active: failed (Result: exit-code)'. Which of the following is the BEST first step to diagnose the issue?

Question 2easymultiple choice
Read the full Troubleshooting explanation →

A user reports that they receive 'Permission denied' when trying to run a script located in their home directory. The script has permissions -rw-rw-r-- and is owned by the user. Which command should the user run to resolve the issue?

Question 3hardmultiple choice
Read the full NAT/PAT explanation →

A Linux administrator is troubleshooting network connectivity. The server can ping its own IP address but cannot ping the default gateway. The output of 'ip route show' is: 'default via 10.0.0.1 dev eth0 proto static metric 100'. The output of 'ping -c 1 10.0.0.1' fails with 'Destination Host Unreachable'. Which of the following is the MOST likely cause?

Question 4mediummultiple choice
Read the full network assurance explanation →

A Linux server is running low on disk space in the /var partition. The administrator runs 'du -sh /var/log/*' and finds that /var/log/syslog is 10 GB. Which of the following is the BEST long-term solution to prevent recurrence?

Question 5easymultiple choice
Read the full Troubleshooting explanation →

A user cannot access a directory '/data/projects' even though they are in the 'projects' group. The directory permissions are 'drwxr-x---' and the group owner is 'projects'. Which command should the administrator run to grant the group write permission?

Question 6mediummulti select
Read the full Troubleshooting explanation →

Which TWO commands can be used to display the amount of free and used memory on a Linux system?

Question 7hardmulti select
Read the full Troubleshooting explanation →

Which THREE of the following are valid methods to troubleshoot a service that fails to start?

Question 8mediummultiple choice
Read the full Troubleshooting explanation →

A user runs the ping command and receives the output shown in the exhibit. Which of the following is the MOST likely cause of the issue?

Exhibit

Refer to the exhibit.

$ ping -c 2 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.1.1 icmp_seq=1 Time to live exceeded
From 192.168.1.1 icmp_seq=2 Time to live exceeded

--- 8.8.8.8 ping statistics ---
2 packets transmitted, 0 received, +2 errors, 100% packet loss
Question 9hardmultiple choice
Read the full Troubleshooting explanation →

An administrator runs 'mount -a' and receives the error shown in the exhibit. The /home partition was recently removed and replaced with a new disk. Which of the following steps should the administrator take to resolve the issue?

Exhibit

Refer to the exhibit.

# cat /etc/fstab
UUID=abc123 / ext4 defaults 0 1
UUID=def456 /boot ext4 defaults 0 2
UUID=ghi789 /home ext4 defaults 0 2
UUID=jkl012 swap swap defaults 0 0

# mount -a
mount: /home: special device UUID=ghi789 does not exist.
Question 10easymultiple choice
Read the full Troubleshooting explanation →

A user reports that a Linux workstation fails to boot and displays 'Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)'. Which of the following is the most likely cause?

Question 11mediummultiple choice
Read the full Troubleshooting explanation →

A Linux administrator notices that the system’s disk I/O performance has degraded significantly. Running 'iostat -x 1' shows high %util values on /dev/sda, but low await. Which of the following is the most likely issue?

Question 12hardmultiple choice
Read the full Troubleshooting explanation →

During a security audit, a Linux administrator finds that an unauthorized service is listening on TCP port 4444. The service is not managed by systemd. Which of the following commands should the administrator use to identify the process and disable it?

Question 13mediummultiple choice
Read the full Troubleshooting explanation →

A user reports that the /data directory is inaccessible. The Linux administrator runs the commands shown in the exhibit. Which of the following is the most likely cause of the issue?

Exhibit

Refer to the exhibit.

# mount | grep /data
/dev/sdb1 on /data type ext4 (rw,relatime,errors=remount-ro)
# df -h /data
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb1       9.8G  9.5G     0 100% /data
# ls -la /data | head
ls: reading directory /data: Input/output error
Question 14easymultiple choice
Read the full Troubleshooting explanation →

A technician needs to troubleshoot a network connectivity issue on a Linux server. The server can ping its own IP address but cannot ping the default gateway. Which of the following is the most likely cause?

Question 15mediummulti select
Read the full Troubleshooting explanation →

A Linux administrator suspects a memory leak in a process. Which TWO commands can be used to monitor memory usage over time for a specific process? (Choose two.)

Question 16hardmulti select
Read the full Troubleshooting explanation →

A Linux server is experiencing intermittent connectivity issues. The administrator reviews the system logs and finds the following messages: 'NETDEV WATCHDOG: eth0: transmit queue 0 timed out'. Which THREE actions are likely to resolve this issue? (Choose three.)

Question 17hardmultiple choice
Read the full Troubleshooting explanation →

A Linux administrator is troubleshooting a server that is running slowly. The 'sar -q' command shows a run queue length of 12 and a load average of 8.5. The CPU utilization is 90% idle. Which of the following is the most likely cause of the performance issue?

Question 18mediummultiple choice
Read the full Troubleshooting explanation →

A user reports that a recently installed application fails to start. The application was installed via a shell script that added a repository and installed the package. The user runs 'ldd /usr/bin/app' and sees several 'not found' libraries. Which of the following is the MOST likely cause?

Question 19easymultiple choice
Read the full Troubleshooting explanation →

A Linux administrator notices that the system clock is consistently 5 minutes behind the actual time. The administrator runs 'timedatectl' and sees 'NTP service: active'. Which of the following commands should be used to force an immediate time synchronization?

Question 20hardmultiple choice
Read the full Troubleshooting explanation →

An administrator is troubleshooting a web server that is not accessible from the internet. The server is running on port 80. Based on the iptables output, which of the following is the MOST likely reason?

Network Topology
0 0 ACCEPT alllo * 0.0.0.0/0456 34567 ACCEPT tcp0 0 ACCEPT tcp0 0 DROP alleth0 * 0.0.0.0/0Refer to the exhibit.
Question 21mediummulti select
Read the full Troubleshooting explanation →

A Linux administrator is troubleshooting a server that has become unresponsive. The administrator connects via IPMI and runs 'top' but the process list does not show any obvious CPU or memory hog. Which TWO commands could be used to identify I/O wait issues or disk bottlenecks? (Choose TWO.)

Question 22hardmulti select
Read the full Troubleshooting explanation →

A database server running on Linux is experiencing high load. The administrator runs 'strace -p <pid>' and sees many 'epoll_wait' and 'futex' calls. Which THREE of the following are possible causes of the high load? (Choose THREE.)

Question 23hardmultiple choice
Read the full Troubleshooting explanation →

A company runs a critical web application on a Linux server. The server has 16GB RAM and 4 CPU cores. Recently, users have reported intermittent timeouts and slow response times. The administrator logs in and runs 'top', which shows the web server process using 200% CPU (multi-threaded) and 2GB RAM. Free memory is 12GB, and swap usage is 0. The load average is 3.5, 4.0, 4.2. The administrator checks 'dmesg' and sees no OOM or hardware errors. The web server logs show many 'connection refused' errors during peak times. The application is configured to handle up to 500 concurrent connections. The administrator suspects the issue is related to the number of worker processes or threads. Which of the following is the BEST course of action to resolve the issue?

Question 24mediummultiple choice
Read the full Troubleshooting explanation →

A Linux administrator receives reports that a web application hosted on the company's internal server is intermittently slow. The server runs CentOS 7 and hosts multiple virtual hosts. The administrator checks system resources and notices that the system's swap usage is high. Which of the following is the MOST likely cause of the performance issue?

Question 25hardmulti select
Read the full Troubleshooting explanation →

A Linux engineer is troubleshooting a server that fails to boot. The server displays a message indicating 'Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)'. Which TWO actions should the engineer take to resolve this issue? (Choose TWO.)

Question 26easymultiple choice
Read the full Troubleshooting explanation →

Refer to the exhibit. A Linux administrator runs the netstat command to check listening services. The output shows that services are listening on ports 22, 80, and 443. Which of the following conclusions is correct based on the exhibit?

Exhibit

Refer to the exhibit.

# netstat -tulpn | grep -E ':(22|80|443)'
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1234/sshd
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      5678/httpd
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      5678/httpd
Question 27mediumdrag order
Read the full Troubleshooting explanation →

Drag and drop the steps to add a new user to the system in the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 28mediumdrag order
Read the full Troubleshooting explanation →

Drag and drop the steps to troubleshoot a network connectivity issue using common commands in the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 29mediumdrag order
Read the full Troubleshooting explanation →

Drag and drop the steps to configure SELinux to allow a custom web application to listen on port 8080 in the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 30mediummatching
Read the full Troubleshooting explanation →

Match each Linux filesystem to its typical use case.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

General-purpose Linux filesystem

High-performance, scalable filesystem

Copy-on-write with snapshots

Temporary filesystem in RAM

Advanced filesystem with volume management

Question 31mediummatching
Read the full Troubleshooting explanation →

Match each Linux package manager to its distribution family.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Debian/Ubuntu

RHEL/CentOS 7

Fedora/RHEL 8+

openSUSE/SLES

Arch Linux

Question 32mediummatching
Read the full Troubleshooting explanation →

Match each Linux access control mechanism to its description.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Traditional file permissions (owner/group/other)

Fine-grained permissions for users/groups

Mandatory access control with policies

Path-based mandatory access control

Default permission mask for new files

Question 33easymultiple choice
Read the full Troubleshooting explanation →

A company needs to verify that the Apache HTTP server is running and see its current status along with recent log entries. Which command should be used?

Question 34mediummultiple choice
Read the full Troubleshooting explanation →

After a power failure, a Linux server boots into emergency mode. The system logs indicate an unclean filesystem on /dev/sda2. Which command should the administrator run to repair the filesystem?

Question 35hardmultiple choice
Read the full Troubleshooting explanation →

A system administrator installs a new application that is failing to write to its configuration file in /etc. SELinux is enforcing. Which command would show the relevant SELinux denials?

Question 36easymultiple choice
Read the full Troubleshooting explanation →

A user cannot access a file. The file has permissions 640 and is owned by root:root. The user is not root and not in the root group. Which command should the administrator use to allow the user to read the file?

Question 37mediummultiple choice
Read the full Troubleshooting explanation →

A database server is experiencing slow queries. The administrator wants to analyze system memory usage. Which command shows memory usage in megabytes and includes information about buffers and cache?

Question 38hardmultiple choice
Read the full DNS explanation →

A server is unable to resolve hostnames via DNS. The /etc/resolv.conf file appears correct. Which command can be used to test DNS resolution and display the full query path?

Question 39easymultiple choice
Read the full Troubleshooting explanation →

A Linux administrator needs to find large log files that may be consuming disk space. Which command should be used to locate files larger than 100MB in the /var/log directory?

Question 40mediummultiple choice
Read the full Troubleshooting explanation →

After updating the kernel, the system fails to boot and displays 'Error 15: File not found' from GRUB. What is the most likely cause?

Question 41hardmultiple choice
Read the full Troubleshooting explanation →

A Linux system is using systemd and a service fails to start. The administrator checks the service journal and sees: 'Failed to start service: Unit not found'. However, the service file exists in /etc/systemd/system/. What is the most likely cause?

Question 42easymulti select
Read the full Troubleshooting explanation →

A web server is experiencing high load. The administrator wants to identify the processes consuming the most CPU. Which TWO commands can be used to display real-time process CPU usage?

Question 43mediummulti select
Read the full Troubleshooting explanation →

A system administrator suspects a disk failure. Which TWO commands can be used to check disk health and identify bad sectors?

Question 44hardmulti select
Read the full Troubleshooting explanation →

A Linux server is not accepting SSH connections. The administrator wants to troubleshoot the issue. Which THREE actions should be taken?

Question 45mediummultiple choice
Read the full Troubleshooting explanation →

The system is experiencing slow disk I/O. Based on the exhibit, which step should the administrator take to improve performance?

Exhibit

Refer to the exhibit.
[ 2.345678] EXT4-fs (sda1): mounted filesystem with ordered data mode. Options: (null)
[ 2.345690] systemd[1]: Started Journal Service.
[ 2.345700] sd 0:0:0:0: [sda] No Caching mode page found
[ 2.345710] sd 0:0:0:0: [sda] Assuming drive cache: write through
Question 46hardmultiple choice
Read the full Troubleshooting explanation →

The system is a web server running Apache and MySQL. Based on the exhibit, which of the following is the most likely cause of the full disk?

Exhibit

Refer to the exhibit.
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        50G   50G     0 100% /
Question 47easymultiple choice
Read the full Troubleshooting explanation →

The administrator wants to block the IP address shown in the exhibit. Which command should be used?

Exhibit

Refer to the exhibit.
journalctl -u sshd output:
sshd[1234]: Failed password for root from 192.168.1.100 port 22 ssh2
sshd[1235]: Failed password for root from 192.168.1.100 port 22 ssh2
... repeated ...
Question 48easymultiple choice
Read the full Troubleshooting explanation →

A system administrator notices that a Linux server is running low on disk space. Which command should be used to identify which directories are consuming the most space?

Question 49mediummultiple choice
Read the full Troubleshooting explanation →

A user reports that a service fails to start with the error 'Permission denied'. The service runs under a non-root user. Which command should the administrator use to check if the service has the correct file permissions?

Question 50hardmultiple choice
Read the full Troubleshooting explanation →

A Linux server experiences intermittent network connectivity issues. The administrator suspects a duplex mismatch. Which tool can best confirm duplex and speed settings on a network interface?

Question 51easymultiple choice
Read the full Troubleshooting explanation →

A technician needs to troubleshoot a system that is not booting. Which of the following is the most appropriate first step when using a rescue environment?

Question 52mediummultiple choice
Read the full Troubleshooting explanation →

A database server is running slow. The administrator uses iostat and notices high await times on the disk. Which of the following best explains the implication of high await?

Question 53hardmultiple choice
Read the full Troubleshooting explanation →

A system administrator is investigating why a particular process is not responding. They run strace on the process but get no output. What could be the most likely reason?

Question 54mediummultiple choice
Read the full NAT/PAT explanation →

After a system update, a custom application no longer runs due to a shared library error. The library exists on the system but is in a non-standard path. Which environment variable should be checked or set to resolve this?

Question 55easymultiple choice
Read the full Troubleshooting explanation →

A system administrator needs to find out which process is using a particular file. Which command should they use?

Question 56mediummultiple choice
Read the full Troubleshooting explanation →

A server is experiencing frequent kernel panics. The administrator wants to capture the crash dump for analysis. Which kernel parameter must be set to enable crash dumps?

Question 57mediummulti select
Read the full Troubleshooting explanation →

A system administrator is troubleshooting a network issue where a server cannot reach external websites. The server can ping the default gateway and internal hosts. Which TWO commands should the administrator use to further diagnose the problem? (Choose TWO.)

Question 58hardmulti select
Read the full Troubleshooting explanation →

A server crashed with a kernel panic. After reboot, the administrator wants to analyze the crash dump. Which THREE actions should be taken to ensure a valid core dump is captured and accessible? (Choose THREE.)

Question 59easymulti select
Read the full Troubleshooting explanation →

A user cannot log in to a Linux system via SSH, but the SSH service is running and network connectivity is fine. Which TWO commands should the administrator use to troubleshoot the issue? (Choose TWO.)

Question 60easymultiple choice
Read the full Troubleshooting explanation →

A user reports that their system fails to boot and displays a 'GRUB' prompt. Which command should be run first to attempt to load the operating system manually?

Question 61mediummultiple choice
Read the full Troubleshooting explanation →

After editing the network configuration file /etc/sysconfig/network-scripts/ifcfg-ens33 on a CentOS system, the network service fails to restart with an error message. Which command should be used to display detailed error messages from the network service?

Question 62hardmultiple choice
Read the full Troubleshooting explanation →

A Linux server experiences a kernel panic after a recent driver update. The system is still operational but unstable. Which command should be used to gather detailed information about the kernel modules currently loaded?

Question 63easymultiple choice
Read the full Troubleshooting explanation →

A user cannot start the Apache web service. The command 'systemctl start httpd' returns 'Failed to start httpd.service: Unit not found.' What is the most likely cause?

Question 64mediummultiple choice
Read the full Troubleshooting explanation →

A system administrator notices that the root filesystem is at 95% capacity. Which command should be used to identify the directories consuming the most space?

Question 65hardmultiple choice
Read the full Troubleshooting explanation →

A Linux server experiences a kernel panic during boot. You need to capture the panic message for analysis. Which kernel parameter should be added to the GRUB command line to ensure the panic message is displayed before the system halts?

Question 66easymultiple choice
Read the full Troubleshooting explanation →

A user attempts to run a command using sudo but receives 'user is not in the sudoers file. This incident will be reported.' Which file should be edited to grant the user sudo access?

Question 67mediummultiple choice
Read the full network assurance explanation →

A cron job that runs a backup script at 2 AM has not been executing. The syslog shows no errors from cron. What is the most likely reason the job is not running?

Question 68hardmultiple choice
Read the full Troubleshooting explanation →

An application is being denied access to a file due to SELinux. Which command can be used to temporarily set the SELinux context of the file to match the expected type for the application?

Question 69easymulti select
Read the full Troubleshooting explanation →

Which TWO commands can be used to display the current kernel version on a Linux system?

Question 70mediummulti select
Read the full Troubleshooting explanation →

Which TWO of the following are common causes of a system failing to boot? (Select two.)

Question 71hardmulti select
Read the full Troubleshooting explanation →

Which THREE steps should be taken when diagnosing a network connectivity issue where a host cannot reach the internet but can ping the local gateway? (Select three.)

Question 72mediummultiple choice
Read the full Troubleshooting explanation →

Refer to the exhibit. An administrator is troubleshooting an issue where services cannot write log files. Based on the output, which filesystem is most likely the cause?

Exhibit

Refer to the exhibit.

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       20G   19G  1.0G  95% /
/dev/sda2       50G   30G   20G  60% /var
/dev/sda3       30G   10G   20G  33% /home
Question 73hardmultiple choice
Read the full Troubleshooting explanation →

Refer to the exhibit. A remote user is unable to SSH to the server. Based on the journalctl output, what is the most likely cause?

Exhibit

Refer to the exhibit.

-- Logs begin at Tue 2023-06-01 08:15:32 EDT, end at Tue 2023-06-01 09:23:11 EDT. --
Jun 01 08:20:01 server sshd[1234]: Connection from 192.168.1.100 port 22
Jun 01 08:20:05 server sshd[1234]: Failed password for root from 192.168.1.100 port 22 ssh2
Jun 01 08:20:10 server sshd[1234]: Connection closed by authenticating user root 192.168.1.100 port 22 [preauth]
Question 74easymultiple choice
Read the full Troubleshooting explanation →

Refer to the exhibit. A user wants to execute the script 'script.sh' but receives a 'Permission denied' error. Which action should be taken to allow execution?

Network Topology
-rw-rrRefer to the exhibit.
Question 75easymultiple choice
Read the full Troubleshooting explanation →

A company uses a Linux server running a web application. Users report that they cannot access the website. The administrator checks the web server status and finds it is not running. Which command should the administrator use to view the reason for the service failure?

Question 76mediummultiple choice
Read the full Troubleshooting explanation →

A user is able to ping the Linux server but cannot connect via SSH. The SSH service is running and listening. Which configuration file should the administrator review FIRST?

Question 77hardmultiple choice
Read the full Troubleshooting explanation →

A Linux system fails to boot and displays a kernel panic immediately after the GRUB menu. The administrator needs to boot into a rescue environment. Which GRUB boot parameter should the administrator add to the kernel line?

Question 78easymultiple choice
Read the full Troubleshooting explanation →

A user runs a command and receives the error 'bash: myapp: command not found'. The administrator confirms the binary exists in /usr/local/bin. Which environment variable should be checked?

Question 79mediummultiple choice
Read the full Troubleshooting explanation →

A process is consuming excessive CPU. The administrator wants to reduce its priority. Which command should be used?

Question 80hardmultiple choice
Read the full Troubleshooting explanation →

After a kernel update, the system boots but the network interface enp0s3 is not detected. The administrator verifies that the kernel module for the NIC is built for the new kernel. Which of the following should be done to ensure the module loads correctly?

Question 81easymultiple choice
Read the full Troubleshooting explanation →

A Linux service fails to start. Which command should the administrator use to examine recent system logs for error messages related to the service?

Question 82mediummultiple choice
Read the full Troubleshooting explanation →

A server's root filesystem is 100% full according to df -h. Which command should the administrator use to locate large files?

Question 83hardmultiple choice
Read the full Troubleshooting explanation →

A user reports that their home directory is missing after a system reboot. The /home partition is listed in /etc/fstab with an incorrect UUID. What is the most likely outcome?

Question 84mediummulti select
Read the full Troubleshooting explanation →

A system administrator is troubleshooting a custom systemd service that fails to start. Which of the following commands should be used to diagnose the issue? (Choose two.)

Question 85easymulti select
Read the full Troubleshooting explanation →

A technician is troubleshooting a user's inability to execute a script. The script has execute permissions for the user. Which of the following could be causing the issue? (Choose two.)

Question 86hardmulti select
Read the full NAT/PAT explanation →

A network administrator needs to diagnose connectivity issues from a Linux server to a remote host. Which of the following tools can provide information about the path and latency? (Choose three.)

Question 87mediummultiple choice
Read the full Troubleshooting explanation →

The output of df -h shows the root filesystem at 100% capacity. Which of the following commands should the administrator run NEXT to identify the cause?

Exhibit

Refer to the exhibit.
$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       20G   20G     0 100% /
/dev/sda2       50G   10G   40G  20% /home
tmpfs          1.9G  1.2M  1.9G   1% /tmp
Question 88hardmultiple choice
Read the full Troubleshooting explanation →

Given the journalctl output for the httpd service, which of the following is the most likely cause?

Exhibit

Refer to the exhibit.
$ journalctl -u httpd
-- Logs begin at Mon 2023-10-23 09:11:22 EDT, end at Mon 2023-10-23 10:45:17 EDT. --
Oct 23 10:45:00 server httpd[1234]: (13)Permission denied: AH00035: access to /var/www/html/index.html denied (filesystem path '/var/www/html/index.html') because search permissions are missing on a component of the path
Question 89easymultiple choice
Read the full Troubleshooting explanation →

A Linux system fails to boot after a disk replacement. The administrator examines /etc/fstab and sees the above. What is the most likely result of this configuration?

Exhibit

Refer to the exhibit.
# /etc/fstab
UUID=1234-5678-90ab-cdef /     ext4 defaults 1 1
UUID=abcd-ef12-3456-7890 /boot ext4 defaults 1 2
UUID=90ab-cdef-1234-5678 /home ext4 defaults 1 2
# Note: The root filesystem UUID is incorrect because the disk was replaced.
Question 90easymultiple choice
Read the full Troubleshooting explanation →

A user cannot write to a directory that has permissions 755. The user is not the owner but belongs to the group. Which command would allow the user to write?

Question 91easymultiple choice
Read the full Troubleshooting explanation →

A system fails to boot after installing a new SATA disk. The BIOS recognizes the disk. What is the most likely cause?

Question 92easymultiple choice
Read the full Troubleshooting explanation →

A service fails to start and journalctl shows 'Permission denied'. What should the administrator check first?

Question 93mediummultiple choice
Read the full Troubleshooting explanation →

A cron job runs a script that fails because the command 'myapp' is not found. The script works when run manually by the same user. What is the most likely cause?

Question 94mediummultiple choice
Read the full NAT/PAT explanation →

A server shows /dev/sda1 mounted at / is 100% full in df -h, but du -sh / shows only 50% usage. What is the most likely explanation?

Question 95mediummultiple choice
Read the full DNS explanation →

A newly configured DNS server is unable to resolve any queries from clients. The server is running and network connectivity is verified. What should the administrator check first?

Question 96hardmultiple choice
Read the full Troubleshooting explanation →

A custom udev rule for a new USB device is not being applied. The rule file is correctly placed in /etc/udev/rules.d/ with .rules extension. What is the most likely cause?

Question 97hardmultiple choice
Read the full Troubleshooting explanation →

During peak hours, a web server experiences timeouts. The kernel log shows 'possible SYN flooding'. Which kernel parameter should be increased to mitigate this?

Question 98hardmultiple choice
Read the full Troubleshooting explanation →

After a kernel update, loading a proprietary kernel module fails with 'Invalid module format'. The module was built from source against the previous kernel. What is the most likely cause?

Question 99easymulti select
Read the full Troubleshooting explanation →

Which TWO commands can be used to check disk space usage on a Linux system?

Question 100mediummulti select
Read the full Troubleshooting explanation →

Which THREE are valid methods to view logs in a systemd-based system?

Question 101hardmulti select
Read the full Troubleshooting explanation →

Which TWO are standard methods to boot into rescue mode in a systemd-based Linux distribution?

Question 102mediummultiple choice
Read the full Troubleshooting explanation →

Refer to the exhibit. A user reports that the /var directory is not accessible. The system administrator checks the logical volumes and notices that the 'var' logical volume is not activated. Which command should be used to activate it?

Network Topology
root vg0 -wi-ao20.00gswap vg0 -wi-ao2.00gvar vg0 -wi-a10.00ghome vg0 -wi-ao50.00g
Question 103hardmultiple choice
Read the full Troubleshooting explanation →

A Linux system administrator is troubleshooting a server that runs a web application. Users report that the web application occasionally returns 503 Service Unavailable errors. The Apache web server appears to be running (systemctl status httpd shows active). The server has 8GB RAM and runs multiple applications. The administrator runs free -m and sees that swap usage is at 75% while available memory is very low. The top output shows that a process named 'databased' is consuming 40% of memory. The databased process is not a core application and is not needed for the web server. The administrator wants to resolve the issue without restarting the server. What should the administrator do?

Question 104hardmultiple choice
Read the full DNS explanation →

A system administrator is troubleshooting a network issue on a Linux server running CentOS 7. The server is unable to connect to the internet, but internal network connections work fine. The administrator checks the network configuration: the server has a static IP 192.168.1.100/24, default gateway 192.168.1.1, and DNS server 8.8.8.8. The administrator can ping the gateway but cannot ping 8.8.8.8. From the server, a traceroute to 8.8.8.8 stops at the gateway. The administrator also notices that the route table shows a default route via 192.168.1.1. What is the most likely cause?

Question 105easymultiple choice
Read the full Troubleshooting explanation →

A user reports that their system is unable to boot after a recent kernel update. The system displays a 'kernel panic' message. Which of the following is the MOST efficient way to boot into a previous kernel version?

Question 106mediummultiple choice
Read the full Troubleshooting explanation →

A system administrator notices that the /var partition is full, causing log services to malfunction. Which command should be used to quickly reclaim space by removing compressed old log files?

Question 107hardmultiple choice
Read the full Troubleshooting explanation →

A user cannot delete a file owned by another user on a shared filesystem. The file's permissions are 644, and the directory has permissions 755 with the sticky bit set. Which action would allow the user to delete the file?

Question 108mediummultiple choice
Read the full Troubleshooting explanation →

A system administrator is troubleshooting a service that fails to start with the error 'Unit failed to load: Invalid argument'. The service file is located in /etc/systemd/system. What is the most likely cause?

Question 109easymulti select
Read the full Troubleshooting explanation →

A system administrator needs to identify which processes are consuming the most memory on a Linux server. Which two commands can be used? (Select TWO).

Question 110mediummulti select
Read the full Troubleshooting explanation →

A user is unable to resolve hostnames on a Linux system. Which three configuration files should be checked? (Select THREE).

Question 111easymulti select
Read the full Troubleshooting explanation →

A Linux system fails to boot with the error 'No bootable device found'. Which two troubleshooting steps should be taken? (Select TWO).

Question 112mediummultiple choice
Read the full Troubleshooting explanation →

A CentOS 7 web server experienced an abrupt power loss. Upon reboot, the httpd service fails to start. The administrator runs `systemctl status httpd` and sees 'Active: failed (Result: exit-code)'. The journal displays 'Permission denied: "/var/www/html/index.html"'. The file `/var/www/html/index.html` has permissions `-rw-r--r--` and is owned by `apache:apache`. SELinux is in enforcing mode. Which action should the administrator take to resolve the issue?

Question 113mediummultiple choice
Read the full Troubleshooting explanation →

A system administrator is troubleshooting a server running Ubuntu 20.04 that cannot establish outbound SSH connections. The server can ping external IP addresses and resolve hostnames. The administrator tries `ssh user@remotehost` and gets 'Connection timed out'. The firewall (ufw) is active. Which step should be taken?

Question 114hardmultiple choice
Read the full Troubleshooting explanation →

A file server running RHEL 8 uses NFS to export directories. Clients report that they cannot mount an NFS share. The server's firewall is configured but NFS-related services are enabled. The administrator checks `exportfs -v` and sees the export is listed. Which service must be added to the firewall to allow NFS?

Question 115hardmultiple choice
Read the full Troubleshooting explanation →

A SysAdmin is investigating a server that has become unresponsive. The server was working fine, but after a recent update, it hangs during boot, showing 'A start job is running for /dev/mapper/rootvg-rootlv (xxs / no limit)'. This indicates a filesystem check is taking long. What is the most efficient way to skip the fsck and boot quickly?

Question 116easymultiple choice
Review the full subnetting walkthrough →

A Linux server with the IP address 192.168.1.100 is unable to communicate with other hosts on the same subnet 192.168.1.0/24. The administrator can ping the loopback address, but pinging 192.168.1.1 (the default gateway) fails. The output of `ip a` shows the eth0 interface has the correct IP and netmask. Which troubleshooting step should be performed next?

Question 117hardmultiple choice
Read the full Troubleshooting explanation →

A developer reports that a Docker container on a CentOS 7 host cannot connect to the internet. The host itself can access the internet. The container is started with default bridge network. The administrator checks iptables and sees the FORWARD policy is DROP. What is the most likely cause and solution?

Question 118mediummultiple choice
Read the full Troubleshooting explanation →

A user is trying to log in to a Linux server via SSH but receives 'Permission denied (publickey,gssapi-keyex,gssapi-with-mic)'. The user's public key is in ~/.ssh/authorized_keys with proper permissions (600) and owned by the user. The server's sshd_config has 'PubkeyAuthentication yes' and 'PasswordAuthentication no'. What is the most likely additional cause?

Question 119mediummulti select
Read the full Troubleshooting explanation →

A systems administrator is troubleshooting a server that fails to boot and displays the error: 'Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)'. Which TWO of the following are most likely causes? (Choose two.)

Question 120hardmultiple choice
Read the full Troubleshooting explanation →

A technician runs the command `sudo lvdisplay /dev/vg_root/lv_root` and sees the output in the exhibit. The server fails to mount the root filesystem during boot. Which of the following should the technician do first?

Exhibit

Refer to the exhibit.

[user@server ~]$ sudo lvdisplay /dev/vg_root/lv_root
  --- Logical volume ---
  LV Path                /dev/vg_root/lv_root
  LV Name                lv_root
  VG Name                vg_root
  LV UUID                xxxxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxxxx
  LV Write Access        read/write
  LV Creation host, time server01, 2023-01-15 10:30:00 -0500
  LV Status              NOT available
  # open                 0
  LV Size                50.00 GiB
  Current LE             12800
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0
Question 121easymultiple choice
Read the full Troubleshooting explanation →

A junior administrator reports that users cannot connect to a file server running Samba. The server is reachable via ping. Logs from the Samba service show: 'smbd: error while loading shared libraries: libgnutls.so.30: cannot open shared object file: No such file or directory'. The administrator confirms the package 'libgnutls' is installed. Which of the following is the most likely cause and solution?

Question 122hardmultiple choice
Read the full Troubleshooting explanation →

Refer to the exhibit. A backup script fails every 5 minutes. Which is the most likely cause?

Exhibit

# crontab -l
*/5 * * * * /usr/local/bin/backup.sh
# Log excerpt:
Mar 10 12:35:01 server CROND[12345]: (root) CMD (/usr/local/bin/backup.sh)
Mar 10 12:35:03 server backup.sh[12346]: Error: Permission denied writing to /mnt/backup/backup.tar.gz
Mar 10 12:35:03 server backup.sh[12346]: rsync: failed to set permissions on "/mnt/backup/backup.tar.gz": Operation not permitted (1)
Mar 10 12:35:03 server backup.sh[12346]: rsync error: some files/attrs were not transferred (code 23) at main.c(1865) [generator=3.2.3]
Question 123mediummultiple choice
Read the full Troubleshooting explanation →

Refer to the exhibit. Users report they cannot SSH to the server. Based on the logs, what is the most likely cause?

Exhibit

systemctl status sshd.service
● sshd.service - OpenSSH server daemon
   Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2025-03-10 10:30:25 UTC; 2h 15min ago
 Main PID: 1234 (sshd)
   CGroup: /system.slice/sshd.service
           └─1234 /usr/sbin/sshd -D

journalctl -u sshd.service -p err --since "1 hour ago"
Mar 10 12:35:01 server sshd[5678]: error: Could not load host key: /etc/ssh/ssh_host_rsa_key
Mar 10 12:35:01 server sshd[5678]: error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Mar 10 12:35:01 server sshd[5678]: fatal: No supported key exchange algorithms [preauth]
Question 124hardmultiple choice
Read the full Troubleshooting explanation →

Refer to the exhibit. An administrator can SSH to the server but cannot ping 10.0.0.1. What is the most likely cause?

Exhibit

# /etc/nftables.conf
flush ruleset
table inet filter {
    chain input {
        type filter hook input priority 0; policy drop;
        tcp dport 22 accept
        tcp dport 80 accept
        tcp dport 443 accept
        ip protocol icmp accept
        ct state established,related accept
    }
}

ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
From 10.0.0.2 icmp_seq=1 Destination Port Unreachable
Question 125mediummultiple choice
Read the full Troubleshooting explanation →

Refer to the exhibit. The system log is not updating. What is the cause?

Exhibit

ls -la /var/log/syslog
-rw-r----- 1 syslog adm 1024000 Mar 10 12:45 /var/log/syslog
df -h /var/log
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       20G   19G  1.0G  95% /

tail -5 /var/log/syslog
Mar 10 12:44:59 server rsyslogd: [origin software="rsyslogd" swVersion="8.2106.0" x-pid="789" x-info="https://www.rsyslog.com"] start
Mar 10 12:45:00 server rsyslogd: problem with file /var/log/syslog: No space left on device
Mar 10 12:45:00 server rsyslogd: [origin software="rsyslogd" swVersion="8.2106.0" x-pid="789" x-info="https://www.rsyslog.com"] rsyslogd: HUP received, trying to restart.
Question 126hardmultiple choice
Review the full subnetting walkthrough →

Refer to the exhibit. A user cannot access a web server, but another host on the same subnet can. What is the most likely cause?

Exhibit

User reports: "I can't access the web server at https://example.com from my office network."

From the user's workstation:
$ nslookup example.com
Server: 192.168.1.1
Address: 192.168.1.1#53
Non-authoritative answer:
Name: example.com
Address: 10.0.0.5

From another host on the same subnet:
$ curl -I https://example.com
HTTP/2 200

From the user's workstation:
$ curl -I https://example.com
curl: (7) Failed to connect to example.com port 443: Connection refused

$ iptables -L -n -v
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)

Practice tests

Scored 10-question sessions with instant feedback and explanations.

XK0-005 Practice Test 1 — 10 Questions→XK0-005 Practice Test 2 — 10 Questions→XK0-005 Practice Test 3 — 10 Questions→XK0-005 Practice Test 4 — 10 Questions→XK0-005 Practice Test 5 — 10 Questions→XK0-005 Practice Exam 1 — 20 Questions→XK0-005 Practice Exam 2 — 20 Questions→XK0-005 Practice Exam 3 — 20 Questions→XK0-005 Practice Exam 4 — 20 Questions→Free XK0-005 Practice Test 1 — 30 Questions→Free XK0-005 Practice Test 2 — 30 Questions→Free XK0-005 Practice Test 3 — 30 Questions→XK0-005 Practice Questions 1 — 50 Questions→XK0-005 Practice Questions 2 — 50 Questions→XK0-005 Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

SecurityTroubleshootingScripting, Containers and AutomationSystem Management

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All Troubleshooting setsAll Troubleshooting questionsXK0-005 Practice Hub