exam questions

Exam 102-500 All Questions

View all questions & answers for the 102-500 exam

Exam 102-500 topic 1 question 6 discussion

Actual exam question from LPI's 102-500
Question #: 6
Topic #: 1
[All 102-500 Questions]

Which of the following statements is valid in the file /etc/nsswitch.conf?

  • A. multi on
  • B. 192.168.168.4 dns-server
  • C. namespaces: net mount procs
  • D. include /etc/nsswitch.d/
  • E. hosts: files dns
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

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
molotov
Highly Voted 2 years, 9 months ago
Selected Answer: E
INFO: the hosts section in /etc/nsswitch.conf ist to define the search order for name resolution.
upvoted 5 times
...
Detroit_Pythonista
Most Recent 2 weeks, 2 days ago
It is listed in the LPIC study guide
upvoted 1 times
...
Janec20
3 years ago
hosts: files dns myhostname
upvoted 3 times
...
CuriousLinuxCat
3 years, 4 months ago
The closest example to which E will make sense in terms of structuring: Here is an example /etc/nsswitch.conf file: passwd: compat group: compat shadow: compat hosts: dns [!UNAVAIL=return] files networks: nis [NOTFOUND=return] files ethers: nis [NOTFOUND=return] files protocols: nis [NOTFOUND=return] files rpc: nis [NOTFOUND=return] files services: nis [NOTFOUND=return] files
upvoted 3 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 ...