nerdexam
Cisco

350-501 · Question #375

What is a characteristic of the YANG model?

The correct answer is B. It uses containers to categorize related nodes. The YANG data modeling language organizes configuration and state data into logical hierarchies, primarily using containers to group related data nodes.

Automation and Assurance

Question

What is a characteristic of the YANG model?

Options

  • AAssociate types are optional for each leaf.
  • BIt uses containers to categorize related nodes.
  • CIt is a distributed model of nodes.
  • DSpines are used to represent individual attributes of nodes.

How the community answered

(31 responses)
  • B
    94% (29)
  • C
    3% (1)
  • D
    3% (1)

Why each option

The YANG data modeling language organizes configuration and state data into logical hierarchies, primarily using containers to group related data nodes.

AAssociate types are optional for each leaf.

In YANG, every leaf node must be explicitly assigned a specific data type (e.g., integer, string, boolean), making the concept of 'associate types are optional' incorrect.

BIt uses containers to categorize related nodes.Correct

YANG (Yet Another Next Generation) is a data modeling language that structures configuration and state data into a tree-like hierarchy, and containers are fundamental elements used to group related data nodes together, providing a logical and organized structure for the model.

CIt is a distributed model of nodes.

YANG itself is a data modeling language that defines the structure of data, not a distributed model of nodes; while the systems it models might be distributed, YANG's primary characteristic is modeling data structure.

DSpines are used to represent individual attributes of nodes.

The term 'spines' is not a standard element or concept used in the YANG data modeling language to represent individual attributes of nodes; attributes are typically represented by leaf nodes.

Concept tested: YANG data model structure

Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/169/b_169_programmability_cg/yang_data_models.html

Topics

#YANG#Data Modeling#Network Automation#Containers

Community Discussion

No community discussion yet for this question.

Full 350-501 Practice