Which of the following is causing the issue?

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.
B . The search entry in the /etc/resolv.conf file is incorrect.
C . Wired connection 1 is offline.
D . No default route is defined.

Answer: D

Explanation:

The issue is caused by the lack of a default route defined in the /etc/sysconfig/network-scripts/ifcfg-enp0s3 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.

References: Configuring IP Networking with nmcli; Configuring IP Networking with ifcfg Files

Latest XK0-005 Dumps Valid Version with 136 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments