nerdexam
Cisco

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.

Device-Level Network Automation

Question

Which tag is required when establishing a YANG-push subscription with a Cisco IOS XE device?

Exhibit

300-435 question #34 exhibit

Options

How the community answered

(35 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    6% (2)
  • D
    89% (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.

A<yp:period>

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.

B<yp:subscription-result>

`<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.

C<yp:subscription-id>

`<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.

D<yp:xpath-filter>Correct

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

#YANG-push#Model-Driven Telemetry#Network Programmability#Data Streaming

Community Discussion

No community discussion yet for this question.

Full 300-435 Practice