nerdexam
Oracle

1Z0-821 · Question #144

The /etc/hosts file can be best described as______.

The correct answer is E. a local database of host names and their associated IP addresses. As your machine gets started, it will need to know the mapping of some hostnames to IP addresses before DNS can be referenced. This mapping is kept in the /etc/hosts file. In the absence of a name server, any network program on your system consults this file to determine the IP…

Configuring and Administering Networks

Question

The /etc/hosts file can be best described as______.

Options

  • Aa local database of host names for rlogin, rsh, and rep
  • Bthe configuration file for the host name of the system
  • Ca local database of information for the uname command
  • Dthe configuration file for the Domain Name Service (DNS)
  • Ea local database of host names and their associated IP addresses

How the community answered

(28 responses)
  • A
    4% (1)
  • B
    4% (1)
  • D
    14% (4)
  • E
    79% (22)

Explanation

As your machine gets started, it will need to know the mapping of some hostnames to IP addresses before DNS can be referenced. This mapping is kept in the /etc/hosts file. In the absence of a name server, any network program on your system consults this file to determine the IP address that corresponds to a host name.

Topics

#hosts file#hostname mapping#DNS resolution#networking basics

Community Discussion

No community discussion yet for this question.

Full 1Z0-821 Practice