Master the CompTIA Network+ Exam. Prepare with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your certification!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which protocol is used for SNMP traps?

  1. TCP/80

  2. UDP/161

  3. UDP/162

  4. TCP/443

The correct answer is: UDP/162

The protocol used for SNMP (Simple Network Management Protocol) traps operates over the User Datagram Protocol (UDP) and specifically utilizes port 162. SNMP traps are messages sent from a network device to a management system (like an SNMP manager) to notify the manager of certain events or conditions, such as a warning or a fault. This occurs asynchronously and is crucial for efficient network management. UDP is chosen for this function because it is a connectionless protocol, allowing for quick transmission without the overhead of establishing and maintaining a connection, which is advantageous for traps that can be sent frequently and need to be received promptly. Port 162 is designated for receiving these trap messages, differentiating them from SNMP requests and responses, which are typically sent over UDP port 161. The other options reference ports commonly associated with web traffic or secure web transactions and do not align with the operational requirements of SNMP traps. Port 80 is utilized for HTTP traffic, while port 443 is for HTTPS traffic.