PrepAway - Latest Free Exam Questions & Answers

When the NIS service is functioning, what happens if a host name is looked up?

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.)

PrepAway - Latest Free Exam Questions & Answers

A.
If an entry exists in the NIS database, the lookup always succeeds.

B.
If an entry exists in /etc/inet/hosts, the lookup always succeeds.

C.
If an entry does NOT exist in the NIS database, the lookup always fails.

D.
If an entry exists in /etc/inet/ipnodes, the lookup always succeeds.

E.
If an entry does NOT exist in /etc/inet/hosts, the lookup always fails.

F.
If an entry does NOT exist in either NIS or /etc/inet/ipnodes, the lookup always fails.

One Comment on “When the NIS service is functioning, what happens if a host name is looked up?


Leave a Reply