Prepare for the LPIC3 303 Security Test. Engage with flashcards and multiple-choice questions, complete with hints and detailed explanations. Ace your exam!

Multiple Choice

Which of the following database names can be used within a Name Service Switch (NSS) configuration file?

The name "host" is used within a Name Service Switch (NSS) configuration file as it refers to the mechanism that allows the operating system to retrieve information about hostnames and address resolution. It specifies how the system should look up host information, including whether it should consult local files, DNS, or other name resolution services. In a typical NSS configuration, entries like "hosts" determine the order in which these services are queried. For example, the configuration may begin by checking local files (like /etc/hosts) before querying DNS servers. This makes "host" a critical part of network configurations, allowing for efficient and flexible hostname resolution in a Unix-like operating system. While the other names listed, such as "service," "shadow," and "group," are also relevant in various contexts, they are not standard names for host resolution within the NSS configuration. Each serves different purposes; for example, "service" pertains to services that are running on the system, "shadow" relates to shadow passwords for user authentication, and "group" specifies group memberships. Therefore, these do not fulfill the specific role of host resolution that "host" does in the NSS configuration.

The name "host" is used within a Name Service Switch (NSS) configuration file as it refers to the mechanism that allows the operating system to retrieve information about hostnames and address resolution. It specifies how the system should look up host information, including whether it should consult local files, DNS, or other name resolution services.

In a typical NSS configuration, entries like "hosts" determine the order in which these services are queried. For example, the configuration may begin by checking local files (like /etc/hosts) before querying DNS servers. This makes "host" a critical part of network configurations, allowing for efficient and flexible hostname resolution in a Unix-like operating system.

While the other names listed, such as "service," "shadow," and "group," are also relevant in various contexts, they are not standard names for host resolution within the NSS configuration. Each serves different purposes; for example, "service" pertains to services that are running on the system, "shadow" relates to shadow passwords for user authentication, and "group" specifies group memberships. Therefore, these do not fulfill the specific role of host resolution that "host" does in the NSS configuration.