Prepare for the COMPTIA A+ Exam. Test your knowledge with our flashcards and multiple choice questions, complete with hints and explanations. Ensure you're ready for exam day!

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.


For what purpose is the LMHOSTS file used?

  1. To resolve FQDNs into IP addresses

  2. To resolve NETBIOS names into IP addresses

  3. To set environment variables for DIR listing

  4. To manage Windows license keys

The correct answer is: To resolve NETBIOS names into IP addresses

The LMHOSTS file is used to resolve NETBIOS names into IP addresses. This file is used in networks that still utilize NETBIOS, which is an older networking protocol. By using the LMHOSTS file, computers can locate the IP address of other computers on the network by their NETBIOS name. This is helpful for communication and file sharing between computers on the same network. The other options provided (A, C, and D) do not involve resolving NETBIOS names, and therefore are incorrect.