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 2 Question 31 Discussion

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

A Linux user reported the following error after trying to connect to the system remotely:

ssh: connect to host 10.0.1.10 port 22: Resource temporarily unavailable

The Linux systems administrator executed the following commands in the Linux system while trying to diagnose this issue:

Which of the following commands will resolve this issue?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

0/2000 characters
Evangelina
3 months ago
I disagree, A is too vague. C is the best option here!
upvoted 0 times
...
Eva
3 months ago
Wait, can you really use port 22 for UDP? That seems off.
upvoted 0 times
...
Glory
3 months ago
I think A could work too, but C seems more specific.
upvoted 0 times
...
Tawna
4 months ago
Definitely C! Adding SSH is the way to go.
upvoted 0 times
...
Leigha
4 months ago
Looks like a firewall issue.
upvoted 0 times
...
Kenneth
4 months ago
I’m a bit confused about the difference between adding a service and adding a port. I wonder if option D could also work, but I think it’s less likely.
upvoted 0 times
...
Torie
4 months ago
I practiced a similar question, and I feel like enabling and restarting the firewall is important, but I can't recall if it's the right command here.
upvoted 0 times
...
Ressie
4 months ago
I think option C makes sense since it specifically mentions adding the SSH service, which is what we need for port 22.
upvoted 0 times
...
Kyoko
5 months ago
I remember something about configuring the firewall for SSH access, but I'm not sure if it's option C or A.
upvoted 0 times
...
Jutta
5 months ago
Ah, I see. The firewall-cmd commands look like the way to go. I'll make sure to add the SSH service to the public zone.
upvoted 0 times
...
Regenia
5 months ago
I think the key here is to enable the firewall service and then add the SSH service to the public zone. That should resolve the connectivity problem.
upvoted 0 times
...
Leeann
5 months ago
I'm a bit confused here. The question mentions the administrator ran some commands, but I'm not sure if those were the right ones to fix the issue.
upvoted 0 times
...
Helene
5 months ago
Okay, let me think this through. The error message says the resource is temporarily unavailable, so it's likely a firewall configuration problem.
upvoted 0 times
...
Kattie
5 months ago
Hmm, this looks like a firewall issue. I'll need to check the firewall settings to see if the SSH port is open.
upvoted 0 times
...
Audry
5 months ago
Hmm, I'm not entirely sure about this one. I'll need to think it through step-by-step to make sure I understand the implications.
upvoted 0 times
...
Socorro
5 months ago
Hmm, I'm a bit unsure about this one. The question is asking for the definition, so I'll need to make sure I really understand the concepts behind each answer choice.
upvoted 0 times
...
Fatima
10 months ago
Ah, the old 'Resource temporarily unavailable' error. Classic! I'd go with option C, as it's the most straightforward way to open up the firewall for SSH traffic.
upvoted 0 times
Flo
9 months ago
User 3: Agreed, option C seems like the best choice here.
upvoted 0 times
...
Chan
9 months ago
User 2: Yeah, that command should open up the firewall for SSH.
upvoted 0 times
...
Kayleigh
9 months ago
User 1: I think option C is the way to go.
upvoted 0 times
...
...
Rosann
10 months ago
This is a tricky one! I'm going to go with option C as well. It's always a good idea to double-check the firewall settings when troubleshooting remote connection issues.
upvoted 0 times
Hayley
8 months ago
User 4: Great, let's try that and see if it resolves the issue.
upvoted 0 times
...
Filiberto
8 months ago
User 3: That command should allow SSH connections through the firewall.
upvoted 0 times
...
Annelle
9 months ago
User 2: Agreed, let's go with firewall-cmd --zone=public --permanent --add-service=ssh.
upvoted 0 times
...
Shantell
10 months ago
User 1: I think option C is the right choice.
upvoted 0 times
...
...
Lillian
10 months ago
I think option C is the way to go. Adding the SSH service to the firewall's public zone should resolve the issue. The other options don't seem quite right.
upvoted 0 times
...
Kristal
11 months ago
Hmm, it seems like the issue is with the firewall. The error message indicates that the remote SSH connection is being blocked, so we need to open up the firewall for SSH traffic.
upvoted 0 times
Kiley
9 months ago
D: Command C is the correct one to allow SSH traffic through the firewall.
upvoted 0 times
...
Frank
10 months ago
C: Command A should work to resolve the issue by adding the SSH service to the firewall rules.
upvoted 0 times
...
Mattie
10 months ago
B: That should allow SSH traffic through the firewall and resolve the issue.
upvoted 0 times
...
Gearldine
10 months ago
B: I think command C might be the solution to allow SSH traffic through the firewall.
upvoted 0 times
...
Millie
10 months ago
A: Try running the command 'firewall-cmd --zone=public --permanent --add-service=ssh'
upvoted 0 times
...
Mammie
10 months ago
A: Try running command A to add the SSH service to the firewall rules.
upvoted 0 times
...
...
Carlee
11 months ago
I see your point, but I still think option A is the best choice because it specifically adds the service for SSH.
upvoted 0 times
...
Kirby
11 months ago
I disagree, I believe the correct answer is C) firewall-cmd --zone=public --permanent --add-service=ssh.
upvoted 0 times
...
Carlee
11 months ago
I think the answer is A) firewall-cmd --zone=public --permanent --add-service=22.
upvoted 0 times
...

Save Cancel