CompTIA Exam Questions

Which of the following commands will PING the loopback device?

You are working as a technician at Domain.com. You are troubleshooting a computer that is unable to reach any resources on the network. You want to ensure that the TCP/IP stack is working as intended and decide to ping the loopback device. Which of the following commands will PING the loopback device?

A.
PING 111.111.111.111

B.
PING 10.0.0.1

C.
PING 127.0.0.1

D.
PING \\localhost

Explanation:
A common basic test of the TCP/IP protocol stack on a machine is to enter this command at a shell prompt: ping localhost localhostalways translates to the loopback IP address 127.0.0.1 in IPv4, or ::1 in IPv6.