Prepare for the CompTIA Network+ Exam. Utilize flashcards and multiple choice questions with detailed hints and explanations. Equip yourself for success!

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 by SNMP for receiving traps or alerts from network devices?

  1. TCP/161

  2. UDP/162

  3. UDP/514

  4. TCP/445

The correct answer is: UDP/162

The correct choice is UDP/162 because this port is specifically designated for receiving SNMP traps, which are alerts sent from network devices to a management system. In the Simple Network Management Protocol (SNMP), these traps provide real-time notifications about significant events occurring within the network, such as device failures or status changes. SNMP operates primarily over UDP to facilitate fast and efficient communication with minimal overhead. While SNMP generally uses UDP port 161 for sending requests and receiving responses, it uses UDP port 162 specifically for receiving these asynchronous traps. This separation allows network management software to listen for incoming alerts on the designated port without confusion with regular SNMP requests. Other ports mentioned do not serve this purpose: TCP/161 is the listening port for SNMP requests, UDP/514 is typically used for syslog messages, and TCP/445 is used for Microsoft’s SMB protocol, which is unrelated to SNMP functionality. Thus, understanding the purpose behind each port is crucial for proper implementation and network monitoring practices.