ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 91 - XK0-005 discussion

Report
Export

A systems administrator is investigating why one of the servers has stopped connecting to the internet.

Which of the following is causing the issue?

A.
The DNS address has been commented out in the configuration file.
Answers
A.
The DNS address has been commented out in the configuration file.
B.
The search entry in the /etc/resolv.conf file is incorrect.
Answers
B.
The search entry in the /etc/resolv.conf file is incorrect.
C.
Wired connection 1 is offline.
Answers
C.
Wired connection 1 is offline.
D.
No default route is defined.
Answers
D.
No default route is defined.
Suggested answer: D

Explanation:

The issue is caused by the lack of a default route defined in the /etc/sysconfig/network-scripts/ifcfgenp0s3 file. A default route is a special route that specifies where to send packets that do not match any other routes in the routing table. Without a default route, the server will not be able to communicate with hosts outside its local network. The default route is usually configured with the GATEWAY option in the network interface configuration file. For example, to set the default gateway to 192.168.1.1, the file should contain:

GATEWAY=192.168.1.1

The other options are not causing the issue. The DNS address is not commented out in the configuration file, it is specified with the DNS1 option. The search entry in the /etc/resolv.conf file is correct, it specifies the domain name to append to unqualified hostnames. Wired connection 1 is online, as indicated by the ONBOOT=yes option and the output of ip link show enp0s3 command. Reference: Configuring IP Networking with nmcli; Configuring IP Networking with ifcfg Files

asked 02/10/2024
Quratulain Damani
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first