Practice Test Free
  • QUESTIONS
  • COURSES
    • CCNA
    • Cisco Enterprise Core
    • VMware vSphere: Install, Configure, Manage
  • CERTIFICATES
No Result
View All Result
  • Login
  • Register
Quesions Library
  • Cisco
    • 200-301
    • 200-901
      • Multiple Choice
      • Drag Drop
    • 350-401
      • Multiple Choice
      • Drag Drop
    • 350-701
    • 300-410
      • Multiple Choice
      • Drag Drop
    • 300-415
      • Multiple Choice
      • Drag Drop
    • 300-425
    • Others
  • AWS
    • CLF-C02
    • SAA-C03
    • SAP-C02
    • ANS-C01
    • Others
  • Microsoft
    • AZ-104
    • AZ-204
    • AZ-305
    • AZ-900
    • AI-900
    • SC-900
    • Others
  • CompTIA
    • SY0-601
    • N10-008
    • 220-1101
    • 220-1102
    • Others
  • Google
    • Associate Cloud Engineer
    • Professional Cloud Architect
    • Professional Cloud DevOps Engineer
    • Others
  • ISACA
    • CISM
    • CRIS
    • Others
  • LPI
    • 101-500
    • 102-500
    • 201-450
    • 202-450
  • Fortinet
    • NSE4_FGT-7.2
  • VMware
  • >>
    • Juniper
    • EC-Council
      • 312-50v12
    • ISC
      • CISSP
    • PMI
      • PMP
    • Palo Alto Networks
    • RedHat
    • Oracle
    • GIAC
    • F5
    • ITILF
    • Salesforce
Contribute
Practice Test Free
  • QUESTIONS
  • COURSES
    • CCNA
    • Cisco Enterprise Core
    • VMware vSphere: Install, Configure, Manage
  • CERTIFICATES
No Result
View All Result
Practice Test Free
No Result
View All Result
Home Practice Test Free

XK0-005 Practice Test Free

Table of Contents

Toggle
  • XK0-005 Practice Test Free – 50 Real Exam Questions to Boost Your Confidence
  • Free Access Full XK0-005 Practice Test Free Questions

XK0-005 Practice Test Free – 50 Real Exam Questions to Boost Your Confidence

Preparing for the XK0-005 exam? Start with our XK0-005 Practice Test Free – a set of 50 high-quality, exam-style questions crafted to help you assess your knowledge and improve your chances of passing on the first try.

Taking a XK0-005 practice test free is one of the smartest ways to:

  • Get familiar with the real exam format and question types
  • Evaluate your strengths and spot knowledge gaps
  • Gain the confidence you need to succeed on exam day

Below, you will find 50 free XK0-005 practice questions to help you prepare for the exam. These questions are designed to reflect the real exam structure and difficulty level. You can click on each Question to explore the details.

Question 1

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

 


Suggested Answer: C

Community Answer: C

 

Question 2

A systems administrator needs to clone the partition /dev/sdc1 to /dev/sdd1. Which of the following commands will accomplish this task?

A. tar -cvzf /dev/sdd1 /dev/sdc1

B. rsync /dev/sdc1 /dev/sdd1

C. dd if=/dev/sdc1 of=/dev/sdd1

D. scp /dev/sdc1 /dev/sdd1

 


Suggested Answer: C

Community Answer: C

 

Question 3

A systems administrator has been tasked with disabling the nginx service from the environment to prevent it from being automatically and manually started. Which of the following commands will accomplish this task?

A. systemctl cancel nginx

B. systemctl disable nginx

C. systemctl mask nginx

D. systemctl stop nginx

 


Suggested Answer: C

Community Answer: C

 

Question 4

A Linux administrator is alerted to a storage capacity issue on a server without a specific mount point or directory. Which of the following commands would be MOST helpful for troubleshooting? (Choose two.)

A. parted

B. df

C. mount

D. du

E. fdisk

F. dd

G. ls

 


Suggested Answer: BD

Community Answer: BD

 

Question 5

Which of the following commands will display the operating system?

A. uname -n

B. uname -s

C. uname -o

D. uname -m

 


Suggested Answer: C

Community Answer: C

 

Question 6

Based on the given command:
find /home/user1 -type f -name "*.txt" -size +100M
Which of the following will the command accomplish?

