JAVA/Sun Exam Questions

Why is the loghost alias NOT displayed?

The host aubie has the following entry in its /etc/nsswitch.conf file (unrelated lines are omitted):
hosts: nis [NOTFOUND=return] files
And the following in its /etc/inet/hosts file:
#
# Internet host table
#
127.0.0.1 localhost
10.7.8.101 aubie loghost
Given the output of the following command:
# getent hosts aubie
10.7.8.101 aubie
Why is the loghost alias NOT displayed?

A.
The getaliasbyname NIS map is missing.

B.
The Name Service Cache Daemon (nscd) is not running.

C.
The /etc/inet/hosts file contains spaces instead of tabs.

D.
The loghost variable is not defined in the /etc/syslog.conf file.

E.
The NIS map entry for aubie does NOT contain the loghost alias.