nerdexam
Cisco

200-901 · Question #129

Refer to the exhibit. What is the value of the node defined by this YANG structure? A. B. C. D.

The correct answer is C. { "IPPeer": "10.1.1.1" }. When a string representing a union data type is validated, the string is validated against each member type, in the order they are specified in the "type" statement, until a match is found. https://datatracker.ietf.org/doc/html/rfc6020#page-132

Understanding and Using APIs

Question

Refer to the exhibit. What is the value of the node defined by this YANG structure? A. B. C. D.

Exhibit

200-901 question #129 exhibit

Options

  • A{ "IPPeer": [ "10.1.1.1" ] }
  • B{ "IPPeer": "10.1.1.1 2001:db::1" }
  • C{ "IPPeer": "10.1.1.1" }
  • D{ "IPPeer": [ "10.1.1.1", "2001:db::1" ] }

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    6% (2)
  • C
    73% (24)
  • D
    15% (5)

Explanation

When a string representing a union data type is validated, the string is validated against each member type, in the order they are specified in the "type" statement, until a match is found. https://datatracker.ietf.org/doc/html/rfc6020#page-132

Topics

#YANG#Data Modeling#API Data Models#Network Programmability

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice