nerdexam
Cisco

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.

Network Automation Foundation

Question

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> <server-list> <ip-address>10.11.10.65</ip-address> </server-list> </ntp> </native> <ntp-status-info> <ntp-associations> <peer-statu/> </ntp-associations> <ntp-status-info> </filter> </get> </rpc>

Exhibit

300-435 question #26 exhibit

Options

  • Aone
  • Btwo
  • Cthree
  • Dfour

How the community answered

(20 responses)
  • B
    5% (1)
  • C
    85% (17)
  • D
    10% (2)

Why each option

The NETCONF <get> operation interacts with three distinct YANG models, inferred from the top-level XML elements within the filter.

Aone

The filter clearly requests data from more than one top-level element, indicating interaction with multiple YANG models.

Btwo

There are three distinct top-level elements requested, not just two, each implying a different YANG model.

CthreeCorrect

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.

Dfour

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

#NETCONF#YANG#Data Models#Filtering

Community Discussion

No community discussion yet for this question.

Full 300-435 Practice