300-435 · Question #37
300-435 Question #37: Real Exam Question with Answer & Explanation
The correct answer is A: grouping. The YANG grouping statement allows developers to define a reusable block of data model definitions that can be easily referenced and instantiated in other parts of a data model, promoting modularity.
Question
Which YANG statement defines a block of other statements that can be easily referenced in other areas of a data model?
Options
- Agrouping
- Bcontainer
- Csubmodule
- Dmodule
Explanation
The YANG grouping statement allows developers to define a reusable block of data model definitions that can be easily referenced and instantiated in other parts of a data model, promoting modularity.
Common mistakes.
- B. A
containerin YANG is a non-leaf node used to organize data into a hierarchical structure, but it does not provide reusability for definitions in the same way agroupingdoes. - C. A
submodulein YANG is used to break down a largermoduleinto smaller, more manageable files, rather than defining a reusable block of statements within the data model itself. - D. A
moduleis the top-level organizational unit in YANG, defining a complete data model, but it is not a statement for defining reusable blocks within the data model.
Concept tested. YANG data modeling grouping statement
Reference. https://www.rfc-editor.org/rfc/rfc7950#section-7.11
Topics
Community Discussion
No community discussion yet for this question.