SUN
310-202 · Question #193
The host aubie has the following entry in its /etc/nsswitch.conf file (unrelated lines are omitted): hosts: nis [NOTFOUND=return] files Sun 310-202 Exam And the following in its /etc/inet/hosts…
The correct answer is E. The NIS map entry for aubie does NOT contain the loghost alias. See the full explanation below for the reasoning.
Question
The host aubie has the following entry in its /etc/nsswitch.conf file (unrelated lines are omitted):
hosts: nis [NOTFOUND=return] files Sun 310-202 Exam 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?
Options
- AThe getaliasbyname NIS map is missing.
- BThe Name Service Cache Daemon (nscd) is not running.
- CThe /etc/inet/hosts file contains spaces instead of tabs.
- DThe loghost variable is not defined in the /etc/syslog.conf file.
- EThe NIS map entry for aubie does NOT contain the loghost alias.
How the community answered
(55 responses)- A7% (4)
- B13% (7)
- C4% (2)
- D2% (1)
- E75% (41)
Community Discussion
No community discussion yet for this question.