300-435 · Question #85
Refer to the exhibit. What is a characteristic of the tree?
The correct answer is B. two leaf-lists. The exhibit, a YANG tree diagram, visually represents two distinct data nodes defined as 'leaf-lists', which are ordered lists of simple type values.
Question
Options
- Athree optional metrics
- Btwo leaf-lists
- Cten leaf-lists
- Dthree containers
How the community answered
(26 responses)- B88% (23)
- C4% (1)
- D8% (2)
Why each option
The exhibit, a YANG tree diagram, visually represents two distinct data nodes defined as 'leaf-lists', which are ordered lists of simple type values.
The exhibit does not display three data nodes designated as optional metrics; 'optional' is a property of a `leaf` or `container`, and 'metric' is not a standard YANG data node type.
A `leaf-list` is a data node that holds a list of values of a specific YANG simple type. The exhibit clearly illustrates two distinct data nodes within the YANG tree that are defined as `leaf-list` entries.
The exhibit only contains two `leaf-list` entries, not ten.
The exhibit shows a different number of `container` nodes than three, or it only shows nested `container`s implicitly rather than three top-level ones.
Concept tested: YANG data model structure - leaf-lists
Source: https://datatracker.ietf.org/doc/html/rfc7950
Topics
Community Discussion
No community discussion yet for this question.