Computer Network Questions and Answers – SNMPv2 Protocol

This set of Computer Network Multiple Choice Questions & Answers (MCQs) focuses on “SNMPv2 Protocol”.

1. An ASN.1 macro _______ is used to define an information module.
a) INFORM-REQUEST
b) OBJECT-TYPE
c) MODULE-IDENTITY
d) NOTIFICATION-TYPE
View Answer

Answer: c
Explanation: The SMI in SNMPv2 is divided into three parts – module definitions, object definitions and notification definitions. MODULE-IDENTITY macro in ASN.1 is used to describe semantics of the information module.

2. What is the significance of Textual convention?
a) It helps in defining new data types
b) It defines a minimum set of capabilities
c) It communicates with SNMPv2 manager over the UDP transport layer
d) It helps in improving the security function of SNMPv2
View Answer

Answer: a
Explanation: Textual Conventions are designed to help define new data types. They are also intended to make the semantics consistent and clear for humans.

3. A/An ________ message is generated by a manager application and is transmitted to another manager application.
a) Get-next request
b) Set-request
c) Get-request
d) Inform-request
View Answer

Answer: d
Explanation: Inform-request is a message generated by manager. It is sent using a session. As mentioned above, the receiving manager application responds with a response message. This set of communication messages is a powerful enhancement in SNMPv2, since it makes network management systems interoperable.
advertisement
advertisement

4. _________ speeds up the get-next-request process and is especially useful to retrieve data from tables.
a) Hypertext Transfer Protocol
b) Manager-to-Manager Message
c) Bulk Data Transfer Message
d) Simple Mail Transfer protocol
View Answer

Answer: c
Explanation: The Bulk Data Transfer Message has the ability to request and receive bulk data using the get-bulk message. This speeds up the get-next-request process and is especially useful to retrieve data from tables.

5. SNMPv2 is backward compatible with SNMPv1.
a) True
b) False
View Answer

Answer: b
Explanation: The most significant changes that were introduced in SNMPv2 were to improve the security function that SNMPv1 lacked. There are significant differences between the two versions of SNMP, and unfortunately version 2 is not backward compatible with version 1.
Note: Join free Sanfoundry classes at Telegram or Youtube

6. In Textual Convention ________ clause is applicable to situations where the underlying primitive type is either INTEGER or OCTET STRING.
a) ROW-STATUS
b) DISPLAY-STRING
c) ROW-POINTER
d) DISPLAY-HINT
View Answer

Answer: d
Explanation: The DISPLAY-HINT clause in TEXTUAL-CONVENTION is optional. It gives a hint of the value of an instance of an object. It is applicable to situations where the underlying primitive type is either INTEGER or OCTET STRING.

7. In SNMPv2, there are total of six protocol operations.
a) True
b) False
View Answer

Answer: b
Explanation: The messages, get-request, get-next-request, set-request, get-response, GetBulkRequest, InformRequest, and get-bulk-request are the seven protocol operations in SNMPv2.
advertisement

8. ________ describes how to use a subset of ASN.1 to define an information module.
a) DNS
b) NMS
c) SMI
d) MIB
View Answer

Answer: c
Explanation: There are three kinds of information modules that are defined in SNMPV2. They are MIB modules, compliance statements for MIB modules, and capability statements for agent implementations. Structured Management Information (SMI) describes how to use a subset of ASN.1 to define an information module.

9. The conformance information, which encompasses both compliance and agent capabilities, is covered in _________
a) RFC 1904
b) RFC 1902
c) RFC 1903
d) RFC 1905
View Answer

Answer: a
Explanation: The information on SNMPv2 has been split into three parts. MIB modules for SNMv2 are covered in RFC 1902. The textual conventions to be used to describe MIB modules have been formalized in RFC 1903. RFC 1904 defines SNMPv2 conformance statements for the implementation of network management standards.
advertisement

10. Module definitions in SNMPv2 are equivalent to trap in SNMPv1.
a) True
b) False
View Answer

Answer: b
Explanation: Notification in SMlv2 is equivalent to trap in SNMPv2. In SNMPv1, trap is formally specified by an ASN.1 macro, TRAP-TYPE.

Sanfoundry Global Education & Learning Series – Computer Networks.

To practice all areas of Computer Networks, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.