exam questions

Exam XK0-004 All Questions

View all questions & answers for the XK0-004 exam

Exam XK0-004 topic 1 question 106 discussion

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

A systems administrator is unable to reach other devices on the network and the Internet. The server is configured with the IP address 192.169.1.50/24 on eth0.
The server's router is 192.168.1.1. The administrator reviews the output of route `"n:

Which of the following commands should the administrator run to correct the issue?

  • A. route del default gw 192.168.2.1 eth0; route add default gw 192.168.1.1 eth0
  • B. route add ג€"net 192.168.10.0 netmask 255.255.255.0 gw 192.168.2.1 eth0
  • C. route add 192.168.1.1 default 192.168.1.50 eth0
  • D. route host gw 192.168.1.1 eth0
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Denjarus
2 years, 7 months ago
Selected Answer: A
You have to delete the existing default gateway, then add the new default gateway.
upvoted 2 times
...
augustogcn
3 years, 2 months ago
https://www.wikihow.com/Add-or-Change-the-Default-Gateway-in-Linux
upvoted 2 times
NJSoutltaker
2 years, 7 months ago
Yes A is the correct answer. You have to delete the existing default gateway, then add the new default gateway.
upvoted 2 times
...
...
Mas511
3 years, 7 months ago
This is odd as the server's router and the server are in different subnets.
upvoted 1 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