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.

← System Management practice sets

XK0-005 System Management • Complete Question Bank

XK0-005 System Management — All Questions With Answers

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

137
Questions
Free
No signup
Certifications/XK0-005/Practice Test/System Management/All Questions
Question 1easymultiple choice
Read the full System Management explanation →

A system administrator needs to determine which process is using the most memory on a Linux server. Which command should be used to display processes sorted by memory usage?

Question 2mediummultiple choice
Read the full System Management explanation →

A Linux system is experiencing high CPU load. The administrator runs 'top' and sees that the 'kworker' processes are consuming significant CPU time. What is the most likely cause?

Question 3hardmultiple choice
Read the full System Management explanation →

A company requires that all systems be configured to log all authentication attempts, both successful and failed. Which configuration file and directive should be used to ensure all auth messages are logged to /var/log/secure?

Question 4easymultiple choice
Read the full System Management explanation →

An administrator needs to update the system time using an NTP server immediately without waiting for the next scheduled sync. Which command should be used?

Question 5mediummultiple choice
Read the full System Management explanation →

A Linux server runs a web application that frequently runs out of file descriptors. Which configuration change would permanently increase the maximum number of open files for all users?

Question 6mediummulti select
Read the full System Management explanation →

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 7hardmulti select
Read the full System Management explanation →

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

Question 8hardmultiple choice
Read the full System Management explanation →

Based on the exhibit, what is the most likely cause of the sshd service failure?

Exhibit

Refer to the exhibit.

# systemctl status sshd
● sshd.service - OpenSSH server daemon
   Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2023-10-23 14:30:01 UTC; 5min ago
     Docs: man:sshd(8)
           man:sshd_config(5)
  Process: 1234 ExecStart=/usr/sbin/sshd -D $OPTIONS (code=exited, status=255)
 Main PID: 1234 (code=exited, status=255)

Oct 23 14:30:01 server sshd[1234]: fatal: Cannot bind to port 22: Address already in use
Question 9mediummultiple choice
Read the full System Management explanation →

Based on the exhibit, the myapp service fails to start. Which troubleshooting step should be taken first?

Exhibit

Refer to the exhibit.

# cat /etc/systemd/system/myapp.service
[Unit]
Description=My Application
After=network.target

[Service]
Type=simple
ExecStart=/usr/local/bin/myapp
Restart=on-failure
RestartSec=10

[Install]
WantedBy=multi-user.target

# systemctl daemon-reload
# systemctl start myapp
# systemctl status myapp
● myapp.service - My Application
   Loaded: loaded (/etc/systemd/system/myapp.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since ...
  Process: 5678 ExecStart=/usr/local/bin/myapp (code=exited, status=1/FAILURE)

Oct 23 15:00:00 server myapp[5678]: Error: Configuration file not found
Question 10easymultiple choice
Read the full System Management explanation →

A system administrator notices that a server's disk space is critically low. Which command should be used to identify the largest files or directories consuming space?

Question 11mediummultiple choice
Read the full System Management explanation →

A Linux server with systemd is experiencing boot issues after a recent kernel update. Which command sequence should be used to boot into the previous kernel version?

Question 12hardmultiple choice
Read the full System Management explanation →

An administrator needs to ensure that a custom script /usr/local/bin/backup.sh runs every day at 2:00 AM and logs output to /var/log/backup.log. How should this be configured using systemd?

Question 13mediummulti select
Read the full System Management explanation →

A systems administrator wants to monitor system performance in real time. Which TWO commands can be used to display live updating information about processes, CPU, and memory usage? (Select TWO.)

Question 14hardmulti select
Read the full System Management explanation →

A Linux administrator is troubleshooting a service that fails to start. Which THREE files or commands should be checked to diagnose the issue? (Select THREE.)

Question 15easymultiple choice
Read the full System Management explanation →

Based on the exhibit, what is the most likely cause of the sshd service failure?

Exhibit

Refer to the exhibit.

$ systemctl status sshd
● sshd.service - OpenSSH server daemon
   Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2023-06-12 09:15:22 UTC; 5min ago
     Docs: man:sshd(8)
           man:sshd_config(5)
  Process: 1234 ExecStart=/usr/sbin/sshd -D $OPTIONS (code=exited, status=255)
 Main PID: 1234 (code=exited, status=255)
   Status: "Failed to start sshd"

Jun 12 09:15:22 server sshd[1234]: fatal: Missing privilege separation directory: /var/empty/sshd
Question 16mediummultiple choice
Read the full System Management explanation →

Based on the exhibit, why does the mv command fail?

Network Topology
-rw-rrRefer to the exhibit.$ getenforceEnforcing$ ls -Z /etc/shadow$ ls -Z /tmp/testfile$ sudo mv /tmp/testfile /etc/shadow
Question 17hardmultiple choice
Read the full System Management explanation →

An administrator configures a new web server with Apache and needs to ensure it starts automatically after a system reboot. The administrator runs 'systemctl enable httpd' but the service still does not start after reboot. What is the most likely reason?

Question 18easymultiple choice
Read the full System Management explanation →

A technician needs to find out which port the SSH daemon is listening on. Which command will show this information?

Question 19mediummultiple choice
Read the full System Management explanation →

A systems administrator needs to ensure that a custom service runs with a specific priority on a Linux server. Which command should the administrator use to achieve this?

Question 20hardmultiple choice
Read the full System Management explanation →

A server is experiencing intermittent high load. The administrator suspects a memory leak in a service. Which sysfs file should the administrator monitor to track memory usage per cgroup?

Question 21easymultiple choice
Read the full System Management explanation →

An administrator needs to schedule a system maintenance task to run at 3 AM every Sunday. Which cron expression should be used?

Question 22mediummultiple choice
Read the full System Management explanation →

A developer needs to run a one-time script after the network is up on a systemd-based server. Which unit type should be used?

Question 23hardmulti select
Read the full System Management explanation →

An administrator is troubleshooting a slow system. Which two commands can be used to identify processes consuming excessive CPU or memory? (Choose two.)

Question 24mediummulti select
Read the full System Management explanation →

A technician is configuring a system to automatically mount an NFS share at boot. Which two files must be edited or created? (Choose two.)

Question 25mediummultiple choice
Read the full System Management explanation →

Based on the exhibit, which statement is true about the sshd service?

Exhibit

Refer to the exhibit.

$ systemctl status sshd.service
● sshd.service - OpenSSH server daemon
   Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled; vendor preset: disabled)
   Active: active (running) since Mon 2023-06-12 10:23:45 UTC; 2h 15min ago
 Main PID: 1234 (sshd)
   CGroup: /system.slice/sshd.service
           └─1234 /usr/sbin/sshd -D
