JAVA/Sun Exam Questions

Which command will directly reference the Name Service switch file and verify that the return action

You are trying to isolate a DNS lookup problem. You suspect it is a bad entry in the Name Service switch file, so you are going to try a test query of the Name Service. Which command will directly reference the Name Service switch file and verify that the return actions are properly placed?

A.
ypcat

B.
getent

C.
nslookup

D.
ldaplist