exam questions

Exam LX0-104 All Questions

View all questions & answers for the LX0-104 exam

Exam LX0-104 topic 5 question 10 discussion

Actual exam question from CompTIA's LX0-104
Question #: 10
Topic #: 5
[All LX0-104 Questions]

SIMULATION -
What is the name of the file that defines the sources (like DNS or local configuration files) and the order in which they are consulted when resolving hostnames?
(Specify the full name of the file, including path.)

Show Suggested Answer Hide Answer
Suggested Answer: /etc/nsswitch.conf

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
linux_admin
2 years, 2 months ago
The file that defines the sources and the order in which they are consulted when resolving hostnames is typically called /etc/nsswitch.conf.
upvoted 1 times
linux_admin
2 years, 2 months ago
/etc/nsswitch.conf is a configuration file that specifies the order in which various Name Service Switch (NSS) libraries are used to resolve different types of information. This file determines how the system should look up information such as hosts, services, and networks. It specifies the sources the system should use to look up this information, such as the local /etc/hosts file, a DNS server, or a NIS server, and the order in which the sources should be consulted. For example, the line "hosts: files dns" in /etc/nsswitch.conf indicates that the system should first look in the local /etc/hosts file for a hostname and IP address mapping, and then, if the information is not found there, it should query a DNS server. This allows administrators to customize the information resolution process to meet their specific needs.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago