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 # 81

A Linux system is getting an error indicating the root filesystem is full. Which of the following commands should be used by the systems administrator to resolve this issue? (Choose three.)

Options:

A.  

df -h /

B.  

fdisk -1 /dev/sdb

C.  

growpart /dev/mapper/rootvg-rootlv

D.  

pvcreate /dev/sdb

E.  

lvresize –L +10G -r /dev/mapper/rootvg-rootlv

F.  

lsblk /dev/sda

G.  

parted -l /dev/mapper/rootvg-rootlv

Discussion 0
Question # 82

A Linux administrator needs to correct the permissions of a log file on the server. Which of the following commands should be used to set filename.log permissions to -rwxr—r--. ?

Options:

A.  

chmod 755 filename.log

B.  

chmod 640 filename.log

C.  

chmod 740 filename.log

D.  

chmod 744 filename.log

Discussion 0
Question # 83

A Linux administrator wants to find out whether files from the wget package have been altered since they were installed. Which of the following commands will provide the correct information?

Options:

A.  

rpm -i wget

B.  

rpm -qf wget

C.  

rpm -F wget

D.  

rpm -V wget

Discussion 0
Question # 84

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?

Options:

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

Discussion 0
Question # 85

To harden one of the servers, an administrator needs to remove the possibility of remote administrative login via the SSH service. Which of the following should the administrator do?

Options:

A.  

Add the line DenyUsers root to the /etc/hosts.deny file.

B.  

Set PermitRootLogin to no in the /etc/ssh/sshd_config file.

C.  

Add the line account required pam_nologin. so to the /etc/pam.d/sshd file.

D.  

Set PubKeyAuthentication to no in the /etc/ssh/ssh_config file.

Discussion 0
Question # 86

A Linux administrator is troubleshooting the root cause of a high CPU load and average.

Which of the following commands will permanently resolve the issue?

Options:

A.  

renice -n -20 6295

B.  

pstree -p 6295

C.  

iostat -cy 1 5

D.  

kill -9 6295

Discussion 0
Question # 87

A Linux administrator needs to remove software from the server. Which of the following RPM options should be used?

Options:

A.  

rpm -s

B.  

rрm -d

C.  

rpm -q

D.  

rpm -e

Discussion 0
Question # 88

A developer is trying to install an application remotely that requires a graphical interface for installation. The developer requested assistance to set up the necessary environment variables along with X11 forwarding in SSH. Which of the following environment variables must be set in remote shell in order to launch the graphical interface?

Options:

A.  

$RHOST

B.  

SETENV

C.  

$SHELL

D.  

$DISPLAY

Discussion 0
Question # 89

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?

Options:

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

Discussion 0
Question # 90

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?

Options:

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

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

Free Exams Sample Questions