exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 353 discussion

Actual exam question from Cisco's 350-401
Question #: 353
Topic #: 1
[All 350-401 Questions]

What is a characteristic of YANG?

  • A. It is a Cisco proprietary language that models NETCONF data.
  • B. It allows model developers to create custom data types.
  • C. It structures data in an object-oriented fashion to promote model reuse.
  • D. It provides loops and conditionals to control flow within models.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Jared28
Highly Voted 2 years, 12 months ago
Selected Answer: C
As per the official study guide/practice exam for 350-401
upvoted 11 times
mgiuseppe86
1 year, 9 months ago
At this point I dont even think Cisco understands what YANG does...
upvoted 11 times
...
...
Uny
Most Recent 1 week, 3 days ago
Selected Answer: B
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.
upvoted 1 times
...
Sourcream4prez
4 weeks, 1 day ago
Selected Answer: B
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.
upvoted 1 times
...
everiq
5 months, 2 weeks ago
Selected Answer: B
C is incorrect because Yang organizes data in structured and hierarchical manner , it does Not use a Purely object-oriented aproach.
upvoted 1 times
...
wengzaii96
11 months, 1 week ago
B is the answer
upvoted 2 times
...
Adalberto
1 year ago
Selected Answer: C
C is the answer
upvoted 3 times
...
[Removed]
1 year ago
Selected Answer: C
im going with C
upvoted 2 times
...
[Removed]
1 year, 1 month ago
i think both B and C are correct but I will go with C
upvoted 1 times
...
Shri_Fcb10
1 year, 1 month ago
Selected Answer: C
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).
upvoted 2 times
...
d4doppelganger
1 year, 3 months ago
Selected Answer: B
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.
upvoted 2 times
...
PureInertiaCopy
1 year, 10 months ago
Selected Answer: B
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.
upvoted 2 times
...
MJane
2 years, 2 months ago
Selected Answer: C
- it defines data, not creates. - and it structures data, doesn't say it's OO
upvoted 2 times
...
asiansensation
2 years, 2 months ago
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.
upvoted 3 times
...
x3rox
2 years, 4 months ago
Selected Answer: B
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/
upvoted 4 times
...
Rose66
2 years, 5 months ago
Selected Answer: B
Seems that the key word is "object-oriented" ... YANG is NOT object-oriented
upvoted 4 times
mrtattoo
2 years, 1 month ago
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.
upvoted 1 times
...
Rose66
2 years, 5 months ago
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."
upvoted 2 times
...
...
WINDSON
2 years, 5 months ago
Selected Answer: B
https://www.examtopics.com/exams/cisco/350-401/view/36/#
upvoted 1 times
...
Fadhelben
2 years, 6 months ago
Selected Answer: B
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.
upvoted 3 times
...
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.

SaveCancel
Loading ...