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
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.
https://datatracker.ietf.org/doc/rfc8340/
square-bracket is key, * is list or leaf-list
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.300-535 Exam Questions
Log in to ExamTopics
Sign in:
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.
endermao
Highly Voted 3 years, 7 months agobldr
2 years, 10 months ago[Removed]
1 year, 4 months agoJM_Lee
Highly Voted 3 years agoarthurb
3 years agokaren1337
Most Recent 7 months, 1 week agoMellon
1 year, 9 months ago