SUN
310-202 · Question #190
Given these entries in /etc/nsswitch.conf: ipnodes: files [NOTFOUND=return] hosts: nis [NOTFOUND=return] files When the NIS service is functioning, what happens if a host name is looked up? (Choose…
The correct answer is A. If an entry exists in the NIS database, the lookup always succeeds. D. If an entry exists in /etc/inet/ipnodes, the lookup always succeeds. F. If an entry does NOT exist in either NIS or /etc/inet/ipnodes, the lookup always fails. See the full explanation below for the reasoning.
Question
Given these entries in /etc/nsswitch.conf:
ipnodes: files [NOTFOUND=return] hosts: nis [NOTFOUND=return] files When the NIS service is functioning, what happens if a host name is looked up? (Choose three.) Sun 310-202 Exam
Options
- AIf an entry exists in the NIS database, the lookup always succeeds.
- BIf an entry exists in /etc/inet/hosts, the lookup always succeeds.
- CIf an entry does NOT exist in the NIS database, the lookup always fails.
- DIf an entry exists in /etc/inet/ipnodes, the lookup always succeeds.
- EIf an entry does NOT exist in /etc/inet/hosts, the lookup always fails.
- FIf an entry does NOT exist in either NIS or /etc/inet/ipnodes, the lookup always fails.
How the community answered
(49 responses)- A73% (36)
- B14% (7)
- C4% (2)
- E8% (4)
Community Discussion
No community discussion yet for this question.