A. It finds all the files ending with .txt with a size less than 100MB in /home/user1 directory.

B. It finds all the files ending with .txt with a size of 100MB in /home/user1 directory.

C. It finds all the directories with .txt files with a size of 100MB in /home folder.

D. It finds all the files ending with .txt with a size of over 100MB in /home/user1 directory.

 


Suggested Answer: D

Community Answer: D

 

Question 7

One leg of an LVM-mirrored volume failed due to the underlying physical volume, and a systems administrator is troubleshooting the issue. The following output has been provided:
 Image
Given this scenario, which of the following should the administrator do to recover this volume?

A. Reboot the server. The volume will automatically go back to linear mode.

B. Replace the failed drive and reconfigure the mirror.

C. Reboot the server. The volume will revert to stripe mode.

D. Recreate the logical volume.

 


Suggested Answer: B

Community Answer: B

 

Question 8

In order to copy data from another VLAN, a systems administrator wants to temporarily assign IP address 10.0.6.5/24 to the newly added network interface enpls0f1. Which of the following commands should the administrator run to achieve the goal?

A. ip addr add 10.0.6.5/24 dev enpls0f1

B. echo “IPV4_ADDRESS=10.0.6.5/24” > /etc/sysconfig/network-scripts/ifcfg-enpls0f1

C. ifconfig 10.0.6.5/24 enpsls0f1

D. nmcli conn add ipv4.address=10.0.6.5/24 if name snpls0f1

 


Suggested Answer: A

Community Answer: A

 

Question 9

A Linux administrator is troubleshooting an issue in which an application service failed to start on a Linux server. The administrator runs a few commands and gets the following outputs:
 Image
Based on the above outputs, which of the following is the MOST likely action the administrator should take to resolve this issue?

A. Enable the logsearch.service and restart the service.

B. Increase the TimeoutStartUSec configuration for the logsearch.sevice.

C. Update the OnCalendar configuration to schedule the start of the logsearch.service.

D. Update the KillSignal configuration for the logsearch.service to use TERM.

 


Suggested Answer: B

 

Question 10

A systems administrator is trying to track down a rogue process that has a TCP listener on a network interface for remote command-and-control instructions. Which of the following commands should the systems administrator use to generate a list of rogue process names? (Choose two.)

A. netstat -antp | grep LISTEN

B. lsof -iTCP | grep LISTEN

C. lsof -i:22 | grep TCP

D. netstat -a | grep TCP

E. nmap -p1-65535 | grep -i tcp

F. nmap -sS 0.0.0.0/0

 


Suggested Answer: AB

Community Answer: AB

 

Question 11

A user reported issues when trying to log into a Linux server. The following outputs were received:
 Image
Given the outputs above, which of the following is the reason the user is unable to log in to the server?

A. User1 needs to set a long password.

B. User1 is in the incorrect group.

C. The user1 shell assignment is incorrect.

D. The user1 password is expired.

 


Suggested Answer: B

Community Answer: B

 

Question 12

A systems administrator is tasked with setting up key-based SSH authentication. In which of the following locations should the administrator place the public keys for the server?

A. ~/.sshd/authkeys

B. ~/.ssh/keys

C. ~/.ssh/authorized_keys

D. ~/.ssh/keyauth

 


Suggested Answer: C

Community Answer: C

 

Question 13

A Linux administrator needs to determine whether a hostname is in the DNS. Which of the following would supply the information that is needed?

A. nslookup

B. rsynс

C. netstat

D. host

 


Suggested Answer: A

Community Answer: D

 

Question 14

User1 is a member of the accounting group. Members of this group need to be able to execute but not make changes to a script maintained by User2. The script should not be accessible to other users or groups. Which of the following will give proper access to the script?

A. chown user2:accounting script.shchmod 750 script.sh

B. chown user1:accounting script.shchmod 777 script.sh

C. chown accounting:user1 script.shchmod 057 script.sh

D. chown user2:accounting script.shchmod u+x script.sh

 


Suggested Answer: C

Community Answer: A

 

Question 15

A systems administrator detected corruption in the /data file system. Given the following output:
 Image
Which of the following commands can the administrator use to BEST address this issue?

A.
Image

B.
Image

C.
Image

D.
Image

 


Suggested Answer: C

Community Answer: C

 

Question 16

