102-500 Exam QuestionsBrowse all questions from this exam

102-500 Exam - Question 97


Which of the following keywords can be used in the file /etc/resolv/conf? (Choose two.)

Show Answer
Correct Answer: CD

The /etc/resolv.conf file is used to configure DNS resolver settings on Linux systems. The keywords that can be used in this file include 'search' and 'nameserver'. The 'search' keyword is used to specify the domain search list, while the 'nameserver' keyword is used to specify the DNS server addresses.

Discussion

4 comments
Sign in to comment
phucpeta
Apr 14, 2021

mistake on question , i think file is /etc/resolv.conf but answer is correct

tranhoangsonOptions: CD
Sep 27, 2020

root@son:~# cat /etc/resolv.conf | tail -n3 nameserver 127.0.0.53 options edns0 search mshome.net root@son:~#

georgerobel
Feb 26, 2021

The answer is correct.

DHGY13
Feb 4, 2022

The question should /etc/resolv.conf not /etc/resolv/conf