Question 26hardmultiple choice
Read the full System Management explanation →

A financial services company runs a critical trading application on a Linux server. The application logs to /var/log/trade/app.log. Recently, the application has been crashing intermittently. The administrator suspects disk space issues. Upon checking, /var/log/trade is on a separate partition with 200 GB capacity, and df -h shows only 10% used. However, the administrator notices that log rotation is not working; the log file has grown to 50 GB and is still being written to. The administrator needs to immediately free up space without stopping the application, and also ensure proper log rotation is configured. Which command sequence should the administrator use?

Question 27easymultiple choice
Read the full System Management explanation →

A system administrator needs to check the current runlevel on a system that uses systemd. Which command should the administrator use?

Question 28mediummultiple choice
Read the full System Management explanation →

A Linux administrator is troubleshooting a server that intermittently becomes unresponsive. The administrator suspects a memory leak. Which command should be used to monitor memory usage over time and identify the consuming process?

Question 29hardmultiple choice
Read the full System Management explanation →

A server running a critical application needs to be rebooted. To ensure the application stops gracefully and data is not corrupted, which sequence of commands should the administrator use?

Question 30easymultiple choice
Read the full System Management explanation →

An administrator wants to schedule a script to run every Monday at 3 AM. Which crontab entry is correct?

Question 31mediummultiple choice
Read the full System Management explanation →

A system is running out of disk space in the /var/log directory. The administrator needs to temporarily free up space while preserving the latest log entries. Which approach is best?

Question 32mediumdrag order
Read the full System Management explanation →

Drag and drop the steps to create a new LVM logical volume 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 33mediumdrag order
Read the full System Management explanation →

Drag and drop the steps to set up a cron job that runs a script daily 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 34mediummatching
Read the full System Management explanation →

Match each SELinux context component to its description.

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

Concepts
Matches

SELinux user identity

Part of RBAC, defines allowed roles

Main attribute for type enforcement

Sensitivity level for MLS/MCS

Optional categories for MCS

Question 35mediummatching
Read the full System Management explanation →

Match each Linux kernel parameter category to its description.

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

Concepts
Matches

General kernel behavior

Virtual memory management

Network settings

Filesystem parameters

Device-specific settings

Question 36easymultiple choice
Read the full System Management explanation →

A junior administrator needs to check the disk usage of the /var filesystem to ensure it does not exceed 80% capacity. Which command should be used?

Question 37mediummultiple choice
Read the full System Management explanation →

A system administrator notices that the httpd service fails to start. Which command should be used to view the most recent log entries for that specific service?

Question 38hardmultiple choice
Read the full System Management explanation →

After a kernel upgrade, the system fails to boot. Which file should be edited to configure GRUB2 to boot into the previous kernel version by default?

Question 39easymultiple choice
Read the full System Management explanation →

What does the output in the exhibit indicate about the /etc/shadow file?

