exam questions

Exam 300-535 All Questions

View all questions & answers for the 300-535 exam

Exam 300-535 topic 1 question 38 discussion

Actual exam question from Cisco's 300-535
Question #: 38
Topic #: 1
[All 300-535 Questions]


Refer to the exhibit. What is the significance of "*" before the "father" leaf that is shown in the pyang tree output?

  • A. It is a node list in a leaf type node.
  • B. The father leaf is a key in the family list type.
  • C. The leaf father is read-write in the family list.
  • D. The node father is read-only in the family list.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
endermao
Highly Voted 3 years, 7 months ago
Correct Answer is A. * is for a list: https://tools.ietf.org/id/draft-ietf-netmod-yang-tree-diagrams-01.html <opts> is one of: ? for an optional leaf, choice, anydata or anyxml ! for a presence container * for a leaf-list or list [<keys>] for a list's keys / for a mounted module @ for a node made available via a schema mount
upvoted 7 times
bldr
2 years, 10 months ago
list in a leaf is not possible thus the answer is not A
upvoted 2 times
[Removed]
1 year, 4 months ago
It is not a leaf-list. It is a node list in leaf type node. A is correct
upvoted 1 times
...
...
...
JM_Lee
Highly Voted 3 years ago
As I think, the answer is B. Because family is a list-node not a leaf-type list.
upvoted 5 times
arthurb
3 years ago
agree, also the * represents a key
upvoted 2 times
...
...
karen1337
Most Recent 7 months, 1 week ago
Selected Answer: B
This is very easy to check yourself. pyang -f tree openconfig-interfaces.yang module: openconfig-interfaces +--rw interfaces +--rw interface* [name] https://github.com/YangModels/yang/blob/main/vendor/cisco/xr/732/openconfig-interfaces.yang#L1029 You can see... list interface { key "name" followed by... leaf name { The "name" leaf is a key in the "interface" list type.
upvoted 1 times
...
Mellon
1 year, 9 months ago
https://datatracker.ietf.org/doc/rfc8340/ square-bracket is key, * is list or leaf-list
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...