nerdexam
Cisco

350-501 · Question #584

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

The correct answer is B. modeling notifications, data configuration and data status C. defining a hierarchical data scheme. Two primary purposes of a data-modeling language like YANG are to model configuration data, operational state, and notifications for network devices, and to define a strict hierarchical structure for this data.

Automation and Assurance

Question

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

Options

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

How the community answered

(33 responses)
  • B
    91% (30)
  • D
    3% (1)
  • E
    6% (2)

Why each option

Two primary purposes of a data-modeling language like YANG are to model configuration data, operational state, and notifications for network devices, and to define a strict hierarchical structure for this data.

Adefining API calls, JSON format and XML structure

While YANG models are used in conjunction with API calls and define the data structures for formats like JSON or XML, its core purpose is to model the data itself, not to define the API calls or the encoding formats.

Bmodeling notifications, data configuration and data statusCorrect

YANG models are specifically designed to define and represent the configuration data, operational state data, and notifications that network devices utilize, enabling a structured and standardized approach to network management.

Cdefining a hierarchical data schemeCorrect

YANG establishes a hierarchical data scheme, organizing network device parameters and operational information into a tree-like structure, which provides a clear and programmatic way to access and manipulate data.

Ddefining a semi-structured data scheme

YANG defines a *structured* data scheme with strict rules and types, not a semi-structured one, which implies a less rigid organization.

Edefining a relational-model data scheme

YANG's data model is inherently hierarchical (tree-based), not a relational model, which is typically associated with traditional databases.

Concept tested: YANG data modeling language purposes

Source: https://developer.cisco.com/docs/ios-xe/#!netconf-yang-apis/yang-model-overview

Topics

#YANG#Data Modeling#Network Automation#Configuration Management

Community Discussion

No community discussion yet for this question.

Full 350-501 Practice