Prepare for the COMPTIA A+ Exam with our quizzes. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which are the two ways to resolve computer names to IP addresses?

  1. DNS and HOSTS file

  2. WINS and LMHOSTS file

  3. HOSTS file and WINS

  4. DNS and WINS

The correct answer is: WINS and LMHOSTS file

Both options A and C are incorrect because they list one correct and one incorrect way to resolve computer names to IP addresses. The HOSTS file is used to resolve computer names to IP addresses for small networks, but it cannot be used for larger networks. WINS is used for resolving computer names to IP addresses in Windows environments, but it does not work for other operating systems. Therefore, the correct answer is B, as it includes both WINS and the LMHOSTS file.