nerdexam
CompTIACompTIA

XK0-005 · Question #338

XK0-005 Question #338: Real Exam Question with Answer & Explanation

The correct answer is B: /etc/rsolveconf. This question asks for the standard Linux file that contains DNS resolver configuration.

System Management

Question

Which of the following files would a junior systems administrator check to verify DNS server settings?

Options

  • A/etc/network
  • B/etc/rsolveconf
  • C/etc/nsswitch,conf
  • D/etc/hosts

Explanation

This question asks for the standard Linux file that contains DNS resolver configuration.

Common mistakes.

  • A. /etc/network is a directory often used for network interface configuration scripts, not DNS resolver settings directly.
  • C. /etc/nsswitch.conf configures the Name Service Switch (NSS) which determines the order in which sources are queried for information, but it doesn't specify the DNS server IPs themselves.
  • D. /etc/hosts maps hostnames to IP addresses locally on the system, bypassing DNS for those specific entries, but it does not specify the DNS servers to be used.

Concept tested. Linux DNS resolver configuration

Reference. https://man7.org/linux/man-pages/man5/resolv.conf.5.html

Topics

#DNS configuration#Network settings#Linux filesystems

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions