100-140 Question 212
Select 3A user reports that they cannot access a web application hosted on a remote server. You want to verify connectivity between the user's device and the server. Which of the following commands can help you verify basic network connectivity and diagnose the issue?
- A
ping
- B
tracert
- C
ipconfig /all
- D
nslookup
- E
netstat -an
Show answer and explanation
Correct answers: A, B, D
Explanation
To verify connectivity to a remote server, tools like 'ping', 'tracert', and 'nslookup' are crucial. 'Ping' checks if the server is reachable and responsive. 'Tracert' helps diagnose where network issues might be occurring along the route to the server. 'Nslookup' ensures DNS resolution is working correctly, which is often the first step in troubleshooting connectivity to a domain. Other commands like 'ipconfig /all' and 'netstat -an' provide useful system information but do not actively test connectivity to a specific server.
- A. Correct.
The 'ping' command is used to verify basic network connectivity by sending ICMP echo requests to the server and confirming if there is a response.
- B. Correct.
The 'tracert' command (or 'traceroute' on Linux/MacOS systems) helps identify the path packets take to reach the server. It can be used to diagnose where connectivity might be failing.
- C. Incorrect.
The 'ipconfig /all' command is used to display detailed network configuration information for the device, but it does not actively check connectivity to a remote server.
- D. Correct.
The 'nslookup' command helps resolve the domain name of the server to its IP address and can verify if DNS resolution is functioning correctly, which is critical for connectivity.
- E. Incorrect.
The 'netstat -an' command displays active network connections and listening ports on the local device, but it does not directly verify connectivity to a specific remote server.