300-435 · Question #26
Refer to the exhibit. How many YANG models does the NETCONF <get> operation interact with? <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101"> <get> <filter type="subtree"> <ntp>…
The correct answer is C. three. The NETCONF <get> operation interacts with three distinct YANG models, inferred from the top-level XML elements within the filter.
Question
Exhibit
Options
- Aone
- Btwo
- Cthree
- Dfour
How the community answered
(20 responses)- B5% (1)
- C85% (17)
- D10% (2)
Why each option
The NETCONF <get> operation interacts with three distinct YANG models, inferred from the top-level XML elements within the filter.
The filter clearly requests data from more than one top-level element, indicating interaction with multiple YANG models.
There are three distinct top-level elements requested, not just two, each implying a different YANG model.
The XML filter specifies elements from three distinct conceptual data models: <ntp> for NTP configuration, <native> for general device native configuration, and <ntp-status-info> for NTP operational status. Each of these typically corresponds to a separate YANG model, such as ietf-ntp, cisco-ios-xe-native, and cisco-ios-xe-ntp-oper respectively.
Only three distinct top-level elements are identified in the filter, each corresponding to a specific YANG model.
Concept tested: NETCONF YANG model interaction
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/169/b_169_programmability_cg/netconf_yang.html
Topics
Community Discussion
No community discussion yet for this question.
