YANG (Yet Another Next Generation) is a data modeling language used to model configuration and state data manipulated by protocols such as NETCONF. Here's a breakdown of the options:
A. ❌ Incorrect – YANG is not Cisco proprietary; it is a standardized language defined by the IETF (Internet Engineering Task Force).
B. ✅ Correct – YANG does allow the creation of custom data types, which enables model developers to define reusable and constrained types suited to their needs.
C. ❌ Incorrect – YANG is not object-oriented. It uses a hierarchical data tree but doesn’t promote object-oriented principles like inheritance in the same way traditional OO languages do.
D. ❌ Incorrect – YANG is not a programming language and does not support control flow constructs like loops or conditionals.
YANG is a data modeling language used to model configuration and state data manipulated by the NETCONF protocol. It is:
Standardized by the IETF (not proprietary to Cisco).
Designed to allow the creation of custom and reusable data types.
Structured in a tree-like, schema-based format, but not object-oriented.
Not a programming language — it does not support loops or conditionals.
YANG is a declarative modeling language that allows defining custom types, containers, lists, and leaf nodes for configuration/state data — making B the correct choice.
Both options B and C are correct characteristics of YANG
YANG allows model developers to define custom data types using typedef statements (B), and it structures data in a hierarchical and object-oriented fashion, promoting modularity and reuse through mechanisms such as grouping, import, and include statements (C).
B. It allows model developers to create custom data types.
This option is correct. YANG indeed allows model developers to define custom data types, enhancing the expressiveness and flexibility of YANG data models.
C. It structures data in an object-oriented fashion to promote model reuse.
This option is also correct. YANG is designed to structure data hierarchically and in an object-oriented manner, promoting model reuse through features like grouping, augmentation, and inheritance.
Given that we need to choose only one option, the best choice would be:
B. It allows model developers to create custom data types.
This option succinctly captures one of the key features of YANG, which is the ability to define custom data types within data models.
The correct answer is:
B. It allows model developers to create custom data types.
Explanation:
YANG (Yet Another Next Generation) is a data modeling language used to define the structure and semantics of data that is managed by network protocols such as NETCONF (Network Configuration Protocol) or RESTCONF (RESTful Network Configuration Protocol). YANG is not specific to Cisco; it is an industry-standard language used by various networking vendors.
Option A is incorrect because YANG is not a Cisco proprietary language; it is an open standard used by multiple vendors.
Option C is partially correct, as YANG does promote model reuse and modularity through its data structuring approach, but it does not necessarily follow an object-oriented fashion.
Option D is incorrect because YANG does not provide loops and conditionals for controlling flow within models. It is primarily focused on describing the structure and attributes of data, rather than programming logic.
YANG is a data modeling language used to model configuration and state data of network elements, network services, and network protocols. It structures data in a hierarchical tree format similar to object-oriented programming, which promotes model reuse and flexibility.
The YANG language includes a set of built-in data types. The language also allows, however, the ability for developers to define custom data types.
Source: https://ultraconfig.com.au/blog/learn-yang-full-tutorial-for-beginners/
object-oriented fashin != object-oriented. In YANG, data is modeled using modules, which are similar to classes in an object-oriented programming language.Modules contain various elements that define the data being modeled, including data types, data nodes, and operations. Data nodes in YANG are similar to objects in an object-oriented programming language, and they can have properties and methods.
From RFC6020: "This document describes the syntax and semantics of the YANG
language, how the data model defined in a YANG module is represented
in the Extensible Markup Language (XML), and how NETCONF operations
are used to manipulate the data."
From RFC 6020 - YANG:
-YANG structures data models into modules and submodules. (not an object-oriented fashion.)
-YANG defines a set of built-in types, and has a type mechanism through which additional types may be defined.
So I go with B.
This section is not available anymore. Please use the main Exam Page.350-401 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Jared28
Highly Voted 2 years, 12 months agomgiuseppe86
1 year, 9 months agoUny
Most Recent 1 week, 3 days agoSourcream4prez
4 weeks, 1 day agoeveriq
5 months, 2 weeks agowengzaii96
11 months, 1 week agoAdalberto
1 year ago[Removed]
1 year ago[Removed]
1 year, 1 month agoShri_Fcb10
1 year, 1 month agod4doppelganger
1 year, 3 months agoPureInertiaCopy
1 year, 10 months agoMJane
2 years, 2 months agoasiansensation
2 years, 2 months agox3rox
2 years, 4 months agoRose66
2 years, 5 months agomrtattoo
2 years, 1 month agoRose66
2 years, 5 months agoWINDSON
2 years, 5 months agoFadhelben
2 years, 6 months ago