nerdexam
Cisco

300-435 · Question #47

Refer to the exhibit. Which NETCONF statement type is represented by +--rw address* [ip]?

The correct answer is A. list. The NETCONF statement +--rw address [ip] represents a list because it indicates a node that can have multiple instances (denoted by `) and is uniquely identified by a key ([ip]`).

Network Automation Foundation

Question

Refer to the exhibit. Which NETCONF statement type is represented by +--rw address* [ip]?

Options

  • Alist
  • Bleaf-list
  • CContainer
  • DSubmodule

How the community answered

(34 responses)
  • A
    88% (30)
  • B
    3% (1)
  • C
    3% (1)
  • D
    6% (2)

Why each option

The NETCONF statement `+--rw address* [ip]` represents a `list` because it indicates a node that can have multiple instances (denoted by `*`) and is uniquely identified by a key (`[ip]`).

AlistCorrect

The `*` symbol in `+--rw address* [ip]` signifies that there can be zero or more instances of the `address` node, and `[ip]` indicates that each instance is uniquely identified by the `ip` key, which are defining characteristics of a YANG `list` statement.

Bleaf-list

A `leaf-list` defines a sequence of simple data nodes (leaves) of the same type, but it does not have keys or complex child nodes like `address* [ip]` implies.

CContainer

A `container` groups related data nodes but does not allow multiple instances of itself or define a key for identification, unlike a `list`.

DSubmodule

A `submodule` is a YANG module organization construct, used to split a large YANG module, and is not a type of data node represented within a data tree structure.

Concept tested: YANG data model list definition

Source: https://www.rfc-editor.org/rfc/rfc7950#section-7.8

Topics

#YANG#NETCONF#Data Modeling#List

Community Discussion

No community discussion yet for this question.

Full 300-435 Practice