Ace your COMPTIA A+ certification with our practice exam. Engage with a variety of questions including multiple choice and performance-based, complete with hints and detailed explanations. Prepare effectively and boost your confidence for the big 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.