XK0-004 Sample Questions & Answers
Day-to-day software installation plus user and file management carries the top weight, alongside analyzing system processes and troubleshooting, access control and logging, the boot process and kernel modules, and BASH scripting with Git.
Launch the full XK0-004 simulator →Showing 9 of 19 free samples.
- Question 1
Which of the following statements BEST represents what the term “agentless means regarding orchestration?
Show answer & explanation
Correct answer: A
- Question 2
A Linux administrator is testing a new web application on a local laptop and consistently shows the following 403 errors in the laptop’s logs:
The web server starts properly, but an error is generated in the audit log.
Which of the following settings should be enabled to prevent this audit message?

Show answer & explanation
Correct answer: A
A
- Question 3
A Linux administrator must identify a user with high disk usage. The administrator runs the # du -s /home/* command and gets the following output:
Based on the output, User3 has the largest amount of disk space used. To clean up the file space, the administrator needs to find out more information about the specific files that are using the most disk space.
Which of the following commands will accomplish this task?

Show answer & explanation
Correct answer: C
- Question 4
A systems administrator has scheduled a system update for a server. The update includes a resynchronization of the package database and updates to the current packages and the system distribution packages.
Which of the following commands contains the proper order ofthis update?
Show answer & explanation
Correct answer: B
B
- Question 5
A Linux administrator is restoring the SELinux contexts on an entire system.
Which of the following commands is the BEST option to complete this task?
Show answer & explanation
Correct answer: D
Reference: https://access.redhat.eom/documentation/en-us/red hat enterprise linux/7/html/selinux users and administrators guide/sect-security-enhanced linux-working with selinux-selinux contex
- Question 6
A Linux administrator needs the “tech account to have the option to run elevated commands as root.
Which of the following commands would BEST meet this goal?Show answer & explanation
Correct answer: B
B
- Question 7
Which of the following BEST describes containers running on a Linux system?
Show answer & explanation
- Question 8
A Linux administrator has installed a web application firewall in front of a web server running on HTTP port 8080 and successfully started the HTTP server. However, after opening the application URL in an Internet browser, the administrator discovered that the application does not work. The administrator performed the following diagnostic steps:
Which of the following is the NEXT step the administrator should perform to permanently fix the issue at the kernel level?

Show answer & explanation
Correct answer: D
D
- Question 9
An administrator is analyzing a Linux server which was recently hacked.
Which of the following will the administrator use to find all unsuccessful login attempts?Show answer & explanation
Correct answer: C
C
Ready for the real thing?
The full XK0-004 simulator has every exam-style question, timed mode, and instant scoring.