Exhibit

Refer to the exhibit.
[root@server ~]# ls -Z /etc/shadow
system_u:object_r:shadow_t:s0 /etc/shadow
Question 40mediummultiple choice
Read the full System Management explanation →

In the exhibit, what does 'Tasks: 11 (limit: 512)' indicate?

Exhibit

Refer to the exhibit.
[root@server ~]# systemctl status httpd
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2023-01-23 10:15:00 EST; 2h 15min ago
     Docs: man:httpd.service(8)
 Main PID: 1234 (httpd)
   Tasks: 11 (limit: 512)
   Memory: 24.5M
   CGroup: /system.slice/httpd.service
           ├─1234 /usr/sbin/httpd -DFOREGROUND
           ├─1245 /usr/sbin/httpd -DFOREGROUND
           ├─1246 /usr/sbin/httpd -DFOREGROUND
           └─1247 /usr/sbin/httpd -DFOREGROUND
Question 41hardmultiple choice
Read the full System Management explanation →

Based on the exhibit, what is the most likely cause of the 'PV Status: not available'?

Exhibit

Refer to the exhibit.
[root@server ~]# lvm pvdisplay
  --- Physical volume ---
  PV Name               /dev/sdb1
  VG Name               data_vg
  PV Size               <500.00 GiB / not usable 4.00 MiB
  Allocatable           yes
  PE Size               4.00 MiB
  Total PE              127999
  Free PE               8192
  Allocated PE          119807
  PV UUID               abc123-...
  PV Status             not available
Question 42easymulti select
Read the full System Management explanation →

Which TWO commands can be used to view a list of all running processes with their PIDs? (Choose two.)

Question 43mediummulti select
Read the full System Management explanation →

Which THREE methods are valid for setting the default systemd target (runlevel) to multi-user mode? (Choose three.)

Question 44hardmulti select
Read the full System Management explanation →

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 45easymultiple choice
Read the full System Management explanation →

An administrator wants to verify which RPM packages are installed on a Red Hat Enterprise Linux system. Which command displays that information?

Question 46mediummultiple choice
Read the full System Management explanation →

A cron job scheduled by the root user is not executing. Which file is the most likely location for the root user's personal cron table?

Question 47hardmultiple choice
Read the full System Management explanation →

An administrator needs to determine why a service failed to start due to an unresponsive network filesystem. Which systemd unit dependency directive should be added to ensure the service starts only after the remote filesystem is mounted?

Question 48easymultiple choice
Study the full ACL explanation →

A user is unable to create new files in a directory. Which command can the administrator use to view the Access Control Lists (ACLs) associated with that directory?

Question 49mediummultiple choice
Read the full System Management explanation →

A system administrator wants to limit the CPU and memory usage of a specific service to prevent it from affecting other processes. Which Linux feature should be used?

Question 50hardmultiple choice
Review the full routing breakdown →

An administrator is configuring a server to act as a router and needs to enable IP forwarding persistently across reboots. Which file should be modified?

Question 51easymultiple choice
Read the full System Management explanation →

A system administrator needs to create a new user account with a home directory and the bash shell. Which command should be used?

Question 52mediummultiple choice
Read the full System Management explanation →

A company policy requires that only the root user can schedule cron jobs. Which configuration ensures this?

Question 53hardmultiple choice
Read the full System Management explanation →

An administrator modified kernel parameters in /etc/sysctl.conf. Which command applies the changes without rebooting?

Question 54easymultiple choice
Read the full System Management explanation →

A user reports that the /home partition is running out of space. Which command identifies the largest directories under /home?

Question 55mediummultiple choice
Read the full System Management explanation →

A service named 'myapp' is currently running but should be disabled so it does not start automatically at boot. Which command accomplishes this?

Question 56hardmultiple choice
Read the full System Management explanation →

A user on a shared system cannot create files larger than 1MB, even though the filesystem has ample free space. Which command should the administrator use to investigate?

Question 57easymultiple choice
Read the full System Management explanation →

A file has permissions -rwxr-x---. The administrator wants to give the group write permission using symbolic mode. Which command is correct?

Question 58mediummultiple choice
Read the full System Management explanation →

After using 'apt-get install' to install several packages, the administrator notices that disk space is low. Which command cleans up the package cache?

Question 59hardmultiple choice
Read the full System Management explanation →

An administrator needs to ensure that a script runs once at system initialization, before any network services start. Which systemd target should the script be associated with?

Question 60easymulti select
Read the full System Management explanation →

Which TWO commands display disk usage information for filesystems? (Select 2.)

Question 61mediummulti select
Read the full System Management explanation →

Which TWO commands effectively disable a systemd service to prevent it from starting, either automatically or manually? (Select 2.)

Question 62hardmulti select
Read the full System Management explanation →

