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. What is the primary purpose of the Internet Control Message Protocol (ICMP)?
    a. Establish application layer connections
    b. Report errors and diagnostic information
    c. Transport layer data flow
    d. File transfer between hosts
    Answer: b. Report errors and diagnostic informationtechtarget+2
  2. ICMP operates at which layer of the OSI or TCP/IP model?
    a. Data Link Layer
    b. Application Layer
    c. Network Layer
    d. Presentation Layer
    Answer: c. Network Layergeeksforgeeks+2
  3. Which of the following is a common use of ICMP?
    a. Sending encrypted messages
    b. Streaming video
    c. Network troubleshooting
    d. Performing DNS lookups
    Answer: c. Network troubleshootingcloudflare+2
  4. Which message type in ICMP is used by the ping utility?
    a. Address Mask Request
    b. Destination Unreachable
    c. Echo Request/Echo Reply
    d. Redirect
    Answer: c. Echo Request/Echo Replypynetlabs+2
  5. What information does an ICMP “Destination Unreachable” message convey?
    a. The network is busy
    b. The destination cannot be reached
    c. The protocol is working correctly
    d. The route is optimal
    Answer: b. The destination cannot be reachedgeeksforgeeks+2
  6. Which field in the ICMP header indicates the purpose of the message?
    a. Type
    b. TTL
    c. Sequence
    d. Window Size
    Answer: a. Typeaws.amazon+2
  7. What does an ICMP “Time Exceeded” message indicate?
    a. Source port is invalid
    b. TTL value has reached zero
    c. Connection refused
    d. Destination port is closed
    Answer: b. TTL value has reached zerogeeksforgeeks+2
  8. The “Echo Reply” message in ICMP has which type value?
    a. 3
    b. 0
    c. 8
    d. 11
    Answer: b. 0iana+1
  9. Which ICMP message type is sent when a router needs to inform a host of a better route?
    a. Echo Request
    b. Time Exceeded
    c. Redirect
    d. Address Mask Reply
    Answer: c. Redirectgeeksforgeeks+2
  10. What is the protocol number for ICMP in the IP header?
    a. 6
    b. 17
    c. 1
    d. 2
    Answer: c. 1pynetlabs+2
  11. Which field is used in ICMP packets for data verification?
    a. Version
    b. Checksum
    c. Sequence Number
    d. Identifier
    Answer: b. Checksumgeeksforgeeks+1
  12. What is the main function of ICMP’s error reporting mechanism?
    a. Encrypt data
    b. Notify source about communication issues
    c. Provide routing information
    d. Maintain persistent connections
    Answer: b. Notify source about communication issueslenovo+2
  13. ICMP is considered which kind of protocol?
    a. Connection-oriented
    b. Encryption-based
    c. Connectionless
    d. Stateful
    Answer: c. Connectionlesstechtarget+2
  14. How does ICMP inform the sender of data transmission problems?
    a. Through DNS responses
    b. By encapsulating error messages in IP packets
    c. By sending HTTP responses
    d. Via ARP requests
    Answer: b. By encapsulating error messages in IP packetsaws.amazon+1
  15. Which ICMP message is used to check if a host is reachable across a network?
    a. Address Mask Request
    b. Echo Request
    c. Source Quench
    d. Parameter Problem
    Answer: b. Echo Requestgeeksforgeeks+2
  16. Which command-line tool uses ICMP to test network connectivity?
    a. traceroute
    b. ping
    c. netstat
    d. nslookup
    Answer: b. pingitexamanswers+2
  17. What kind of information can be determined by using the ping command?
    a. MAC address of remote host
    b. Round-trip time and reachability
    c. File server status
    d. Encryption settings
    Answer: b. Round-trip time and reachabilityitexamanswers+2
  18. The ICMP “Source Quench” message is used to
    a. Request address masking
    b. Indicate congestion and request slower sending
    c. Give routing information
    d. Acknowledge successful delivery
    Answer: b. Indicate congestion and request slower sendingaws.amazon+1
  19. Which type value in ICMP is associated with the “Destination Unreachable” message?
    a. 11
    b. 3
    c. 8
    d. 0
    Answer: b. 3iana+1
  20. The “Time Exceeded” message in ICMP often relates to which field in the IP header?
    a. Protocol
    b. Fragment Offset
    c. Time To Live (TTL)
    d. Header Checksum
    Answer: c. Time To Live (TTL)geeksforgeeks+2
  21. ICMP is used in both IPv4 and which other protocol?
    a. HTTP
    b. ARP
    c. IPv6
    d. PPP
    Answer: c. IPv6pynetlabs+1
  22. What extension does ICMPv6 provide over ICMPv4?
    a. Network Address Translation
    b. Security parameter index
    c. Neighbor Discovery functionality
    d. File transfer capability
    Answer: c. Neighbor Discovery functionalityitexamanswers+1
  23. Which ICMP message is sent as a response to an Echo Request?
    a. Destination Unreachable
    b. Redirect
    c. Echo Reply
    d. Time Exceeded
    Answer: c. Echo Replypynetlabs+2
  24. In ICMP, what does the “Code” field specify?
    a. Length of payload
    b. Type of network prefix
    c. Specific reason for the message
    d. Encryption key
    Answer: c. Specific reason for the messageaws.amazon+2
  25. If a router cannot forward a packet due to a non-existent route, what ICMP message is sent?
    a. Source Quench
    b. Echo Request
    c. Destination Unreachable
    d. Redirect
    Answer: c. Destination Unreachablegeeksforgeeks+2
  26. Which protocol number identifies ICMP packets within the IP protocol suite?
    a. 2
    b. 4
    c. 1
    d. 0
    Answer: c. 1geeksforgeeks+2
  27. How do routers use ICMP messages for delivering diagnostic information?
    a. By sending SNMP traps
    b. By transmitting Echo Replies
    c. By forwarding error and control messages to the sender
    d. By delivering UDP datagrams
    Answer: c. By forwarding error and control messages to the sendertechtarget+2
  28. Which tool uses ICMP to map the route taken by packets to a destination?
    a. netstat
    b. traceroute
    c. ftp
    d. telnet
    Answer: b. tracerouteitexamanswers+2
  29. An ICMP “Parameter Problem” message indicates
    a. Unreachable port
    b. Invalid field in IP header
    c. Path too long
    d. Buffer overflow
    Answer: b. Invalid field in IP headeraws.amazon+1
  30. Which ICMP message assists in automatic address configuration in IPv6?
    a. Router Advertisement
    b. Destination Unreachable
    c. Echo Reply
    d. Redirect
    Answer: a. Router Advertisementitexamanswers
  31. What kind of attacks exploit ICMP for denial of service?
    a. SYN flood
    b. Phishing
    c. Ping flood/Smurf Attack
    d. SQL injection
    Answer: c. Ping flood/Smurf Attackcloudflare+1
  32. Which of the following best describes ICMP’s relationship to IP?
    a. Runs above TCP
    b. Transport layer protocol
    c. Auxiliary protocol for IP
    d. Encapsulated within Ethernet frames directly
    Answer: c. Auxiliary protocol for IPtechtarget+2
  33. The maximum size of an ICMP packet in IPv4 must not exceed
    a. 1280 bytes
    b. 20 bytes
    c. 576 bytes
    d. 1500 bytes
    Answer: c. 576 bytesgeeksforgeeks
  34. For IPv6, the minimum MTU (Maximum Transmission Unit) is
    a. 576 bytes
    b. 1280 bytes
    c. 1500 bytes
    d. 64 bytes
    Answer: b. 1280 bytesgeeksforgeeks
  35. Which field in ICMP helps match an Echo Reply with its corresponding Echo Request?
    a. TTL
    b. Identifier
    c. Code
    d. Protocol
    Answer: b. Identifierpynetlabs
  36. What does the “Sequence Number” in ICMP echo messages help track?
    a. Protocol version
    b. Flow of multiple requests and replies
    c. TTL exhaustion events
    d. Source IP
    Answer: b. Flow of multiple requests and repliespynetlabs
  37. Can ICMP be used to carry application data?
    a. Yes, for large file transfers
    b. No, it is not designed for application payloads
    c. Yes, but only encrypted
    d. Yes, in legacy systems
    Answer: b. No, it is not designed for application payloadstechtarget+2
  38. Which of the following is NOT a valid ICMP message type?
    a. Time Exceeded
    b. Address Mask Request
    c. Synchronize Sequence Numbers
    d. Source Quench
    Answer: c. Synchronize Sequence Numbersiana+1
  39. Which tool would NOT use ICMP?
    a. ping
    b. traceroute (default)
    c. netstat
    d. Pathping
    Answer: c. netstatitexamanswers+1
  40. A router discards a datagram and sends back which ICMP message if TTL becomes zero?
    a. Redirect
    b. Time Exceeded
    c. Echo Reply
    d. Destination Unreachable
    Answer: b. Time Exceededgeeksforgeeks+2
  41. What is the primary difference between an ICMP error message and a query message?
    a. Error messages are sent only by clients
    b. Query messages request information, error messages report problems
    c. Query messages encrypt payload
    d. Error messages do not use code field
    Answer: b. Query messages request information, error messages report problemstechtarget+2
  42. Which ICMP message assists router discovery by hosts?
    a. Address Mask Reply
    b. Router Advertisement
    c. Echo Reply
    d. Time Exceeded
    Answer: b. Router Advertisementitexamanswers
  43. If a host sends a packet to a down network, which message is returned?
    a. Echo Request
    b. Parameter Problem
    c. Destination Unreachable
    d. Source Quench
    Answer: c. Destination Unreachablegeeksforgeeks+2
  44. ICMP messages are encapsulated inside which protocol?
    a. TCP
    b. UDP
    c. IP
    d. Ethernet
    Answer: c. IPaws.amazon+2
  45. Which message is used for discovering the subnet mask?
    a. Address Mask Request
    b. Router Advertisement
    c. Destination Unreachable
    d. Echo Reply
    Answer: a. Address Mask Requestgeeksforgeeks
  46. What does ICMP do when a packet cannot be delivered at the network layer?
    a. Discards the packet and notifies the sender
    b. Delivers via UDP
    c. Resends packet
    d. Sends via ARP
    Answer: a. Discards the packet and notifies the sendergeeksforgeeks+2
  47. How is the authenticity of source IP address in an ICMP packet generally verified?
    a. By ICMP
    b. By ARP table
    c. By default, source IP is not strongly verified
    d. Always by IPsec
    Answer: c. By default, source IP is not strongly verifiedaws.amazon+1
  48. A large number of ICMP Echo Requests can lead to
    a. Faster routing
    b. Routing loops
    c. Network congestion or attacks
    d. Stronger authentication
    Answer: c. Network congestion or attackscloudflare+1
  49. When is ICMPv6 “Neighbor Solicitation” message used?
    a. To check interface status
    b. For address resolution and duplicate address detection
    c. For route advertisement
    d. For encryption negotiation
    Answer: b. For address resolution and duplicate address detectionitexamanswers+1
  50. What is the typical response when a requested ICMP type is not implemented on a device?
    a. Echo Request
    b. Destination Unreachable (Code 3)
    c. Discard with no response
    d. Redirect
    Answer: c. Discard with no responseaws.amazon+1

 

  1. https://www.techtarget.com/searchnetworking/definition/ICMP
  2. https://aws.amazon.com/what-is/icmp/
  3. https://www.cloudflare.com/learning/ddos/glossary/internet-control-message-protocol-icmp/
  4. https://www.geeksforgeeks.org/computer-networks/internet-control-message-protocol-icmp/
  5. https://www.fortinet.com/resources/cyberglossary/internet-control-message-protocol-icmp
  6. https://www.pynetlabs.com/what-is-icmp-protocol/
  7. https://www.geeksforgeeks.org/computer-networks/types-of-icmp-internet-control-message-protocol-messages/
  8. https://www.iana.org/assignments/icmp-parameters
  9. https://www.lenovo.com/in/en/glossary/icmp/
  10. https://itexamanswers.net/12-3-4-icmp-quiz-answers.html
  11. https://itexamanswers.net/13-3-4-module-quiz-icmp-answers.html
  12. https://www.sanfoundry.com/computer-networks-questions-answers-icmp/
  13. https://testbook.com/question-answer/which-of-the-following-statements-about-icmp-inte–6791f35b7c9fecaa546bf350
  14. https://edurev.in/test/28337/Test-ICMP–Internet-Control-Message-Protocol-
  15. https://www.placementpreparation.io/mcq/computer-network/
  16. https://networkwalks.com/icmp-quiz-online/
  17. https://testbook.com/question-answer/icmp-is-primarily-used-for-______–635ce2baf1dbcf553c28dca4
  18. https://mcqslearn.com/cs/computer-networks/icmp.php
  19. https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol
  20. https://www.youtube.com/watch?v=xTqtm7-k25o

Leave a Reply

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

error: Content is protected !!