1.
What command do you use to display the routing table on a local system?
2.
What command do you use to retrieve or update your DHCP assigned configuration?
3.
What command do you use to register the computer’s name and IP address with the nearest DNS server?
4.
What command displays Ethernet statistics?
5.
What option do you use to ping constantly until you stop it?
6.
What command displays the IP address, subnet mask, and default gateway of the system you are currently on?
Correct Answer
A. Ipconfig
Explanation
The ipconfig command is used to display the IP address, subnet mask, and default gateway of the system you are currently on. It is a command-line tool that provides network configuration information for all network interfaces on the system. By running ipconfig, you can easily view important network details such as the IP address assigned to your system, the subnet mask that determines the network range, and the default gateway that serves as the access point to other networks.
7.
What protocol does the ping command use to test network connectivity?
Correct Answer
C. ICMP
Explanation
The ping command uses ICMP (Internet Control Message Protocol) to test network connectivity. ICMP is a network protocol that allows devices to send error messages and operational information about network conditions. Ping sends ICMP echo request packets to a specific IP address and waits for an ICMP echo reply to determine if the network connection is working properly. TCP and UDP are transport layer protocols used for data transmission, while FTP (File Transfer Protocol) is a protocol used for transferring files over a network.
8.
What command do you use to clear the DNS cache on a local system?
Correct Answer
C. Ipocnfig /flushdns
Explanation
The correct answer is "ipconfig /flushdns". This command is used to clear the DNS cache on a local system. The DNS cache stores information about previously visited websites, and clearing it can help resolve any DNS-related issues or update the cache with new information. The other options mentioned in the question, such as "ipconfig /registerdns" and "ipconfig /releasedns", are not valid commands for clearing the DNS cache.
9.
What command do you use to test a system’s IPv4 protocol stack?
Correct Answer
A. Ping 127.0.0.1
Explanation
To test a system's IPv4 protocol stack, the command "ping 127.0.0.1" is used. This command sends a loopback message to the local host, which is identified by the IP address 127.0.0.1. By pinging this address, the system checks if the IPv4 protocol stack is functioning properly. If the system receives a response from the loopback address, it indicates that the IPv4 protocol stack is working correctly.
10.
What command do you use to display active TCP or UDP connections?
Correct Answer
B. Netstat
Explanation
Use the netstat command to display active TCP (or UDP) connections, as well as a host of other statistics. Of the four columns displayed, we are concerned here with just the Proto and Local Address columns. The Proto column shows the Transport layer protocol being used for the connection; netstat, by itself, shows only TCP connections in this column. The Local Address column displays the local computer by name (server2003), followed by the outbound port number.
11.
What command is used to display NetBIOS over TCP/IP statistics?
Correct Answer
A. Nbtstat
Explanation
The correct answer is nbtstat. Nbtstat is a command-line tool used to display NetBIOS over TCP/IP statistics. It provides information about NetBIOS name tables, NetBIOS name cache, NetBIOS name resolution, and NetBIOS statistics. This command is commonly used in Windows operating systems to troubleshoot and gather information about NetBIOS connections and configurations.
12.
What command clears the NetBIOS name cache table?
Correct Answer
B. Nbtstat -R
Explanation
The command "nbtstat -R" clears the NetBIOS name cache table. This command is used to refresh the NetBIOS name cache and remove any outdated or incorrect entries. By running this command, the system will clear the cache and rebuild it with the most up-to-date information, ensuring accurate name resolution in NetBIOS-based networks.
13.
What command tests network connectivity while showing you each hop along the way?
Correct Answer
D. Tracert
Explanation
The tracert command is used to test network connectivity and display each hop along the way. It shows the path that packets take from the source to the destination, and it provides information about the time it takes for each hop. This command is commonly used to troubleshoot network issues and identify any latency or packet loss problems.
14.
What command tests network connectivity while showing you each hop along the way and the degree of packet loss?
Correct Answer
B. Pathping
Explanation
Pathping is a command that combines the functionality of both ping and tracert commands. It tests network connectivity by sending multiple ICMP Echo Request messages to each hop along the way to a destination. It also provides information about the degree of packet loss at each hop, allowing you to identify network issues and troubleshoot connectivity problems more effectively.
15.
What command do you use to connect to a FTP server to download a file?
Correct Answer
D. Ftp
Explanation
The correct answer is "ftp". FTP stands for File Transfer Protocol, which is a standard network protocol used to transfer files from one host to another over a TCP-based network, such as the internet. By using the "ftp" command, you can establish a connection with an FTP server and download files from it.
16.
What command do you use to connect to a remote computer so that you can execute commands?
Correct Answer
C. Telnet
Explanation
Telnet is the correct answer because it is a network protocol used to establish a remote connection to a computer over a network. It allows the user to execute commands on the remote computer as if they were directly interacting with it. This makes it a useful tool for troubleshooting, remote administration, and accessing resources on a remote system. FTP is used for file transfer, nslookup is used for DNS queries, and nbtstat is used for querying NetBIOS over TCP/IP.
17.
What command can you use to connect to a mail server so that you can test SMTP?
Correct Answer
C. Telnet
Explanation
In addition to using the telnet command to take control of a remote computer, you can use it to test protocols. For example, if you type telnet 25, it will connect to the server using SMTP port 25.
18.
What command do you use to display and modify the network configuration of a local computer?
Correct Answer
A. Netsh
Explanation
The netsh command is a built-in command-line scripting utility that enables you to display and modify the network configurations of the local computer. Netsh commands tend to be rather long and in depth, so the utility gives you the option to save configuration scripts for later use.
19.
What command is used to add static routes to a Windows computer?
Correct Answer
C. Route
Explanation
The correct answer is "route". The "route" command is used to add static routes to a Windows computer. Static routes are manually configured routes that specify how network traffic should be directed. By using the "route" command, users can add, modify, or delete static routes on their Windows computer to control the flow of network traffic.
20.
What command do you use to display the routing table on a local system?
Correct Answer
route print
Route Print
Route print
Explanation
The correct answer is "route print, Route Print, Route print." The command "route print" is used to display the routing table on a local system.