exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 39 discussion

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

A systems administrator wants to test the route between IP address 10.0.2.15 and IP address 192.168.1.40. Which of the following commands will accomplish this task?

  • A. route -e get to 192.168.1.40 from 10.0.2.15
  • B. ip route get 192.163.1.40 from 10.0.2.15
  • C. ip route 192.169.1.40 to 10.0.2.15
  • D. route -n 192.168.1.40 from 10.0.2.15
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Lwarder1
Highly Voted 2 years, 3 months ago
Can someone please explain whey the answer is ip route get 192.163.1.40 from 10.0.2.15 and not either A or D? Where id d192.163.1.40 even come from?
upvoted 5 times
NastyNutsu
2 months ago
A. this syntax is incorrect B. this is correct syntax, but 192.163.1.40 should be 192.168.1.10 C. incorrect syntax D. this is also incorrect syntax ip route get 192.168.1.40 from 10.0.2.15 is the answer assuming 163 is a typo (should be ...168...).
upvoted 1 times
...
...
JRS99
Most Recent 3 months, 2 weeks ago
Selected Answer: B
Answer B is the most up to date option.
upvoted 1 times
...
clair12
6 months, 1 week ago
Selected Answer: D
as mikefnt said B has the wrong IP
upvoted 1 times
...
MikeFNT123
7 months, 1 week ago
Answer is D B displays the wrong IP. I didn't see it at first either...
upvoted 2 times
...
e418137
1 year, 2 months ago
Selected Answer: B
"Test the route" is generic. Both B & D are correct, but `ip` supplants `route`. IOW, the `net-tools` suite (containing `route`) is becoming or has become deprecated by the `iproute2` suite (containing `ip`) in mainstream Linux distributions.
upvoted 2 times
...
sademik
1 year, 2 months ago
Selected Answer: D
Answer is D
upvoted 1 times
...
mutawakil
1 year, 4 months ago
A. route -e get to 192.168.1.40 from 10.0.2.15 Here's why: route -e: This flag displays the effective routing table, including both static and dynamic routes currently in use. get to: This specifies the type of information to retrieve, in this case, the route to the destination IP address. 192.168.1.40: This is the destination IP address for which you want to test the route. from 10.0.2.15: This specifies the source IP address from which the route test will be initiated.
upvoted 2 times
...
angellorv
2 years ago
command format: ip route get [destination ip address] from [origin ip address] The get argument is equivalent to sending a packet along this path. Answer B is using the correct command and I think 192.163.1.40 is a simple mistake
upvoted 2 times
...
POGActual
2 years, 1 month ago
I dont know if the wrong IP Address was included on purpose, but neither B or C can be correct in the current format. The incorrect IP is present in the answer.
upvoted 3 times
...
linux_admin
2 years, 2 months ago
B. ip route get 192.168.1.40 from 10.0.2.15 The "ip route get" command is used to display the path that packets take to reach a specific network host, in this case, 192.168.1.40, from the source IP address 10.0.2.15. This command will show the routing table entries used to determine the path of the packets.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago