Courseiva

200-901 Infrastructure and Automation Practice Question

A Cisco DevNet engineer is configuring model-driven telemetry on a Cisco IOS-XE device. The telemetry subscription includes the following path: 'Cisco-IOS-XE-native:native/interface/GigabitEthernet[Name='1/0/1']/ip/address'. Which part of this path identifies a specific list instance?

⚠ Common exam trap

Cisco often tests whether candidates confuse the YANG module name or the list node name with the list instance identifier, leading them to pick the module or the list name instead of the key predicate.

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

✓

[Name='1/0/1']

The XPath expression `[Name='1/0/1']` is a predicate filter that selects a specific list instance from the `GigabitEthernet` YANG list. In YANG model-driven telemetry, list keys are used to identify individual entries, and the predicate syntax `[key='value']` pinpoints exactly one instance within the list.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Cisco-IOS-XE-native

    Why it's wrong here

    The module name `Cisco-IOS-XE-native` only declares which YANG model supplies the data; it never selects a list entry. The predicate `[Name='1/0/1']` performs that selection, keying the GigabitEthernet list instance. Module prefixes are tempting because they anchor every path, but they identify the schema namespace, not a specific interface.

  • ✓

    [Name='1/0/1']

    Why this is correct

    The bracketed predicate `[Name='1/0/1']` selects a single list entry by matching the key leaf `Name`, satisfying the stem's requirement to identify one specific list instance. In YANG, list nodes are keyed, and this XPath-style predicate filters the `GigabitEthernet` list down to the entry whose key equals `1/0/1`.

  • ✗

    GigabitEthernet

    Why it's wrong here

    GigabitEthernet is the list node itself, not a specific entry within it. The predicate [Name='1/0/1'] supplies the key value that distinguishes one instance from others in that list. Naming the container is tempting because it is the most recognisable word in the path, yet it identifies the collection, not the member.

  • ✗

    ip/address

    Why it's wrong here

    The ip/address segment names a leaf container holding address configuration, not the list entry itself. It is tempting because it is the deepest, most specific element in the path, but list instance identification comes from the keyed predicate Name='1/0/1' on the GigabitEthernet list node.

About these practice questions

This 200-901 question is part of Courseiva's 975-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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 200-901 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 200-901 exam.