DRAG DROP -
As a Systems Administrator, to reduce disk space, you were tasked to create a shell script that does the following:
Add relevant content to /tmp/script.sh, so that it finds and compresses related files in /var/log without recursion.
INSTRUCTIONS:
Drag and drop snippets to fill the blanks to build a script that performs the actual compression of rotated log files.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.
 Image

 


Suggested Answer:
Correct Answer Image

 

Question 17

An administrator needs to get network information from a group of statically assigned workstations before they are reconnected to the network. Which of the following should the administrator use to obtain this information?

A. ip show

B. ifcfg -a

C. ifcfg -s

D. ifname -s

 


Suggested Answer: B

Community Answer: B

 

Question 18

A systems administrator made some unapproved changes prior to leaving the company. The newly hired administrator has been tasked with revealing the system to a compliant state. Which of the following commands will list and remove the correspondent packages?

A. dnf list and dnf remove last

B. dnf remove and dnf check

C. dnf info and dnf upgrade

D. dnf history and dnf history undo last

 


Suggested Answer: D

Community Answer: D

 

Question 19

The application team has reported latency issues that are causing the application to crash on the Linux server. The Linux administrator starts troubleshooting and receives the following output:
 Image
Which of the following commands will improve the latency issue?

A. # echo ‘net.core.net_backlog = 5000000’ >> /etc/sysctl.conf# sysctl -p# systemctl daemon-reload

B. # ifdown eth0# ip link set dev eth0 mtu 800# ifup eth0

C. # systemctl stop network# ethtool -g eth0 512# systemctl start network

D. # echo ‘net.core.rmem_max = 12500000’ >> /etc/sysctl.conf# echo ‘net.core.wmem_max = 12500000’ >> /etc/sysctl.conf# sysctl -p

 


Suggested Answer: D

Community Answer: D

 

Question 20

A systems administrator is deploying three identical, cloud-based servers. The administrator is using the following code to complete the task:
 Image
Which of the following technologies is the administrator using?

A. Ansible

B. Puppet

C. Chef

D. Terraform

 


Suggested Answer: D

 

Question 21

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:
 Image
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

 


Suggested Answer: B

Community Answer: B

 

Question 22

A user is asking the systems administrator for assistance with writing a script to verify whether a file exists. Given the following:
 Image
Which of the following commands should replace the  string?

A. if [ -f “$filename” ]; then

B. if [ -d “$filename” ]; then

C. if [ -f “$filename” ] then

D. if [ -f “$filename” ]; while

 


Suggested Answer: A

 

Question 23

Which of the following technologies can be used as a central repository of Linux users and groups?

A. LDAP

B. MFA

C. SSO

D. PAM

 


Suggested Answer: A

Community Answer: A

 

Question 24

Which of the following data structures is written in JSON?

A.
Image

B.
Image

C.
Image

D.
Image

 


Suggested Answer: D

Community Answer: D

 

Question 25

A Linux administrator was notified that a virtual server has an I/O bottleneck. The Linux administrator analyzes the following output:
 Image
Given there is a single CPU in the sever, which of the following is causing the slowness?

A. The system is running out of swap space.

B. The CPU is overloaded.

C. The memory is exhausted.

D. The processes are paging.

 


Suggested Answer: B

Community Answer: B

 

Question 26

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

 


Suggested Answer: C

 

Question 27

A junior administrator is trying to set up a passwordless SSH connection to one of the servers. The administrator follows the instructions and puts the key in the authorized_key file at the server, but the administrator is still asked to provide a password during the connection.
Given the following output:
 Image
Which of the following commands would resolve the issue and allow an SSH connection to be established without a password?

A. restorecon -rv .ssh/authorized_key

B. mv .ssh/authorized_key .ssh/authorized_keys

C. systemctl restart sshd.service

D. chmod 600 mv .ssh/authorized_key

 


Suggested Answer: B

Community Answer: B

 

Question 28

While inspecting a recently compromised Linux system, the administrator identified a number of processes that should not have been running:
 Image
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”

 


Suggested Answer: A

Community Answer: A

 

Question 29

An administrator runs ping comptia. org. The result of the command is:
ping: comptia.org: Name or service not known
Which of the following files should the administrator verify?

A. /etc/ethers

B. /etc/services

C. /etc/resolv.conf

