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 ipconfig switch to flush DNS cache?

  1. ipconfig /renew

  2. ipconfig /all

  3. ipconfig /flushdns

  4. ipconfig /release

The correct answer is: ipconfig /flushdns

The /renew switch in ipconfig is used to renew the IP address, while the /all switch displays all configuration information for all connections. The /release switch releases the IP address for a specified adapter. These options are not related to flushing the DNS cache. Therefore, C is the correct answer as it specifically targets the DNS cache.