Which THREE files are commonly used to store local user account information? (Select 3.)

Question 63easymultiple choice
Read the full System Management explanation →

A system administrator needs to ensure that the Apache HTTP server starts automatically at boot and is started immediately without rebooting. Which command accomplishes both tasks?

Question 64mediummultiple choice
Read the full System Management explanation →

A user reports that a custom application service fails to start with a 'Permission denied' error in the logs. The service runs under the 'appuser' account. Which is the most likely cause and the first step to diagnose?

Question 65hardmultiple choice
Read the full System Management explanation →

A system administrator is tuning a server for a high-performance computing workload and needs to disable NUMA (Non-Uniform Memory Access) at boot to improve memory access latency. Which kernel boot parameter should be added to the GRUB_CMDLINE_LINUX line in /etc/default/grub?

Question 66easymultiple choice
Read the full System Management explanation →

A technician has just performed system maintenance and wants to verify that the server has been running continuously for the past 30 days. Which command should the technician use?

Question 67mediummultiple choice
Read the full System Management explanation →

A system is experiencing high CPU usage due to a background process with PID 2345. The administrator wants to reduce the process's priority by 5 without stopping it. Which command should be used?

Question 68hardmultiple choice
Read the full System Management explanation →

After a system update, a server takes significantly longer to boot. The administrator wants to identify which systemd service is causing the delay. Which command provides a detailed analysis of boot time spent by each service?

Question 69easymultiple choice
Read the full System Management explanation →

A database administrator needs to schedule a one-time system backup to run at 2:00 AM tomorrow. Which command should be used?

Question 70mediummultiple choice
Read the full System Management explanation →

A web server in a remote data center logs timestamps in UTC, but the operations team wants all logs to reflect the local timezone (America/New_York). Which command changes the system timezone?

Question 71hardmultiple choice
Read the full System Management explanation →

An administrator is configuring a custom kernel module to be loaded automatically at boot for a specialized hardware device. The module is named 'custom_hw'. Which file should be created to ensure the module is loaded at boot?

Question 72mediummulti select
Read the full System Management explanation →

A system administrator needs to monitor system performance over time. Which THREE tools can be used to collect and display CPU, memory, and I/O statistics? (Choose three.)

Question 73easymulti select
Read the full System Management explanation →

A security administrator needs to verify the SELinux context of files in a directory. Which TWO commands can be used? (Choose two.)

Question 74hardmulti select
Read the full System Management explanation →

A storage administrator is troubleshooting high disk I/O latency. Which THREE tools can provide detailed block I/O statistics at the device level? (Choose three.)

Question 75easymultiple choice
Read the full System Management explanation →

Refer to the exhibit. Which service is likely causing the longest boot delay?

Exhibit

systemd-analyze blame output:
          1.234s firewalld.service
          0.876s network.service
          0.654s postfix.service
          0.321s sshd.service
          0.123s systemd-logind.service
Question 76mediummultiple choice
Read the full System Management explanation →

Refer to the exhibit. What is the total amount of RAM installed on the system?

Exhibit

Output of 'free -h':
              total        used        free      shared  buff/cache   available
Mem:           7.7G        7.5G        0.1G        0.0G        0.1G        0.1G
Swap:          2.0G        1.2G        0.8G
Question 77hardmultiple choice
Read the full System Management explanation →

Refer to the exhibit. A technician sees that the httpd service has failed. Which command was used to view the detailed error log shown in the exhibit?

Exhibit

Output of 'systemctl list-units -t service --state=failed':
  UNIT                LOAD   ACTIVE SUB    DESCRIPTION
  httpd.service       loaded failed failed The Apache HTTP Server

Output of 'journalctl -u httpd.service --no-pager | tail -5':
 Mar 01 10:23:45 server systemd[1]: Starting The Apache HTTP Server...
 Mar 01 10:23:45 server httpd[1234]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
 Mar 01 10:23:45 server systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
 Mar 01 10:23:45 server systemd[1]: httpd.service: Failed with result 'exit-code'.
 Mar 01 10:23:45 server systemd[1]: Failed to start The Apache HTTP Server.
Question 78easymultiple choice
Read the full System Management explanation →

A server is experiencing high CPU load. The administrator needs to identify which process is consuming the most CPU resources in real time. Which command should be used?

Question 79mediummultiple choice
Read the full System Management explanation →

An administrator is troubleshooting a server that fails to boot. The system 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 80hardmultiple choice
Read the full NAT/PAT explanation →

A company policy requires all systems to have a specific set of security patches applied. The administrator needs to generate a report listing all installed packages that contain security updates available. Which command sequence should be used on Red Hat-based systems?

Question 81easymultiple choice
Read the full System Management explanation →

A user reports that they cannot write files to their home directory. The administrator runs `ls -ld /home/user` and sees 'drwxr-xr-x'. Which command will allow the user to write to the directory?

