Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam LFCS topic 1 question 206 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 206
Topic #: 1
[All LFCS Questions]

Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)

  • A. resolv
  • B. dns
  • C. remote
  • D. files
  • E. hosts
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
9866666
1 week, 5 days ago
Selected Answer: BD
The correct answers are: B. dns D. files Explanation: The /etc/nsswitch.conf file controls the order in which different sources are consulted for various types of information, including hostnames. Here's how the keywords you mentioned are used: dns: Specifies that the Domain Name System (DNS) should be used for hostname resolution. files: Specifies that the /etc/hosts file (or its equivalent) should be checked for hostname mappings. The other options are not valid sources for host name lookups in /etc/nsswitch.conf: resolv: While related to DNS resolution, it's not a keyword used directly in nsswitch.conf. remote: This is not a standard keyword in nsswitch.conf. hosts: While the /etc/hosts file is used for hostname lookups, the keyword is files in nsswitch.conf.
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 ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in