nerdexam
Cisco

350-501 · Question #596

What are two purposes of a data-modeling language such as YANG? (Choose two.)

The correct answer is A. defining a hierarchical data scheme B. modeling notifications, data configuration, and data status. YANG is a data-modeling language used to formally define a hierarchical data scheme and to model various aspects of network device operations, including configuration, operational status, and notifications.

Automation and Assurance

Question

What are two purposes of a data-modeling language such as YANG? (Choose two.)

Options

  • Adefining a hierarchical data scheme
  • Bmodeling notifications, data configuration, and data status
  • Cdefining a relational-model data scheme
  • Ddefining a semi-structured data scheme
  • Edefining API calls, JSON format, and XML structure

How the community answered

(20 responses)
  • A
    95% (19)
  • C
    5% (1)

Why each option

YANG is a data-modeling language used to formally define a hierarchical data scheme and to model various aspects of network device operations, including configuration, operational status, and notifications.

Adefining a hierarchical data schemeCorrect

YANG defines a strict hierarchical data scheme, organizing configuration and state data in a tree-like structure, which provides a clear and organized way to represent network device information.

Bmodeling notifications, data configuration, and data statusCorrect

YANG is explicitly designed to model not only configuration data but also operational state data, Remote Procedure Calls (RPCs), and asynchronous event notifications, providing a comprehensive definition of a device's data plane.

Cdefining a relational-model data scheme

YANG uses a hierarchical (tree-like) data model, which is distinct from a relational-model data scheme used in relational databases.

Ddefining a semi-structured data scheme

While data modeled by YANG can be represented in semi-structured formats like JSON or XML, YANG itself defines a structured schema, not a semi-structured one.

Edefining API calls, JSON format, and XML structure

YANG defines the content and structure of the data, which can then be serialized into formats like JSON or XML and used by API calls; however, it does not define the API calls or the serialization formats themselves.

Concept tested: YANG Data Modeling Purposes

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 Language#Network Automation#Configuration Management

Community Discussion

No community discussion yet for this question.

Full 350-501 Practice