Question 82mediummultiple choice
Read the full DNS explanation →

A system administrator is troubleshooting a DNS resolution issue. The command `dig example.com` returns a response, but `ping example.com` fails with 'ping: example.com: Name or service not known'. Which of the following is the most likely cause?

Question 83hardmultiple choice
Read the full System Management explanation →

An administrator is investigating a security breach. The attacker gained root access via an application vulnerability. The administrator needs to determine which commands were executed by the attacker after gaining access. Which log file should be examined first?

Question 84easymultiple choice
Read the full System Management explanation →

A technician needs to identify the network interface configuration and IP address of a system. Which command provides the most comprehensive output for this task?

Question 85mediummultiple choice
Read the full System Management explanation →

A system administrator is configuring a firewall using iptables. The requirement is to allow incoming SSH connections from the 192.168.1.0/24 network only. Which iptables rule should be added to the INPUT chain?

Question 86hardmultiple choice
Read the full System Management explanation →

An administrator is tasked with setting up a new server that will run a time-sensitive application. The system must have accurate time synchronization. The administrator configures chronyd and adds four NTP servers. After verifying, the administrator notices that the system time drifts significantly. Which configuration parameter in /etc/chrony.conf is most likely causing the drift despite multiple servers?

Question 87mediummulti select
Read the full System Management explanation →

Which TWO commands can be used to check the kernel version currently running on a system? (Choose two.)

Question 88hardmulti select
Read the full System Management explanation →

Which TWO conditions must be met for a user to successfully delete a file owned by a different user in a directory? (Choose two.)

Question 89easymulti select
Read the full System Management explanation →

Which THREE commands can be used to display the mount points and file system usage? (Choose three.)

Question 90mediummultiple choice
Read the full System Management explanation →

An administrator adds a new disk /dev/sdc1 and wants it mounted at /mnt/backup at every boot. Based on the exhibit, which line should be added to /etc/fstab?

Exhibit

Refer to the exhibit.
```
$ cat /etc/fstab
UUID=abc123 / ext4 defaults 1 1
UUID=def456 /boot ext4 defaults 1 2
UUID=ghi789 none swap sw 0 0
/dev/sdb1 /data ext4 defaults 0 0
```
Question 91hardmultiple choice
Read the full System Management explanation →

Based on the exhibit, the service has failed. Which of the following is the most appropriate first step to diagnose the cause of the failure?

Exhibit

Refer to the exhibit.
```
$ systemctl status myservice.service
● myservice.service - My Custom Service
   Loaded: loaded (/etc/systemd/system/myservice.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2024-03-11 14:23:45 UTC; 3min ago
  Process: 12345 ExecStart=/usr/local/bin/myservice.sh (code=exited, status=1/FAILURE)
 Main PID: 12345 (code=exited, status=1)
   CGroup: /system.slice/myservice.service
```
Question 92easymultiple choice
Read the full System Management explanation →

An administrator needs to add a script to be executed daily. The script is placed at /etc/cron.daily/myscript. After placing the script, it does not run. Based on the exhibit, what is the most likely issue?

Exhibit

Refer to the exhibit.
```
$ ls -l /etc/cron.daily/
total 8
-rwxr-xr-x 1 root root 245 Mar 10 10:00 logrotate
-rwxr-xr-x 1 root root 123 Mar 10 10:00 syscheck
```
Question 93easymultiple choice
Read the full System Management explanation →

A new user 'jdoe' has been added using the command 'useradd jdoe', but upon first login, the user receives a message that the home directory does not exist. Which command should the administrator run to resolve this issue while also populating the home directory with default skeleton files?

Question 94mediummultiple choice
Read the full System Management explanation →

A Linux server is experiencing slow boot times. The administrator wants to identify which systemd services are taking the longest to start. Which command should be used?

Question 95hardmultiple choice
Read the full System Management explanation →

An administrator is troubleshooting a web server that is running under SELinux enforcing mode. The web content is located in a non-standard directory /webfiles. Using the standard SELinux context 'httpd_sys_content_t', the files are still inaccessible. Which command will properly set the context recursively and persist across relabels?

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

A system administrator needs to configure a daily backup that creates hard links to unchanged files to save space. Which tool and option combination is most appropriate?

Question 97easymultiple choice
Read the full System Management explanation →

A process has become unresponsive and is in a zombie state. Which action should the administrator take to remove the zombie process?

Question 98mediummultiple choice
Read the full System Management explanation →

An administrator needs to extend the size of a logical volume named 'lv_data' in volume group 'vg_data' by 10 GB. A new disk /dev/sdb has been added to the system. What is the correct sequence of commands?

Question 99easymultiple choice
Read the full System Management explanation →

