Disclaimer:
Educational Use Only:
The website links provided are to be used strictly for educational and knowledge-gaining purposes only.
No Misuse:
Do not misuse the links or the information contained therein for any commercial, illegal, or unethical activities.
Respect for Websites and Businesses:
Respect the intellectual property and business interests of the websites and their owners. Do not attempt to alter, copy, or redistribute content without proper authorization.
Acknowledge Value of Knowledge:
Recognize and value the knowledge and resources shared by these websites. Use the information responsibly and ethically.
No Endorsement:
The provision of these links does not imply endorsement of the linked sites, their content, or their products and services. Users are responsible for evaluating the suitability and accuracy of the information.
User Responsibility:
By accessing these links, you agree to use the information at your own risk and to comply with all applicable laws and website terms of use.
- Which command-line utility is used to check the reachability of a host on an IP network?
a. netstat
b. ipconfig
c. tracert
d. ping
Answer: d. pingitexamanswers+2 - What does the tracert (Windows) or traceroute (Linux) command display?
a. The number of active TCP connections
b. The route packets take to reach a network host
c. The DNS resolution process
d. The MAC address of a device
Answer: b. The route packets take to reach a network hostprofessormesser+2 - Which command shows detailed IP configuration on a Windows machine?
a. ifconfig
b. ipconfig
c. netstat
d. route
Answer: b. ipconfiginvgate+2 - Which Linux command provides similar functionality to ipconfig in Windows?
a. nslookup
b. netstat
c. ifconfig
d. ping
Answer: c. ifconfigcodilime+2 - What is the primary function of the netstat command?
a. Show bandwidth usage
b. Display network connections and protocol statistics
c. Test domain resolution
d. Check file system integrity
Answer: b. Display network connections and protocol statisticsvirtono+2 - What does the command nslookup do?
a. Checks the local routing table
b. Queries DNS for information about a domain
c. Displays all running services
d. Shows wireless networks
Answer: b. Queries DNS for information about a domainexamcompass+2 - Which command in Windows displays the MAC address of a network interface?
a. ipconfig /all
b. ping
c. pathping
d. nslookup
Answer: a. ipconfig /allstudy+2 - The command net use is used for:
a. Showing routing tables
b. Mapping network drives
c. Testing IP connectivity
d. Scanning wireless networks
Answer: b. Mapping network drivesbrainscape+1 - What is the function of the arp command?
a. Check DNS records
b. Manipulate Address Resolution Protocol cache
c. Test file system integrity
d. Display system uptime
Answer: b. Manipulate Address Resolution Protocol cacheuninets+2 - Which command is used for checking all shares on a Windows machine?
a. net shares
b. net view
c. ping
d. nslookup
Answer: b. net viewbrainscape+1 - The command whois is typically used to:
a. Display IP address settings
b. Query domain ownership information
c. Display active user sessions
d. List open ports
Answer: b. Query domain ownership informationexamcompass+1 - Which command tests both connectivity and displays hop information?
a. ipconfig
b. pathping
c. hostname
d. netstat
Answer: b. pathpinggeeksforgeeks+2 - Which command retrieves and displays the contents of DNS records?
a. tracert
b. nslookup
c. ifconfig
d. net use
Answer: b. nslookupitexamanswers+1 - What does the hostname command show?
a. Current device’s name
b. Current user’s name
c. Active processes
d. Number of open connections
Answer: a. Current device’s nameitexamanswers+1 - The command for displaying the routing table in Windows is:
a. route print
b. netstat -rn
c. ipconfig
d. ping -r
Answer: a. route printinvgate+1 - Which Linux command is used to test network interface configuration and bring an interface up or down?
a. ipconfig /release
b. ifconfig
c. netstat -a
d. route
Answer: b. ifconfigcodilime+1 - Which Windows command shows all current TCP/IP network connections?
a. ping
b. netstat
c. host
d. tracert
Answer: b. netstatitexamanswers+2 - What is the effect of running ping -t on Windows?
a. Flood pings
b. Stops after four pings
c. Pings indefinitely until stopped
d. Checks DNS records
Answer: c. Pings indefinitely until stoppedprofessormesser+1 - Which command can display open ports and active listening services on a system?
a. hostname
b. netstat
c. nslookup
d. ping
Answer: b. netstatvirtono+1 - Which command shows a list of user accounts in Windows?
a. net user
b. tracert
c. nslookup
d. arp
Answer: a. net userbrainscape+1 - What is the purpose of the dig command?
a. Trace packet routes
b. Perform DNS queries with extensive output
c. Test SSL configuration
d. Show MAC addresses
Answer: b. Perform DNS queries with extensive outputuninets+1 - On Linux, which command lists available wireless networks?
a. iwlist scan
b. ifconfig -wifi
c. netstat -wl
d. ss -scan
Answer: a. iwlist scancodilime+1 - Which command is used to display and modify the IP routing table in Linux?
a. traceroute
b. ip route
c. ping route
d. ifconfig route
Answer: b. ip routeuninets+1 - What does netsh wlan show networks do in Windows?
a. Displays firewall rules
b. Lists available Wi-Fi networks
c. Shows wired network interfaces
d. Shows TCP statistics
Answer: b. Lists available Wi-Fi networksplacementpreparation+1 - Which command provides domain controller information in an Active Directory network?
a. nslookup
b. nltest
c. hostname
d. netstat
Answer: b. nltestuninets - Which utility helps detect the MTU size on a network path?
a. ping with ‘-f’ and ‘-l’ options
b. ipconfig /release
c. tracert -d
d. netstat -m
Answer: a. ping with ‘-f’ and ‘-l’ optionsuninets - What does the ss command do in Linux?
a. Displays socket statistics
b. Shows DNS cache
c. Edits routing tables
d. Pings all network hosts
Answer: a. Displays socket statisticscodilime+1 - Which command can clear the local DNS resolver cache in Windows?
a. ipconfig /flushdns
b. ping /cacheclear
c. nslookup clear
d. netstat /clear
Answer: a. ipconfig /flushdnsstudy+1 - What is the purpose of the route command?
a. Test remote host reachability
b. Examine and edit routing tables
c. List open file descriptors
d. Check system uptime
Answer: b. Examine and edit routing tablesinvgate+2 - The command tcpdump is commonly used to:
a. Capture and analyze network packets
b. Show user accounts
c. Scan for open shares
d. Test hard disk health
Answer: a. Capture and analyze network packetscodilime+1 - Which command displays all domain and workgroup computers on a Windows network?
a. net view
b. netstat
c. tracert
d. ping
Answer: a. net viewprofessormesser+1 - What is the function of ip a on Linux?
a. Shows system processes
b. Displays network interfaces and addresses
c. Lists USB devices
d. Views file permissions
Answer: b. Displays network interfaces and addressescodilime+1 - The nmap command is primarily used for:
a. Network scanning and host discovery
b. Packet capture
c. Username lookup
d. File transfer
Answer: a. Network scanning and host discoveryuninets+1 - To release a DHCP lease in Windows, which command is used?
a. ipconfig /release
b. netstat /release
c. tracert /dhcp
d. pathping /release
Answer: a. ipconfig /releasestudy+1 - Which command reconnects to DHCP and gets a new IP address in Windows?
a. ipconfig /renew
b. netstat -rn
c. ping /renew
d. route renew
Answer: a. ipconfig /renewitexamanswers+1 - What’s the function of the arp -a command?
a. Add a DNS record
b. Show the ARP cache table
c. Ping all devices in LAN
d. Restart a network interface
Answer: b. Show the ARP cache tableuninets - Which of these tests an FQDN-to-IP address mapping?
a. netstat
b. nslookup
c. tracert
d. ifconfig
Answer: b. nslookupitexamanswers+1 - Which command in Windows is used to test the integrity of the file system?
a. chkdsk
b. sfc
c. fsutil
d. netstat
Answer: a. chkdskbrainscape - What is the effect of traceroute -n on Linux?
a. Limits hops to 5
b. Displays only IP addresses, not hostnames
c. Saves output to a file
d. Scans all ports
Answer: b. Displays only IP addresses, not hostnamescodilime - What does netstat -an display?
a. Network usage graphs
b. All active connections and listening ports in numeric form
c. DNS query records
d. TCP retries and errors
Answer: b. All active connections and listening ports in numeric forminvgate+1 - Which command is used in both Windows and Linux to display current username?
a. whoami
b. hostname
c. netstat -u
d. lsuser
Answer: a. whoamivirtono+1 - To test IPv6 connectivity in a network, which command is used?
a. ping6
b. ping-ip
c. ipconfig-v6
d. tracert-v6
Answer: a. ping6virtono+2 - What is the output of ipconfig /displaydns?
a. IP routing table
b. DNS cache entries
c. Network interface status
d. System processes
Answer: b. DNS cache entriesstudy+1 - The ss -tuln command in Linux shows:
a. All mounted filesystems
b. All TCP/UDP listening ports without names
c. Detailed user logins
d. File share status
Answer: b. All TCP/UDP listening ports without namescodilime+1 - Which command is used to find the default gateway in Linux?
a. ip route | grep default
b. ping default
c. netstat -g
d. nslookup gateway
Answer: a. ip route | grep default codilime+1 - To query domain MX records using nslookup, what type should be specified?
a. A
b. MX
c. PTR
d. TXT
Answer: b. MXexamcompass+1 - The command for a persistent ping in Linux is:
a. ping -c 1000 host
b. ping host
c. ping -t host
d. ping -loop host
Answer: b. ping hostinvgate+1 - Which command displays the current network interface statistics in Windows?
a. netstat -e
b. ipconfig -stats
c. tracert -s
d. netsh netstat
Answer: a. netstat -eitexamanswers+1 - What does the Windows command net config workstation display?
a. Routing table entries
b. System version and network configuration
c. List of open shares
d. All current TCP connections
Answer: b. System version and network configurationprofessormesser+1 - Which command in Windows lists available shared resources on a remote server?
a. net use
b. net view \servername
c. tracert
d. nslookup
Answer: b. net view \servernamebrainscape+1
- https://itexamanswers.net/question/match-the-command-line-utility-with-its-function
- https://blog.invgate.com/network-troubleshooting-tools
- https://wayground.com/admin/quiz/5afadeb426a0dc001ae365ff/windows-command-line-quiz-1-25
- https://www.professormesser.com/professor-messer-archives/220-1002/network-command-line-tools-2/
- https://itexamanswers.net/17-2-3-network-testing-utilities-quiz-answers.html
- https://codilime.com/blog/linux-network-troubleshooting/
- https://www.uninets.com/blog/network-troubleshooting-tools-commands
- https://www.virtono.com/community/tutorial-how-to/network-troubleshooting-via-command-line/
- https://www.examcompass.com/comptia-network-plus-certification-practice-test-23-exam-n10-009
- https://study.com/academy/practice/quiz-worksheet-networking-command-line-tools.html
- https://www.brainscape.com/flashcards/exam-compass-microsoft-command-line-tool-12206823/packs/21070940
- https://www.geeksforgeeks.org/computer-networks/network-troubleshooting-techniques/
- https://www.placementpreparation.io/mcq/computer-network/page/5/
- https://www.sanfoundry.com/computer-network-questions-answers/
- https://www.uninets.com/blog/computer-networks-mcq
- https://wayground.com/admin/quiz/5c9b80b14c5de8001a278205/command-prompt-tools-quiz-1
- https://www.sanfoundry.com/computer-networks-mcqs-network-utilities/
- https://examradar.com/basics-of-user-interfaces-command-line-interface-cli-and-graphical-user-interface-gui-mcqs/
- https://www.comptia.org/content/guides/a-guide-to-network-troubleshooting
- https://www.interviewbit.com/computer-network-mcq/