Courseiva
mediumMultiple Choice

CCNP Practice Question: Examine the following telemetry configuration on…

Examine the following telemetry configuration on a Cisco IOS-XE device:

telemetry ietf subscription 200 encoding encode-kvgpb filter xpath /interfaces/interface[name='GigabitEthernet0/0/0']/state stream yang-push update-policy on-change receiver ip address 192.168.1.100 50001 protocol grpc

Which statement is true about this configuration?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Data is pushed only when a change occurs in the state of GigabitEthernet0/0/0.

This subscription uses on-change update policy, so data is pushed only when a change occurs in the specified subtree.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Data is pushed only when a change occurs in the state of GigabitEthernet0/0/0.

    Why this is correct

    The update-policy on-change setting makes the subscription push telemetry only when the subscribed YANG state data changes, rather than at fixed intervals. The xpath filter scopes this to GigabitEthernet0/0/0's state, so no periodic stream occurs while values remain static.

  • ✗

    Data is pushed every 200 seconds to the collector.

    Why it's wrong here

    The number 200 is the subscription identifier, not a timer; update-policy on-change means data is pushed only when the monitored state changes. It is tempting because subscription IDs resemble interval values, and a periodic subscription would be correct if the configuration instead specified update-policy periodic with a time interval.

  • ✗

    The subscription uses JSON encoding.

    Why it's wrong here

    The encoding is encode-kvgpb, which serialises telemetry as key-value pairs over gRPC, not JSON. It is tempting because JSON is a common telemetry format, and encode-json would be correct if the subscription were configured to send JSON-encoded data to the collector.

  • ✗

    The filter selects all interfaces, not just GigabitEthernet0/0/0.

    Why it's wrong here

    The XPath predicate [name='GigabitEthernet0/0/0'] restricts the filter to that single interface, so other interfaces are excluded. It is tempting because XPath filters can select whole lists, and omitting the predicate would be correct when telemetry for every interface on the device is required.

About these practice questions

One of 1,923 original 350-401 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 350-401 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 350-401 exam.