A system administrator wants to schedule a script to run every Monday at 3 AM. Which cron entry is correct?

Question 100hardmultiple choice
Read the full System Management explanation →

An administrator needs to set a password expiration policy so that all users must change their password every 90 days. Which command and option accomplishes this for an existing user?

Question 101hardmultiple choice
Read the full System Management explanation →

A server with multiple disks is configured with RAID 5 for performance and redundancy. The administrator notices that write performance is lower than expected. Which RAID level would provide better write performance while still offering fault tolerance with the same number of disks (minimum 4)?

Question 102easymulti select
Read the full System Management explanation →

Which two commands can be used to view the SELinux context of files or processes?

Question 103mediummulti select
Read the full System Management explanation →

Which three are valid systemd unit types?

Question 104hardmulti select
Read the full System Management explanation →

An administrator needs to set up a new LVM volume. Which two commands are necessary in the initial setup before creating a logical volume?

Question 105easymultiple choice
Read the full System Management explanation →

The /home partition is nearly full. The administrator wants to increase the size of the home filesystem. Which action should be taken first?

Exhibit

Refer to the exhibit.
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       976M  120M  789M  14% /boot
/dev/mapper/vg-root  18G  5.2G   12G  31% /
tmpfs           1.9G     0  1.9G   0% /dev/shm
/dev/mapper/vg-home  2.0G  1.9G   68M  97% /home
Question 106mediummultiple choice
Read the full System Management explanation →

An administrator runs 'systemctl list-units' and sees that httpd.service is in a failed state. To quickly see the error message that caused the failure, which command should be used?

Exhibit

Refer to the exhibit.
UNIT                   LOAD   ACTIVE SUB      DESCRIPTION
sshd.service           loaded active running OpenSSH Daemon
httpd.service          loaded failed failed  Apache HTTP Server
Question 107hardmultiple choice
Read the full System Management explanation →

Based on the exhibit, which file has an incorrect SELinux context for serving web content via Apache?

Network Topology
-rw-rrRefer to the exhibit.~]$ ls -lZ /var/www/html
Question 108easymultiple choice
Read the full System Management explanation →

A system administrator notices that a critical application's process is consuming too much CPU, affecting other services. The administrator needs to reduce the CPU priority of that process without affecting its memory or other resources. The process PID is 4521. Which command should the administrator use?

Question 109mediummultiple choice
Read the full System Management explanation →

A system administrator needs to configure a Linux server to automatically synchronize time with the NTP pool servers. The server should also act as an NTP peer for other servers on the local network. Which file should be modified, and which directive should be added?

Question 110easymultiple choice
Study the full ACL explanation →

An administrator runs the command `ls -l /data/file.txt` and sees the output: `-rw-r-----+ 1 root project 1024 Mar 15 10:00 file.txt`. The administrator wants to view the current ACL entries on this file. Which command should be used?

Question 111mediummultiple choice
Read the full System Management explanation →

A Linux administrator receives reports that the system's log files are growing rapidly and consuming disk space. The administrator needs to configure the system to rotate logs weekly, keep 4 weeks of logs, compress old logs, and ensure that log rotation does not cause logs to be lost if the log file is still being written. Which configuration file and setting should be used?

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

A developer needs to grant a colleague read and write access to a directory /project, but the colleague should not have permission to delete any files created by the developer. The developer wants to set the directory so that all new files created in it automatically belong to the group 'project' and are writable by group. Which combination of configuration should be used?

Question 113mediummultiple choice
Read the full System Management explanation →

A system administrator notices that a service fails to start at boot with the message "Failed to start MyApp.service: Unit not found". The administrator checks the service unit file at /etc/systemd/system/myapp.service. The target wanted-by is multi-user.target. The administrator runs `systemctl enable myapp.service` successfully, but the service still does not start at boot. What is the most likely cause?

Question 114mediummultiple choice
Read the full System Management explanation →

A Linux administrator needs to mount a new ext4 filesystem on /dev/sdb1 to /mnt/data. The administrator wants the filesystem to be mounted automatically at boot with noatime and with user ownership of files to be preserved (i.e., the filesystem should be owned by a specific user). Which line should be added to /etc/fstab?

Question 115easymultiple choice
Read the full System Management explanation →

A Linux administrator needs to check which process is using the most memory on a system. The administrator wants to view dynamically updating list of processes sorted by memory usage. Which command should the administrator use?

Question 116easymulti select
Read the full System Management explanation →

An administrator is troubleshooting a server that is experiencing intermittent high load. The administrator wants to identify processes that are using excessive CPU. Which two of the following commands can provide real-time CPU usage per process? (Choose two.)

Question 117hardmulti select
Read the full System Management explanation →

A Linux administrator needs to configure a service to start automatically after a network connection is established. The service should only run when the network is up, and should stop when the network goes down. Which two systemd unit options should be used? (Choose two.)

