Lesson 5: Implementing TCP/IP In The Command Line

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Lauraborkent
L
Lauraborkent
Community Contributor
Quizzes Created: 9 | Total Attempts: 3,588
Questions: 20 | Attempts: 425

SettingsSettingsSettings
Network Quizzes & Trivia

Questions and Answers
  • 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?

    • A.

      Ipconfig

    • B.

      Ping

    • C.

      Tracert

    • D.

      Nslookup

    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.

    Rate this question:

  • 7. 

    What protocol does the ping command use to test network connectivity?

    • A.

      TCP

    • B.

      UDP

    • C.

      ICMP

    • D.

      FTP

    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.

    Rate this question:

  • 8. 

    What command do you use to clear the DNS cache on a local system?

    • A.

      Ipconfig /registerdns

    • B.

      Ipconfig /cleardns

    • C.

      Ipocnfig /flushdns

    • D.

      Ipconfig /releasedns

    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.

    Rate this question:

  • 9. 

    What command do you use to test a system’s IPv4 protocol stack?

    • A.

      Ping 127.0.0.1

    • B.

      Ping self

    • C.

      Ping 255.255.255.255

    • D.

      Ping defaultgateway

    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.

    Rate this question:

  • 10. 

    What command do you use to display active TCP or UDP connections?

    • A.

      Nbtstat

    • B.

      Netstat

    • C.

      Ipconfig

    • D.

      Nslookup

    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.

    Rate this question:

  • 11. 

    What command is used to display NetBIOS over TCP/IP statistics?

    • A.

      Nbtstat

    • B.

      Netstat

    • C.

      Ipconfig

    • D.

      Nslookup

    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.

    Rate this question:

  • 12. 

    What command clears the NetBIOS name cache table?

    • A.

      Nbtstat -r

    • B.

      Nbtstat -R

    • C.

      Nbtstat -RR

    • D.

      Nbtstat -s

    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.

    Rate this question:

  • 13. 

    What command tests network connectivity while showing you each hop along the way?

    • A.

      Ping

    • B.

      Nslookup

    • C.

      Nbtstat

    • D.

      Tracert

    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.

    Rate this question:

  • 14. 

    What command tests network connectivity while showing you each hop along the way and the degree of packet loss?

    • A.

      Ping

    • B.

      Pathping

    • C.

      Nbtstat

    • D.

      Tracert

    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.

    Rate this question:

  • 15. 

    What command do you use to connect to a FTP server to download a file?

    • A.

      Nslookup

    • B.

      Ssh

    • C.

      Telnet

    • D.

      Ftp

    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.

    Rate this question:

  • 16. 

    What command do you use to connect to a remote computer so that you can execute commands?

    • A.

      Ftp

    • B.

      Nslookup

    • C.

      Telnet

    • D.

      Nbtstat

    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.

    Rate this question:

  • 17. 

    What command can you use to connect to a mail server so that you can test SMTP?

    • A.

      Ftp

    • B.

      Nslookup

    • C.

      Telnet

    • D.

      Nbtstat

    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.

    Rate this question:

  • 18. 

    What command do you use to display and modify the network configuration of a local computer?

    • A.

      Netsh

    • B.

      Netstat

    • C.

      Telnet

    • D.

      Nbtstat

    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.

    Rate this question:

  • 19. 

    What command is used to add static routes to a Windows computer?

    • A.

      Nslookup

    • B.

      Telnet

    • C.

      Route

    • D.

      Nbtstat

    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.

    Rate this question:

  • 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.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Aug 07, 2017
    Quiz Created by
    Lauraborkent
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.