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

CompTIA Updated XK0-005 Exam Questions and Answers by tamara

Page: 5 / 36

CompTIA XK0-005 Exam Overview :

Exam Name: CompTIA Linux+ Exam
Exam Code: XK0-005 Dumps
Vendor: CompTIA Certification: Linux+
Questions: 487 Q&A's Shared By: tamara
Question 20

A developer is unable to access a Linux server via SSH. Given the following output:

SSH server configuration (/etc/ssh/sshd_config):

PermitRootLogin no

PubkeyAuthentication yes

PasswordAuthentication yes

GSSAPIAuthentication yes

X11Forwarding no

User Information (/etc/passwd):

developer:x:1000:1000:comptia:/home/developer:/bin/bash

User Shadow File (/etc/shadow):

developer:!!::0:99999:7:::

Which of the following explains why the developer is unable to log in to the server?

Options:

A.

The developer’s private key has been deleted from the server.

B.

The developer's account has been locked out.

C.

The developer's public key is in the wrong location.

D.

SSH has been disabled for user log-in.

Discussion
Georgina
I used Cramkey Dumps to prepare for my recent exam and I have to say, they were a huge help.
Corey Apr 15, 2026
Really? How did they help you? I know these are the same questions appears in exam. I will give my try. But tell me if they also help in some training?
Marley
Hey, I heard the good news. I passed the certification exam!
Jaxson Apr 12, 2026
Yes, I passed too! And I have to say, I couldn't have done it without Cramkey Dumps.
Anya
I must say they're considered the best dumps available and the questions are very similar to what you'll see in the actual exam. Recommended!!!
Cassius Apr 19, 2026
Yes, they offer a 100% success guarantee. And many students who have used them have reported passing their exams with flying colors.
Hassan
Highly Recommended Dumps… today I passed my exam! Same questions appear. I bought Full Access.
Kasper Apr 23, 2026
Hey wonderful….so same questions , sounds good. Planning to write this week, I will go for full access today.
Question 21

A network administrator issues the dig ww. comptia. org command and receives an NXDOMAIN response. Which of the following files should the administrator check first?

Options:

A.

/etc/resolv.conf

B.

/etc/hosts

C.

/etc/sysconfig/network-scripts

D.

/etc/nsswitch.conf

Discussion
Question 22

A DevOps engineer pushed the updated configuration to an existing branch of a remote Git repository. Which of the following commands should the Linux administrator use to obtain these configuration changes?

Options:

A.

git pull

B.

git log

C.

git fetch

D.

git checkout main

Discussion
Question 23

A Linux administrator needs to deploy an Apache web server in a container. In addition, the container needs to run in the background, and the web server needs to be exposed on port 8080 of the host machine. Which of the following commands will satisfy these requirements?

Options:

A.

sudo docker run -b -t -p 8080:80 --name mywebserver httpd

B.

sudo docker run -d -t -p 8080:80 --name myweb httpd

C.

sudo docker run -d -t -p 80:8080 --name myweb httpd

D.

sudo docker run -b -t -p 80:8080 --name mywebserver httpd

Discussion
Page: 5 / 36
Title
Questions
Posted

XK0-005
PDF

$36.75  $104.99

XK0-005 Testing Engine

$43.75  $124.99

XK0-005 PDF + Testing Engine

$57.75  $164.99