Posted on

Linux+ – LX0-102 – Exam 2 Samples – Question 20

Which of the following looks like a correct entry in the /etc/hosts file?

A. localhost 127.0.0.1 localhost.localdomain
B. localhost.localdomainlocalhost 127.0.0.1
C. localhostlocalhost.localdomain 127.0.0.1
D. 127.0.0.1 localhost.localdomainlocalhost
E. localhost.localdomain 127.0.0.1 localhost

Correct Answer: D

Leave a Reply

Your email address will not be published. Required fields are marked *