XK0-005 Dump Free – 50 Practice Questions to Sharpen Your Exam Readiness.
Looking for a reliable way to prepare for your XK0-005 certification? Our XK0-005 Dump Free includes 50 exam-style practice questions designed to reflect real test scenarios—helping you study smarter and pass with confidence.
Using an XK0-005 dump free set of questions can give you an edge in your exam prep by helping you:
- Understand the format and types of questions you’ll face
- Pinpoint weak areas and focus your study efforts
- Boost your confidence with realistic question practice
Below, you will find 50 free questions from our XK0-005 Dump Free collection. These cover key topics and are structured to simulate the difficulty level of the real exam, making them a valuable tool for review or final prep.
Rugged appliances are small appliances with ruggedized hardware and like Quantum Spark appliance they use which operating system?
A. Centos Linux
B. Gaia embedded
C. Gaia
D. Red Hat Enterprise Linux version 5
A Linux administrator deployed a large-scale application service as a containerized pod. The Linux administrator needs to continually send the application's log file to the company's central log store. Which of the following should the Linux administrator do to efficiently perform this task?
A. Configure a sidecar to perform log shipping.
B. Run docker exec to access the logs within the container.
C. Execute docker inspect and run a log rsync replication.
D. Set up a custom task scheduler via kubectl.
A Linux administrator needs to obtain a list of all volumes that are part of a volume group. Which of the following commands should the administrator use to accomplish this task?
A. vgs
B. lvs
C. fdisk -1
D. pvs
A systems administrator frequently connects to a remote host via SSH and a non-standard port. The systems administrator would like to avoid passing the port parameter on the command line every time. Which of the following files can be used to set a different port value for that host?
A. /etc/ssh/sshd_config
B. /etc/ssh/moduli
C. ~/.ssh/config
D. ~/.ssh/authorized_keys
A junior developer is unable to access an application server and receives the following output: [root@server1 ~]# ssh dev2@172.16.25.126 dev2@172.16.25.126 's password: Permission denied, please try again. dev2@172.16.25.126 's password: Permission denied, please try again. dev2@172.16.25.126 's password: Account locked due to 4 failed logins Account locked due to 5 failed logins Last login: Mon Apr 22 21:21:06 2021 from 172.16.16.52 The systems administrator investigates the issue and receives the following output: [root@server1 ~]# pam_tally2 --user=dev2 Login Failures Latest failure From dev2 5 04/22/21 21:22:37 172.16.16.52 Which of the following commands will help unlock the account?
A. pam_tally2 –user=dev2 –quiet
B. pam_tally2 –user=dev2
C. pam_tally2 –user+dev2 –quiet
D. pam_tally2 –user=dev2 –reset
In which of the following filesystems are system logs commonly stored?
A. /var
B. /tmp
C. /etc
D. /opt
The administrator comptia is not able to perform privileged functions on a newly deployed system. Given the following command outputs:Which of the following is the reason that the administrator is unable to perform the assigned duties?
A. The administrator needs a password reset.
B. The administrator is not a part of the correct group.
C. The administrator did not update the sudo database.
D. The administrator’s credentials need to be more complex.
A Linux administrator needs to connect securely to a remote server in order to install application software. Which of the following commands would allow this connection?
A. scp “ABC-key.pem” root@10.0.0.1
B. sftp root@10.0.0.1
C. telnet 10.0.0.1 80
D. ssh -i “ABC-key.pem” root@10.0.0.1
E. sftp “ABC—key.pem” root@10.0.0.1
A systems technician is configuring an application server to accept packets from a trusted source with the IP address 192.168.10.22. Which of the following commands will allow communication between the two servers?
A. iptables -L -s 192.168.10.22 -j ACCEPT
B. iptables -D INPUT -s 192.168.10.22 -j ACCEPT
C. iptables -A INPUT -s 192.168.10.22 -j ACCEPT
D. iptables -A OUTPUT -s 192.168.10.22 -j ACCEPT
A Linux user reported the following error after trying to connect to the system remotely: ssh: connect to host 10.0.1.10 port 22: Resource temporarily unavailable The Linux systems administrator executed the following commands in the Linux system while trying to diagnose this issue:Which of the following commands will resolve this issue?
A. firewall-cmd –zone=public –permanent –add-service=22
B. systemctl enable firewalld; systemctl restart firewalld
C. firewall-cmd –zone=public –permanent –add-service=ssh
D. firewall-cmd –zone=public –permanent –add-port=22/udp
An administrator needs to increase the system priority of a process with PID 2274. Which of the following commands should the administrator use to accomplish this task?
A. renice -n -15 2274
B. nice -15 2274
C. echo “-15” > /proc/PID/2274/priority
D. ps -ef | grep 2274
A Linux administrator needs to expand a volume group using a new disk. Which of the following options presents the correct sequence of commands to accomplish the task?
A. partprobevgcreatelvextend
B. lvcreatefdiskpartprobe
C. fdiskpartprobemkfs
D. fdiskpvcreatevgextend
Employees in the finance department are having trouble accessing the file /opt/work/file. All IT employees can read and write the file. Systems administrator reviews the following output:Which of the following commands would permanently fix the access issue while limiting access to IT and finance department employees?
A. chattr +i file
B. chown it:finance file
C. chmod 666 file
D. setfacl -m g:finance:rw file
A Linux administrator modified the SSH configuration file. Which of the following commands should be used to apply the configuration changes?
A. systemctl stop sshd
B. systemctl mask sshd
C. systemctl reload sshd
D. systemctl start sshd
A Linux engineer finds multiple failed login entries in the security log file for application users. The Linux engineer performs a security audit and discovers a security issue. Given the following: # grep -iE '*www*|db' /etc/passwd www-data:x:502:502:www-data:/var/www:/bin/bash db:x:505:505:db:/opt/db:/bin/bash Which of the following commands would resolve the security issue?
A. usermod -d /srv/www-data www-data && usermod -d /var/lib/db db
B. passwd -u www-data && passwd -u db
C. renice -n 1002 -u 502 && renice -n 1005 -u 505
D. chsh -s /bin/false www-data && chsh -s /bin/false db
A systems administrator is encountering performance issues. The administrator runs a command with the following output: 09:10:18 up 457 days, 32min, 5 users, load average: 4.22 6.63 5.58 The Linux server has the following system properties: CPU 4 vCPU - Memory: 50GB - Which of the following accurately describes this situation?
A. The system is under CPU pressure and will require additional vCPUs.
B. The system has been running for over a year and requires a reboot.
C. Too many users are currently logged in to the system.
D. The system requires more memory.
A Linux system is failing to boot. The following error is displayed in the serial console: [[1;33mDEPEND[Om] Dependency failed for /data. [[1;33mDEPEND[Om] Dependency failed for Local File Systems ... Welcome to emergency mode! After logging in, type "journalctl -xb" to viewsystem logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode. Give root password for maintenance (or type Control-D to continue} Which of the following files will need to be modified for this server to be able to boot again?
A. /etc/mtab
B. /dev/sda
C. /etc/fstab
D. /ete/grub.conf
Which of the following directories is the mount point in a UEFI system?
A. /sys/efi
B. /boot/efi
C. /efi
D. /etc/efi
A Linux administrator is installing a web server and needs to check whether web traffic has already been allowed through the firewall. Which of the following commands should the administrator use to accomplish this task?
A. firewalld query-service-http
B. firewall-cmd –check-service http
C. firewall-cmd –query-service http
D. firewalld –check-service http
A systems administrator is tasked with installing GRUB on the legacy MBR of the SATA hard drive. Which of the following commands will help the administrator accomplish this task?
A. grub-install /dev/hda
B. grub-install /dev/sda
C. grub-install /dev/sr0
D. grub-install /dev/hd0,0
Joe, a user, is unable to log in to the Linux system. Given the following output:Which of the following commands would resolve the issue?
A. usermod -s /bin/bash joe
B. pam_tally2 -u joe -r
C. passwd -u joe
D. chage -E 90 joe
A Linux administrator has been tasked with installing the most recent versions of packages on a RPM-based OS. Which of the following commands will accomplish this task?
A. apt-get upgrade
B. rpm -a
C. yum updateinfo
D. dnf update
E. yum check-update
A Linux administrator would like to use systemd to schedule a job to run every two hours. The administrator creates timer and service definitions and restarts the server to load these new configurations. After the restart, the administrator checks the log file and notices that the job is only running daily. Which of the following is MOST likely causing the issue?
A. The checkdiskspace.service is not running.
B. The checkdiskspace.service needs to be enabled.
C. The OnCalendar schedule is incorrect in the timer definition.
D. The system-daemon services need to be reloaded.
A Linux administrator is troubleshooting SSH connection issues from one of the workstations. When users attempt to log in from the workstation to a server with the IP address 104.21.75.76, they receive the following message:The administrator reviews the information below:
![]()
Which of the following is causing the connectivity issue?
A. The workstation has the wrong IP settings.
B. The sshd service is disabled.
C. The server’s firewall is preventing connections from being made.
D. The server has an incorrect default gateway configuration.
A Linux administrator copied a Git repository locally, created a feature branch, and committed some changes to the feature branch. Which of the following Git actions should the Linux administrator use to publish the changes to the main branch of the remote repository?
A. rebase
B. tag
C. commit
D. push
A Linux systems administrator receives a notification that one of the server’s filesystems is full. Which of the following commands would help the administrator to identify this filesystem?
A. lsblk
B. fdisk
C. df -h
D. du -ah
A systems administrator wants to back up the directory /data and all its contents to /backup/data on a remote server named remote. Which of the following commands will achieve the desired effect?
A. scp -p /data remote:/backup/data
B. ssh -i /remote:/backup/ /data
C. rsync -a /data remote:/backup/
D. cp -r /data /remote/backup/
An engineer needs to insert a character at the end of the current line in the vi text editor. Which of the following will allow the engineer to complete this task?
A. p
B. r
C. bb
D. A
E. i
A systems administrator created a new Docker image called test. After building the image, the administrator forgot to version the release. Which of the following will allow the administrator to assign the v1 version to the image?
A. docker image save test test:v1
B. docker image build test:vl
C. docker image tag test test:vl
D. docker image version test:v1
Due to low disk space, a Linux administrator finding and removing all log files that were modified more than 180 days ago. Which of the following commands will accomplish this task?
A. find /var/log -type d -mtime +180 -print -exec rm {} ;
B. find /var/log -type f -modified +180 -rm
C. find /var/log -type f -mtime +180 -exec rm {}
D. find /var/log -type c -atime +180 –remove
A systems administrator created a web server for the company and is required to add a tag for the API so end users can connect. Which of the following would the administrator do to complete this requirement?
A. hostnamectl status –no-ask-password
B. hostnamectl set-hostname “$(perl -le “print” “A” x 86)”
C. hostnamectl set-hostname Comptia-WebNode -H root@192.168.2.14
D. hostnamectl set-hostname Comptia-WebNode –transient
A systems administrator needs to reconfigure a Linux server to allow persistent IPv4 packet forwarding. Which of the following commands is the correct way to accomplish this task?
A. echo 1 > /proc/sys/net/ipv4/ipv_forward
B. sysctl -w net.ipv4.ip_forward=1
C. firewall-cmd –enable ipv4_forwarding
D. systemctl start ipv4_forwarding
A Linux administrator needs to resolve a service that has failed to start. The administrator runs the following command:The following output is returned
Which of the following is MOST likely the issue?
A. The service does not have permissions to read write the startupfile.
B. The service startupfile size cannot be 81k.
C. The service startupfile cannot be owned by root.
D. The service startupfile should not be owned by the root group.
A systems administrator is tasked with mounting a USB drive on a system. The USB drive has a single partition, and it has been mapped by the system to the device /dev/sdb. Which of the following commands will mount the USB to /media/usb?
A. mount /dev/sdb1 /media/usb
B. mount /dev/sdb0 /media/usb
C. mount /dev/sdb /media/usb
D. mount -t usb /dev/sdb1 /media/usb
A Linux administrator is reviewing changes to a configuration file that includes the following section:The Linux administrator is trying to select the appropriate syntax formatter to correct any issues with the configuration file. Which of the following should the syntax formatter support to meet this goal?
A. Markdown
B. XML
C. YAMLD. JSON
A systems administrator needs to verify whether the built container has the app.go file in its root directory. Which of the following can the administrator use to verify the root directory has this file?
A. docker image inspect
B. docker container inspect
C. docker exec ls
D. docker ps
The group owner of the /home/test directory would like to preserve all group permissions on files created in the directory. Which of the following commands should the group owner execute?
A. chmod g+s /home/test
B. chgrp test /home/test
C. chmod 777 /home/test
D. chown -hR test /home/test
A systems administrator is tasked with preventing logins from accounts other than root, while the file /etc/nologin exists. Which of the following PAM modules will accomplish this task?
A. pam_login.so
B. pam_access.so
C. pam_logindef.so
D. pam_nologin.so
A database administrator requested the installation of a custom database on one of the servers. Which of the following should the Linux administrator configure so the requested packages can be installed?
A. /etc/yum.conf
B. /etc/ssh/sshd.conf
C. /etc/yum.repos.d/db.repo
D. /etc/resolv.conf
An administrator would like to measure possible packet loss between a workstation and a remote web application that is running on port 443. Which of the following would be the best command for the administrator to use to display this information?
A. ping -c 50
B. tcpdump -p 443
C. mtr -T -P 443
D. traceroute -p 443
An administrator deployed a Linux server that is running a web application on port 6379/tcp. SELinux is in enforcing mode based on organization policies. The port is open on the firewall. Users who are trying to connect to a local instance of the web application receive Error 13, Permission denied. The administrator ran some commands that resulted in the following output:Which of the following commands should be used to resolve the issue?
A. semanage port -d -t http_port_t -p tcp 6379
B. semanage port -a -t http_port_t -p tcp 6379
C. semanage port -a http_port_t -p top 6379
D. semanage port -l -t http_port_tcp 6379
A systems administrator is troubleshooting a connectivity issue pertaining to access to a system named db.example.com. The system IP address should be 192.168.20.88. The administrator issues the dig command and receives the following output:The administrator runs grep db.example.com /etc/hosts and receives the following output:
Given this scenario, which of the following should the administrator do to address this issue?
A. Modify the /etc/hosts file and change the db.example.com entry to 192.168.20.89.
B. Modify the /etc/network file and change the db.example.com entry to 192.168.20.88.
C. Modify the /etc/network file and change the db.example.com entry to 192.168.20.89.
D. Modify the /etc/hosts file and change the db.example.com entry to 192.168.20.88.
A Linux system is failing to boot with the following error:Which of the following actions will resolve this issue? (Choose two.)
A. Execute grub-install –root-directory=/mnt and reboot.
B. Execute grub-install /dev/sdX and reboot.
C. Interrupt the boot process in the GRUB menu and add rescue to the kernel line.
D. Fix the partition modifying /etc/default/grub and reboot.
E. Interrupt the boot process in the GRUB menu and add single to the kernel line.
F. Boot the system on a LiveCD/ISO.
An administrator installed an application from source into /opt/operations1/ and has received numerous reports that users are not able to access the application without having to use the full path /opt/operations1/bin/*. Which of the following commands should be used to resolve this issue?
A. echo ‘export PATH=$PATH:/opt/operations1/bin’ >> /etc/profile
B. echo ‘export PATH=/opt/operations1/bin’ >> /etc/profile
C. echo ‘export PATH=$PATH/opt/operations1/bin’ >> /etc/profile
D. echo ‘export $PATH:/opt/operations1/bin’ >> /etc/profile
A Linux systems administrator is setting up a new web server and getting 404 - NOT FOUND errors while trying to access the web server pages from the browser. While working on the diagnosis of this issue, the Linux systems administrator executes the following commands:Which of the following commands will BEST resolve this issue?
A. sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/’ /etc/selinux/config
B. restorecon -R -v /var/www/html
C. setenforce 0
D. setsebool -P httpd_can_network_connect_db on
Several users reported that they were unable to write data to the /oracle1 directory. The following output has been provided:Which of the following commands should the administrator use to diagnose the issue?
A. df -i /oracle1
B. fdisk -1 /dev/sdb1
C. lsblk /dev/sdb1
D. du -sh /oracle1
A systems administrator wants to test the route between IP address 10.0.2.15 and IP address 192.168.1.40. Which of the following commands will accomplish this task?
A. route -e get to 192.168.1.40 from 10.0.2.15
B. ip route get 192.163.1.40 from 10.0.2.15
C. ip route 192.169.1.40 to 10.0.2.15
D. route -n 192.168.1.40 from 10.0.2.15
A Linux administrator is adding a new configuration file to a Git repository. Which of the following describes the correct order of Git commands to accomplish the task successfully?
A. pull -> push -> add -> checkout
B. pull -> add -> commit -> push
C. checkout -> push -> add -> pull
D. pull -> add -> push -> commit
A Linux administrator is providing a new Nginx image from the registry to local cache. Which of the following commands would allow this to happen?
A. docker pull nginx
B. docker attach nginx
C. docker commit nginx
D. docker import nginx
While inspecting a recently compromised Linux system, the administrator identified a number of processes that should not have been running:Which of the following commands should the administrator use to terminate all of the identified processes?
A. pkill -9 -f “upload*.sh”
B. kill -9 “upload*.sh”
C. killall -9 “upload*.sh”
D. skill -9 “upload*.sh”
Access Full XK0-005 Dump Free
Looking for even more practice questions? Click here to access the complete XK0-005 Dump Free collection, offering hundreds of questions across all exam objectives.
We regularly update our content to ensure accuracy and relevance—so be sure to check back for new material.
Begin your certification journey today with our XK0-005 dump free questions — and get one step closer to exam success!