Question 118mediummulti select
Read the full System Management explanation →

A Linux administrator is configuring secure remote access to a server. Which three of the following are recommended best practices for securing SSH? (Choose three.)

Question 119mediummultiple choice
Read the full System Management explanation →

A company runs a web application on a Linux server (Ubuntu 22.04). The application writes log files to /var/log/app/access.log and error.log. Over time, these logs have grown to several gigabytes, causing the /var partition to reach 98% capacity. The administrator decides to implement log rotation using logrotate. They create a configuration file at /etc/logrotate.d/app with the following content:

/var/log/app/*.log { weekly rotate 7 compress delaycompress size 100M missingok

}

They then run `logrotate -d /etc/logrotate.d/app` for debugging, which indicates no errors. However, after several days, the logs are not being rotated. Which step should the administrator take to resolve this?

Question 120mediummultiple choice
Read the full System Management explanation →

A Linux server running RHEL 9 has SELinux in enforcing mode. A web application (Apache) is serving content from a custom directory /var/www/html/myapp. The application needs to write to a subdirectory /var/www/html/myapp/uploads. The administrator sets the context of the uploads directory to httpd_sys_content_t and also runs `restorecon -Rv /var/www/html/myapp`. However, Apache still cannot write to the uploads directory. The administrator checks the SELinux denials in /var/log/audit/audit.log and sees AVC denials related to writing. Which step should the administrator take next?

Question 121hardmultiple choice
Read the full System Management explanation →

A server has a volume group 'vg_data' with a single logical volume 'lv_data' of 100GB mounted at /data. The filesystem on lv_data is XFS. The administrator needs to extend it to 150GB. A new 60GB disk /dev/sdc has been added and partitioned as LVM. The administrator runs `pvcreate /dev/sdc1`, then `vgextend vg_data /dev/sdc1`, then `lvextend -L +50G /dev/vg_data/lv_data`. The administrator runs `df -h /data` and sees that the filesystem still shows 100GB. Which command should be run next?

Question 122hardmultiple choice
Read the full System Management explanation →

A custom application service 'myapp.service' fails to start on a RHEL 8 system with the error: "Failed at step EXEC spawning /usr/local/bin/myapp: Permission denied". The service runs as user 'myapp'. The binary /usr/local/bin/myapp has permissions 755 and is owned by root:root. The user myapp is not in the sudoers. The administrator checks SELinux and finds the binary has the context 'unconfined_u:object_r:usr_t:s0'. The service unit file does not specify any SELinux context. What is the most likely cause of the failure?

Question 123easymulti select
Read the full System Management explanation →

A junior administrator needs to monitor system resource usage on a production server. Which TWO commands should the administrator use to check CPU and memory utilization in real-time? (Choose two.)

Question 124mediummulti select
Read the full System Management explanation →

An administrator is managing a server using systemd and needs to control services and units. Which THREE of the following are valid systemd commands for service management? (Choose three.)

Question 125easymultiple choice
Read the full NAT/PAT explanation →

A system administrator is troubleshooting a server that is experiencing periodic slowdowns. The administrator runs the 'ps aux' command and notices a process named 'cpu_burn' that is consistently using over 90% CPU. The administrator wants to identify which user is running the process and then terminate it. The server runs Red Hat Enterprise Linux 8. Which command should the administrator use to determine the owner of the 'cpu_burn' process?

Question 126easymultiple choice
Read the full System Management explanation →

An administrator needs to schedule a backup script located at '/usr/local/bin/backup.sh' to run every Sunday at 2:30 AM. The server uses cron for task scheduling. The administrator currently has the following crontab entry: '30 2 * * 0 /usr/local/bin/backup.sh'. However, the administrator wants to verify that the cron job is configured correctly and will run as expected. Which of the following commands should the administrator use to list the current user's cron jobs and verify the entry?

Question 127mediummultiple choice
Read the full System Management explanation →

A server running Ubuntu 20.04 has a custom application that is started as a systemd service. The service often fails to start after a system reboot, although it can be started manually with 'systemctl start myapp' without errors. The administrator checks the service status after boot and sees 'Failed to start myapp.service: Unit is not loaded properly: Invalid argument'. Which of the following is the most likely cause of this issue?

Question 128mediummultiple choice
Read the full network assurance explanation →

A system administrator is configuring centralized logging for a cluster of web servers. Each web server runs rsyslog and needs to forward its Apache access logs to a central log server at 192.168.1.100 over UDP port 514. The administrator adds the following line to /etc/rsyslog.conf on each web server: '*.* @192.168.1.100:514'. After restarting rsyslog, no logs appear on the central server. The administrator checks the network connectivity and finds that the central server is reachable and listening on UDP 514. Which additional configuration is most likely required on the web servers to forward the Apache logs?

Question 129hardmultiple choice
Read the full System Management explanation →

A Linux server is experiencing high I/O wait, as shown by the 'iostat -x' command: 'avg-cpu: %iowait=45' and '/dev/sda: await=120ms, %util=95%'. The server has 16 GB of RAM, and the administrator notices that the system is using a significant amount of swap: 'free -m' shows 4 GB of swap used out of 8 GB. The server runs a database application that performs many synchronous writes. The administrator wants to reduce I/O wait without adding physical memory. Which of the following kernel parameter changes is most likely to help by reducing the frequency of write operations to disk?

Question 130mediummultiple choice
Read the full System Management explanation →

Refer to the exhibit. A Linux administrator created a systemd service file for a custom script. When starting the service, it fails with 'Unit myservice.service entered failed state.' Which of the following is the most likely cause?

Exhibit

[Unit]
Description=My custom service
After=network.target

[Service]
ExecStart=./myscript
Restart=always

[Install]
WantedBy=multi-user.target
Question 131hardmulti select
Read the full System Management explanation →

A system administrator is troubleshooting why a user cannot execute a script in their home directory. Which THREE conditions could prevent execution? (Choose three.)

Question 132easymultiple choice
Read the full System Management explanation →

A Linux administrator is tasked with adding a new 1TB hard drive to a server. The drive has been partitioned and formatted with ext4, resulting in the device /dev/sdb1. The administrator needs the drive to be mounted persistently at /data. After adding an entry to /etc/fstab, the administrator runs 'mount -a' and sees the error: 'mount: /data: mount point does not exist.' Which of the following should the administrator do first to resolve the issue?

Question 133hardmultiple choice
Read the full System Management explanation →

Refer to the exhibit. A system administrator checks the status of the SSH service and sees the output shown. What is the most likely cause of the failure?

Exhibit

systemctl status sshd
● sshd.service - OpenSSH server daemon
   Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2023-03-13 09:15:23 UTC; 2min 47s ago
     Docs: man:sshd(8)
           man:sshd_config(5)
  Process: 1234 ExecStart=/usr/sbin/sshd -D $OPTIONS (code=exited, status=255)
 Main PID: 1234 (code=exited, status=255)
   Status: "Failed to start sshd: Address already in use"
Question 134hardmultiple choice
Read the full System Management explanation →

Refer to the exhibit. A network administrator is troubleshooting a failed network connection. Based on the journalctl output, what is the most likely cause?

Exhibit

journalctl -xe -u NetworkManager.service
Mar 13 10:22:15 hostname NetworkManager[1023]: <warn>  [1678710135.1234] device (eth0): Activation: failed for connection 'Wired connection 1'
Mar 13 10:22:15 hostname NetworkManager[1023]: <info>  [1678710135.1235] device (eth0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Mar 13 10:22:15 hostname NetworkManager[1023]: <warn>  [1678710135.1236] device (eth0): Activation: failed to connect: No suitable device found
Question 135hardmultiple choice
Read the full System Management explanation →

Refer to the exhibit. A system administrator notices that /var/log is nearly full. Which configuration change would resolve the issue and prevent recurrence?

Network Topology
-rw-rr# df -h /var/log# ls -la /var/log/messages*# cat /etc/logrotate.d/syslog/var/log/messagesrotate 4size 100Mmissingokcompresspostrotate/usr/bin/systemctl restart syslog.serviceendscript
Question 136hardmultiple choice
Read the full System Management explanation →

Refer to the exhibit. A web server is experiencing performance issues. Based on the process list shown, which action should the administrator take first?

Exhibit

ps aux | grep apache
root      1234  0.0  0.1  12345  6789 ?        Ss   10:00   0:00 /usr/sbin/httpd -k start
apache    1235  0.2  2.3  45678 23456 ?        S    10:00   0:05 /usr/sbin/httpd -k start
apache    1236  0.3  2.4  45678 24000 ?        S    10:00   0:06 /usr/sbin/httpd -k start
apache    1237  0.0  0.1     0     0 ?        Z    10:05   0:00 [httpd] <defunct>

# cat /proc/sys/kernel/pid_max
32768
Question 137hardmultiple choice
Read the full System Management explanation →

Refer to the exhibit. An administrator attempts to mount all filesystems and receives an error. What is the most likely cause?

Exhibit

# cat /etc/fstab
UUID=1234-5678 / ext4 defaults 1 1
UUID=abcd-ef01 /boot ext4 defaults 1 2
UUID=9012-3456 /home xfs defaults 0 0
UUID=7890-1234 /var ext4 defaults 1 2

# mount -a
mount: /var: mount point does not exist.

# ls -ld /var
ls: cannot access '/var': No such file or directory

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 System Management setsAll System Management questionsXK0-005 Practice Hub