Implementing Automation for Cisco Service Provider Solutions (SPAUTO) — Question 34
An engineer must change from using NETCONF for streaming telemetry to telemetry data using gRPC framework because NETCONF uses XML for message and payload encoding. Which two messages and payload encodings does gNMI use? (Choose two.)
Answer options
- A. gNMI notifications with XML
- B. protobuf notifications with XML
- C. protobuf payload
- D. JSON payload
- E. gNMI notifications with JSON
Correct answer: C, E
Explanation
The correct answers are C and E because gNMI leverages Protocol Buffers (protobuf) for its payload encoding, which is more efficient than XML. Additionally, gNMI supports JSON for notifications, making E another correct choice. Options A and B are incorrect as gNMI does not use XML for notifications or payloads.