PrepAway - Latest Free Exam Questions & Answers

What is the reason the user can NOT search and find the host 194.168.85.121?

A user on an NIS client is trying to search for a specific host in the NIS database. The user sees
the following error message when running the ypmatch command.

$ ypmatch 194.168.85.121 hosts
Can’t match key 194.168.85.121 in map hosts.byname.
Explanation: no such
key in map.
The ypcat hosts command on the client reveals the entry 194.168.85.121 hostA.

What is the reason the user can NOT search and find the host 194.168.85.121?

PrepAway - Latest Free Exam Questions & Answers

A.
The ypbind daemon was NOT running on the client.

B.
The /etc/nsswitch.conf file was NOT configured to search NIS.

C.
The ypmatch command should have used host.byaddr as its argument.

D.
The ypmatch command searches the /etc/inet/hosts file, because the argument
hosts was used instead of the more specific hosts.byname.

One Comment on “What is the reason the user can NOT search and find the host 194.168.85.121?


Leave a Reply