300-435 · Question #34
Which tag is required when establishing a YANG-push subscription with a Cisco IOS XE device?
The correct answer is D. <yp:xpath-filter>. When establishing a YANG-push subscription, the <yp:xpath-filter> tag is required to specify precisely which data nodes the subscriber is interested in receiving.
Question
Exhibit
Options
How the community answered
(35 responses)- A3% (1)
- B3% (1)
- C6% (2)
- D89% (31)
Why each option
When establishing a YANG-push subscription, the `<yp:xpath-filter>` tag is required to specify precisely which data nodes the subscriber is interested in receiving.
While `<yp:period>` is often included for periodic subscriptions, it is not strictly required for all YANG-push subscriptions (e.g., on-change subscriptions) and does not define the data itself.
`<yp:subscription-result>` is an element provided by the device in the *response* to an `establish-subscription` RPC, indicating the outcome, not part of the request.
`<yp:subscription-id>` is an identifier assigned by the device in the *response* to an `establish-subscription` RPC, enabling the subscriber to manage or terminate the specific subscription, not part of the request.
The `<yp:xpath-filter>` tag is essential and required when establishing a YANG-push subscription because it precisely defines the subset of data from the YANG data tree that the subscriber wants to receive, without which the device would not know what data to push.
Concept tested: YANG-push subscription requirements
Source: https://datatracker.ietf.org/doc/html/rfc8639
Topics
Community Discussion
No community discussion yet for this question.
