Pre-Winter Sale Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: big60

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
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
Josephine
I want to ask about their study material and Customer support? Can anybody guide me?
Zayd Oct 15, 2025
Yes, the dumps or study material provided by them are authentic and up to date. They have a dedicated team to assist students and make sure they have a positive experience.
Ernest
That's amazing. I think I'm going to give Cramkey Dumps a try for my next exam. Thanks for telling me about them! CramKey admin please share more questions……You guys are amazing.
Nate Oct 6, 2025
I failed last week, I never know this site , but amazed to see all these questions were in my exam week before. I feel bad now, why I didn’t bother this site. Thanks Cramkey, Excellent Job.
Annabel
I recently used them for my exam and I passed it with excellent score. I am impressed.
Amirah Oct 27, 2025
I passed too. The questions I saw in the actual exam were exactly the same as the ones in the Cramkey Dumps. I was able to answer the questions confidently because I had already seen and studied them.
Hassan
Highly Recommended Dumps… today I passed my exam! Same questions appear. I bought Full Access.
Kasper Oct 17, 2025
Hey wonderful….so same questions , sounds good. Planning to write this week, I will go for full access today.
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

$42  $104.99

XK0-005 Testing Engine

$50  $124.99

XK0-005 PDF + Testing Engine

$66  $164.99