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.


What is the ping switch for IP to name translation?

  1. ping -n

  2. ping -t

  3. ping -a

  4. ping -r

The correct answer is: ping -a

The ping switch for IP to name translation is -a. This switch is used to resolve an IP address to a hostname. Option A (-n) and option D (-r) are incorrect because they are used for other purposes such as specifying the number of pings to send and enabling the use of a record route option. Option B (-t) is also incorrect as it is used to continuously ping a host until stopped and does not provide name translation functionality.