New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA XK0-005 Exam - Topic 1 Question 58 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 58
Topic #: 1
[All XK0-005 Questions]

A systems engineer deploys a new application server, but the server cannot communicate with the back-end database hostname. The engineer confirms that the application server can ping the database server's IP address. Which of the following is the most likely cause of the issue?

Show Suggested Answer Hide Answer
Suggested Answer: A

If the application server can ping the database server by its IP address but not by its hostname, it indicates a DNS resolution issue. The most likely cause is incorrect DNS server configuration. The engineer should verify the DNS settings in /etc/resolv.conf or the network configuration.


Contribute your Thoughts:

0/2000 characters
Eloisa
1 month ago
I agree, the default gateway seems unlikely here.
upvoted 0 times
...
Myra
2 months ago
Wait, can it really be DNS if it can ping the IP?
upvoted 0 times
...
Mi
2 months ago
Definitely a subnet mask misconfiguration!
upvoted 0 times
...
Penney
2 months ago
I think it could be a routing problem.
upvoted 0 times
...
Leota
2 months ago
Sounds like a DNS issue to me.
upvoted 0 times
...
Cortney
3 months ago
I’m leaning towards incorrect DNS servers, but I wonder if a misconfigured subnet mask could also be the issue since they can affect communication too.
upvoted 0 times
...
Lasandra
3 months ago
I feel like missing route configuration could be a possibility, especially if the application server is on a different subnet.
upvoted 0 times
...
Percy
4 months ago
This reminds me of a practice question where the default gateway was unreachable, but I think that would affect more than just the database connection.
upvoted 0 times
...
Earlean
4 months ago
I remember something about DNS issues causing communication problems, but I'm not sure if that's the main cause here since the IP works.
upvoted 0 times
...
Latrice
4 months ago
This seems like a classic networking problem. I'll methodically go through the options and eliminate the less likely ones. Gotta love these troubleshooting questions!
upvoted 0 times
...
Asha
4 months ago
I've seen this type of problem before. My guess is that the DNS servers are misconfigured, preventing the app server from resolving the DB hostname. I'll start there and see if that fixes it.
upvoted 0 times
...
Leana
4 months ago
Okay, let's see. If the app server can ping the DB server's IP, then the issue is probably not with the default gateway or subnet mask. I'll dig into the DNS settings next.
upvoted 0 times
...
Alisha
5 months ago
Hmm, I'm a bit unsure about this one. I'll need to think through the troubleshooting steps carefully to make sure I don't miss anything.
upvoted 0 times
...
Ocie
5 months ago
This seems like a pretty straightforward networking issue. I'll focus on checking the DNS configuration first since that's the most likely culprit.
upvoted 0 times
...
Daren
5 months ago
Come on, guys! It's clearly the missing route configuration. The server can't find the way to the database.
upvoted 0 times
...
Bobbye
5 months ago
I'm not sure, but I think it could also be C) Missing route configuration. That could cause communication issues between the servers.
upvoted 0 times
...
Gary
5 months ago
I agree with Iraida. If the server can ping the IP address but not the hostname, it's probably a DNS issue.
upvoted 0 times
...
Lashawn
5 months ago
The issue is definitely a misconfigured subnet mask. That's the only logical explanation here.
upvoted 0 times
Tori
2 months ago
But the ping works, so it can't be that.
upvoted 0 times
...
Lura
2 months ago
I think it's more about the DNS servers.
upvoted 0 times
...
Royce
3 months ago
I agree, misconfigured subnet mask makes sense here.
upvoted 0 times
...
Jesus
3 months ago
Missing route configuration could also be a factor.
upvoted 0 times
...
...
Iraida
6 months ago
I think the most likely cause is A) Incorrect DNS servers.
upvoted 0 times
...

Save Cancel