The following questions will help you measure your understanding of the material presented in this chapter. Read all the choices carefully because there might be more than one correct answer. Choos all correct answers for each question.
1. | Which of the following files would a client use to determine which network service to use to g network information on a system that is running the NIS naming service?
|
|
2. | Solaris 10 ships with which DNS product?
|
|
3. | Which of the following are the four authorization classes of principals in NIS+ ?
|
|
4. | Which of the following is the daemon for the DNS service?
|
|
5. | Which of the following commands is used to set up an NIS slave server?
|
|
6. | Which of the following naming services are offered by Solaris 10?
|
|
7. | What is true about the NIS information databases?
|
|
8. | Which of the following is the naming service cache daemon?
|
|
9. | You have just added a new machine to the network, and you want to update the information on the NIS server accordingly. You added this information into the source file and now you want to convert this source file to the ndbm map. Which command would you execute on the server?
|
|
10. | Which of the following statements about the naming services are not correct?
|
|
Answers
1. | þ A. The nsswitch.conf file lists the naming services that can be used for a specific information type. ý B, C, and D are incorrect because these files are the templates, and if at install time you select to use a naming service corresponding to one of these files, that file will be copied to the nsswitch.conf file, E is incorrect because there is no such file as nsswitch.dns that the system presents. |
2. | þ B. Solaris 10 ships with BIND 9.x DNS server. ý C is incorrect because Solaris 10 ships with BIND 9.x and not with BIND 10.x. A and D are incorrect because there is no such product as DNS. |
3. | þ A. The four authorization classes in NIS+ are owner, group, world, and nobody. ý B and D are incorrect because there are no authorization classes named all and principal. C is incorrect because read, write, execute are permissions, not authorization classes. |
4. | þ C. The daemon that the DNS server runs is named. ý A and B are incorrect because there are no daemons named dnsd and nisd. D is incorrect because nscd is a naming service cache daemon. |
5. | þ D. You first set up a client with the ypinit -c command and then make it a slave server by using the ypinit -s command. ý A is incorrect because the ypinit -m command is used to set up a master server. B is incorrect because ypserv is an NIS server daemon, not a command to set up the NIS server. C is incorrect because there is no such command as nisadm. |
6. | þ C, D, and E.Solaris 10 supports NIS, NIS+, DNS, and LDAP. ý A and B are incorrect because Active Directory is the naming service supported on Windows and NDS is the directory service that is supported by various platforms even though it's not shipped with Solaris 10. |
7. | þ C. NIS contains information in ndbm files called maps. ý A, B, and D are incorrect because NIS databases are not text files and they are not called objects or tables. |
8. | þ A. The nscd daemon offers the cache service for the most common naming service requests. ý C is incorrect because named is the DNS daemon. B and D are incorrect because these are not correct names for the naming service cache daemon. |
9. | þ C. You would execute the make command, which automatically executes the makedbm and also uses the information from the Makefile. ý D is incorrect because ypserv is the NIS server daemon and is not the command to convert source files to maps. |
10. | þ B and D. These are false statements because a map created or updated on a primary server will be automatically pushed to the secondary servers, and resolver is not a command; rather, it's a collection of routines that help resolve the domain name. ý A and C are incorrect because these are true statements. |