D. /etc/sysctl.conf

 


Suggested Answer: C

Community Answer: C

 

Question 30

A systems administrator is troubleshooting connectivity issues and trying to find out why a Linux server is not able to reach other servers on the same subnet it is connected to. When listing link parameters, the following is presented:
 Image
Based on the output above, which of following is the MOST probable cause of the issue?

A. The address ac:00:11:22:33:cd is not a valid Ethernet address.

B. The Ethernet broadcast address should be ac:00:11:22:33:ff instead.

C. The network interface eth0 is using an old kernel module.

D. The network interface cable is not connected to a switch.

 


Suggested Answer: D

 

Question 31

A Linux engineer needs to create a custom script, cleanup.sh, to run at boot as part of the system services. Which of the following processes would accomplish this task?

A. Create a unit file in the /etc/default/ directory.systemctl enable cleanupsystemctl is-enabled cleanup

B. Create a unit file in the /etc/ske1/ directory.systemctl enable cleanupsystemctl is-enabled cleanup

C. Create a unit file in the /etc/systemd/system/ directory.systemctl enable cleanupsystemctl is-enabled cleanup

D. Create a unit file in the /etc/sysctl.d/ directory.systemctl enable cleanupsystemctl is-enabled cleanup

 


Suggested Answer: C

Community Answer: C

 

Question 32

Users are reporting that writes on a system configured with SSD drives have been taking longer than expected, but reads do not seem to be affected. A Linux systems administrator is investigating this issue and working on a solution. Which of the following should the administrator do to help solve the issue?

A. Run the corresponding command to trim the SSD drives.

B. Use fsck on the filesystem hosted on the SSD drives.

C. Migrate to high-density SSD drives for increased performance.

D. Reduce the amount of files on the SSD drives.

 


Suggested Answer: A

Community Answer: A

 

Question 33

A Linux administrator is scheduling a system job that runs a script to check available disk space every hour. The Linux administrator does not want users to be able to start the job. Given the following:
 Image
The Linux administrator attempts to start the timer service but receives the following error message:
 Image
Which of the following is MOST likely the reason the timer will not start?

A. The checkdiskspace.timer unit should be enabled via systemctl.

B. The timers.target should be reloaded to get the new configuration.

C. The checkdiskspace.timer should be configured to allow manual starts.

D. The checkdiskspace.timer should be started using the sudo command.

 


Suggested Answer: C

 

Question 34

A systems administrator wants to list all local accounts in which the UID is greater than 500. Which of the following commands will give the correct output?

A. find /etc/passwd -size +500

B. cut -d: -f1 /etc/passwd > 500

C. awk -F: ‘$3 > 500 {print $1}’ /etc/passwd

D. sed ‘/UID/’ /etc/passwd < 500

 


Suggested Answer: C

Community Answer: C

 

Question 35

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

 


Suggested Answer: B

Community Answer: C

 

Question 36

Which of the following directories is the mount point in a UEFI system?

A. /sys/efi

B. /boot/efi

C. /efi

D. /etc/efi

 


Suggested Answer: B

Community Answer: B

 

Question 37

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

 


Suggested Answer: C

Community Answer: C

 

Question 38

A systems administrator is compiling a report containing information about processes that are listening on the network ports of a Linux server. Which of the following commands will allow the administrator to obtain the needed information?

A. ss -plnt

B. tcpdump -nL

C. netstat -pn

D. lsof -lt

 


Suggested Answer: C

Community Answer: A

 

Question 39

A systems administrator is tasked with creating a cloud-based server with a public IP address.
The code is as follows:
 Image
Which of the following technologies did the systems administrator use to complete this task?

A. Puppet

B. Git

C. Ansible

D. Terraform

 


Suggested Answer: D

Community Answer: C

 

Question 40

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

 


Suggested Answer: A

Community Answer: A

 

Question 41

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.

 


Suggested Answer: A

Community Answer: A

 

Question 42

The applications team is reporting issues when trying to access the web service hosted in a Linux system. The Linux systems administrator is reviewing the following outputs:
Output 1:
 Image
Output 2:
 Image
Which of the following statements best describe the root cause? (Choose two.)

A. The httpd service is currently started.

B. The httpd service is enabled to auto start at boot time, but it failed to start.

C. The httpd service was manually stopped.

