Q: 16
Refer to the exhibit.
A RESTCONF GET request is sent to a Cisco IOS XE device. The base URL of the request and the
response in XML format are shows in the exhibit. what is the YANG data node that is referenced in
the response?
A RESTCONF GET request is sent to a Cisco IOS XE device. The base URL of the request and the
response in XML format are shows in the exhibit. what is the YANG data node that is referenced in
the response?Options
Discussion
Option B
Yeah, it's B. Static-routes is a container node per the YANG model, not a list or leaf-list like some might think from other options. Pretty sure unless they're being extra tricky with wording.
B tbh, seen similar on practice exams and official guide agrees static-routes is a container.
B , static-routes is a container in the Cisco YANG models. Trap here is A, route is usually a leaf-list inside the static-routes container. Pretty sure from lab experience, but happy to be corrected if there's a nuance.
Option B I think static-routes is correct here since that's a container type in Cisco YANG models, but not totally sure.
I think it's actually D, because routing-instance usually wraps around other nodes. Pretty sure that's it but open to correction.
Had something like this in a mock, B.
Probably B. In Cisco's YANG models,
static-routes is actually defined as a container. You can see from the XML in the exhibit that it wraps other nodes, which is what containers do. I'm like 90% on this but correct me if someone thinks otherwise.Had something like this in a mock-static-routes as a container definitely fits B, right?
Pretty sure B is right here, since static-routes is defined as a container in the Cisco YANG model. The exhibit's XML shows that structure too. Seen similar layout in practice labs. Could be wrong though if the question meant something more specific.
Be respectful. No spam.