Pre-Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65pass65

XK0-005 CompTIA Linux+ Exam is now Stable and With Pass Result | Test Your Knowledge for Free

Exams4sure Dumps

XK0-005 Practice Questions

CompTIA Linux+ Exam

Last Update 7 hours ago
Total Questions : 487

Dive into our fully updated and stable XK0-005 practice test platform, featuring all the latest Linux+ exam questions added this week. Our preparation tool is more than just a CompTIA study aid; it's a strategic advantage.

Our free Linux+ practice questions crafted to reflect the domains and difficulty of the actual exam. The detailed rationales explain the 'why' behind each answer, reinforcing key concepts about XK0-005. Use this test to pinpoint which areas you need to focus your study on.

XK0-005 PDF

XK0-005 PDF (Printable)
$43.75
$124.99

XK0-005 Testing Engine

XK0-005 PDF (Printable)
$50.75
$144.99

XK0-005 PDF + Testing Engine

XK0-005 PDF (Printable)
$63.7
$181.99
Question # 91

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?

Options:

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/

Discussion 0
Question # 92

A systems administrator wants to be sure the sudo rules just added to /etc/sudoers are valid. Which of the following commands can be used for this task?

Options:

A.  

visudo -c

B.  

test -f /etc/sudoers

C.  

sudo vi check

D.  

cat /etc/sudoers | tee test

Discussion 0
Question # 93

An administrator transferred a key for SSH authentication to a home directory on a remote server. The key file was moved to .ssh/authorized_keys location in order to establish SSH connection without a password. However, the SSH command still asked for the password. Given the following output:

Which of the following commands would resolve the issue?

Options:

A.  

restorecon .ssh/authorized_keys

B.  

ssh_keygen -t rsa -o .ssh/authorized_keys

C.  

chown root:root .ssh/authorized_keys

D.  

chmod 600 .ssh/authorized_keys

Discussion 0
Question # 94

A cloud engineer is installing packages during VM provisioning. Which of the following should the engineer use to accomplish this task?

Options:

A.  

Cloud-init

B.  

Bash

C.  

Docker

D.  

Sidecar

Discussion 0
Question # 95

A systems administrator configured firewall rules using firewalld. However, after the system is rebooted, the firewall rules are not present:

The systems administrator makes additional checks:

Which of the following is the reason the firewall rules are not active?

Options:

A.  

iptables is conflicting with firewalld.

B.  

The wrong system target is activated.

C.  

FIREWALL_ARGS has no value assigned.

D.  

The firewalld service is not enabled.

Discussion 0
Question # 96

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:

Based on the above outputs, which of the following is the MOST likely action the administrator should take to resolve this issue?

Options:

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.

Discussion 0
Question # 97

A systems administrator is checking the system logs. The administrator wants to look at the last 20 lines of a log. Which of the following will execute the command?

Options:

A.  

tail -v 20

B.  

tail -n 20

C.  

tail -c 20

D.  

tail -l 20

Discussion 0
Question # 98

A junior systems administrator has just generated public and private authentication keys for passwordless login. Which of the following files will be moved to the remote servers?

Options:

A.  

id_dsa.pem

B.  

id_rsa

C.  

id_ecdsa

D.  

id_rsa.pub

Discussion 0
Question # 99

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

Options:

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

Discussion 0
Question # 100

A Linux administrator was tasked with deleting all files and directories with names that are contained in the sobelete.txt file. Which of the following commands will accomplish this task?

Options:

A.  

xargs -f cat toDelete.txt -rm

B.  

rm -d -r -f toDelete.txt

C.  

cat toDelete.txt | rm -frd

D.  

cat toDelete.txt | xargs rm -rf

Discussion 0
Get XK0-005 dumps and pass your exam in 24 hours!

Free Exams Sample Questions