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 a continuous ping?

  1. ping -c

  2. ping -a

  3. ping -r

  4. ping -t

The correct answer is: ping -t

The ping switch for a continuous ping is -t. This switch will allow a continuous ping to run until manually stopped, while the other options only provide specific settings or limits for the ping command. Option A (-c) specifies the number of packets to be sent, option B (-a) resolves the IP address to its hostname, and option C (-r) sets the maximum number of hops. Therefore, none of the other options provide the functionality of a continuous ping.