JAVA/Sun Exam Questions

Which command do you use to search the NIS map for the hosts IP address?

You are using a client system in your organizations NIS domain and you need to find the IP address for the host host1 which you know is in the NIS map hosts.byname. Which command do you use to search the NIS map for the hosts IP address?

A.
ypgrep host1 hosts.byname

B.
ypmatch host1 hosts.byname

C.
ypsearch host1 hosts.byname

D.
yplookup host1 hosts.byname