Blog

MCQs

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.


  1. 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
  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
  3. Which command shows detailed IP configuration on a Windows machine?
    a. ifconfig
    b. ipconfig
    c. netstat
    d. route
    Answer: b. ipconfiginvgate+2
  4. Which Linux command provides similar functionality to ipconfig in Windows?
    a. nslookup
    b. netstat
    c. ifconfig
    d. ping
    Answer: c. ifconfigcodilime+2
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. Which command tests both connectivity and displays hop information?
    a. ipconfig
    b. pathping
    c. hostname
    d. netstat
    Answer: b. pathpinggeeksforgeeks+2
  13. Which command retrieves and displays the contents of DNS records?
    a. tracert
    b. nslookup
    c. ifconfig
    d. net use
    Answer: b. nslookupitexamanswers+1
  14. 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
  15. 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
  16. 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
  17. Which Windows command shows all current TCP/IP network connections?
    a. ping
    b. netstat
    c. host
    d. tracert
    Answer: b. netstatitexamanswers+2
  18. 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
  19. 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
  20. Which command shows a list of user accounts in Windows?
    a. net user
    b. tracert
    c. nslookup
    d. arp
    Answer: a. net userbrainscape+1
  21. 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
  22. 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
  23. 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
  24. 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
  25. Which command provides domain controller information in an Active Directory network?
    a. nslookup
    b. nltest
    c. hostname
    d. netstat
    Answer: b. nltestuninets
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. 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
  37. Which of these tests an FQDN-to-IP address mapping?
    a. netstat
    b. nslookup
    c. tracert
    d. ifconfig
    Answer: b. nslookupitexamanswers+1
  38. 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
  39. 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
  40. 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
  41. 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
  42. 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
  43. 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
  44. 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
  45. 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
  46. To query domain MX records using nslookup, what type should be specified?
    a. A
    b. MX
    c. PTR
    d. TXT
    Answer: b. MXexamcompass+1
  47. 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
  48. 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
  49. 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
  50. 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

 

  1. https://itexamanswers.net/question/match-the-command-line-utility-with-its-function
  2. https://blog.invgate.com/network-troubleshooting-tools
  3. https://wayground.com/admin/quiz/5afadeb426a0dc001ae365ff/windows-command-line-quiz-1-25
  4. https://www.professormesser.com/professor-messer-archives/220-1002/network-command-line-tools-2/
  5. https://itexamanswers.net/17-2-3-network-testing-utilities-quiz-answers.html
  6. https://codilime.com/blog/linux-network-troubleshooting/
  7. https://www.uninets.com/blog/network-troubleshooting-tools-commands
  8. https://www.virtono.com/community/tutorial-how-to/network-troubleshooting-via-command-line/
  9. https://www.examcompass.com/comptia-network-plus-certification-practice-test-23-exam-n10-009
  10. https://study.com/academy/practice/quiz-worksheet-networking-command-line-tools.html
  11. https://www.brainscape.com/flashcards/exam-compass-microsoft-command-line-tool-12206823/packs/21070940
  12. https://www.geeksforgeeks.org/computer-networks/network-troubleshooting-techniques/
  13. https://www.placementpreparation.io/mcq/computer-network/page/5/
  14. https://www.sanfoundry.com/computer-network-questions-answers/
  15. https://www.uninets.com/blog/computer-networks-mcq
  16. https://wayground.com/admin/quiz/5c9b80b14c5de8001a278205/command-prompt-tools-quiz-1
  17. https://www.sanfoundry.com/computer-networks-mcqs-network-utilities/
  18. https://examradar.com/basics-of-user-interfaces-command-line-interface-cli-and-graphical-user-interface-gui-mcqs/
  19. https://www.comptia.org/content/guides/a-guide-to-network-troubleshooting
  20. https://www.interviewbit.com/computer-network-mcq/

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!