D. The httpd service is not enabled to auto start at boot time.

E. The httpd service runs without problems.

F. The httpd service did not start during the last server reboot.

 


Suggested Answer: DF

Community Answer: DF

 

Question 43

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

 


Suggested Answer: B

Community Answer: B

 

Question 44

SIMULATION -
Junior system administrator had trouble installing and running an Apache web server on a Linux server. You have been tasked with installing the Apache web server on the Linux server and resolving the issue that prevented the junior administrator from running Apache.
INSTRUCTIONS -
Install Apache and start the service. Verify that the Apache service is running with the defaults.
Typing “help” in the terminal will show a list of relevant event commands.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.
 Image

 


Suggested Answer: yum install httpdsystemctl –now enable httpdsystemctl status httpdnetstat -tunlp | grep 80pkill systemctl restart httpdsystemctl status httpd

 

Question 45

A newly created container has been unable to start properly, and a Linux administrator is analyzing the cause of the failure. Which of the following will allow the administrator to determine the FIRST command that is executed inside the container right after it starts?

A. docker export

B. docker info

C. docker start

D. docker inspect

 


Suggested Answer: D

Community Answer: D

 

Question 46

A Linux administrator booted up the server and was presented with a non-GUI terminal. The administrator ran the command systemctl isolate graphical.target and rebooted the system by running systemctl reboot, which fixed the issue. However, the next day the administrator was presented again with a non-GUI terminal. Which of the following is the issue?

A. The administrator did not reboot the server properly.

B. The administrator did not set the default target to basic.target.

C. The administrator did not set the default target to graphical.target.

D. The administrator did not shut down the server properly.

 


Suggested Answer: C

 

Question 47

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

 


Suggested Answer: B

Community Answer: B

 

Question 48

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

 


Suggested Answer: C

Community Answer: C

 

Question 49

A systems administrator requires that all files that are created by the user named web have read-only permissions by the owner. Which of the following commands will satisfy this requirement?

A. chown web:web /home/web

B. chmod -R 400 /home/web

C. echo “umask 377” >> /home/web/.bashrc

D. setfacl read /home/web

 


Suggested Answer: B

Community Answer: C

 

Question 50

Developers have requested implementation of a persistent, static route on the application server. Packets sent over the interface eth0 to 10.0.213.5/32 should be routed via 10.0.5.1. Which of the following commands should the administrator run to achieve this goal?

A. route -i etho -p add 10.0.213.5 10.0.5.1

B. route modify eth0 +ipv4.routes “10.0.213.5/32 10.0.5.1”

C. echo “10.0.213.5 10.0.5.1 eth0” > /proc/net/route

D. ip route add 10.0.213.5/32 via 10.0.5.1 dev eth0

 


Suggested Answer: D

Community Answer: D

 

Free Access Full XK0-005 Practice Test Free Questions

If you’re looking for more XK0-005 practice test free questions, click here to access the full XK0-005 practice test.

We regularly update this page with new practice questions, so be sure to check back frequently.

Good luck with your XK0-005 certification journey!

Share18Tweet11
Previous Post

XK0-004 Practice Test Free

Next Post

101 Practice Questions Free

Next Post

101 Practice Questions Free

101-500 Practice Questions Free

102-500 Practice Questions Free

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recommended

Network+ Practice Test

Comptia Security+ Practice Test

A+ Certification Practice Test

Aws Cloud Practitioner Exam Questions

Aws Cloud Practitioner Practice Exam

Comptia A+ Practice Test

  • About
  • DMCA
  • Privacy & Policy
  • Contact

PracticeTestFree.com materials do not contain actual questions and answers from Cisco's Certification Exams. PracticeTestFree.com doesn't offer Real Microsoft Exam Questions. PracticeTestFree.com doesn't offer Real Amazon Exam Questions.

  • Login
  • Sign Up
No Result
View All Result
  • Quesions
    • Cisco
    • AWS
    • Microsoft
    • CompTIA
    • Google
    • ISACA
    • ECCouncil
    • F5
    • GIAC
    • ISC
    • Juniper
    • LPI
    • Oracle
    • Palo Alto Networks
    • PMI
    • RedHat
    • Salesforce
    • VMware
  • Courses
    • CCNA
    • ENCOR
    • VMware vSphere
  • Certificates

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.