nerdexam
CiscoCisco

350-401 · Question #475

350-401 Question #475: Real Exam Question with Answer & Explanation

The correct answer is B: It allows model developers to create custom data types. YANG Data Modeling Language Option B is correct because YANG explicitly supports the creation of custom data types through its typedef statement, allowing model developers to define new types based on existing built-in types (like strings, integers, etc.) with specific constraint

Submitted by daniela_cl· Mar 6, 2026Automation

Question

What is a characteristic of YANG?

Options

  • AIt is a Cisco proprietary language that models NETCONF data
  • BIt allows model developers to create custom data types
  • CIt structures data in an object-oriented fashion to promote model reuse
  • DIt provides loops and conditionals to control now within models

Explanation

YANG Data Modeling Language

Option B is correct because YANG explicitly supports the creation of custom data types through its typedef statement, allowing model developers to define new types based on existing built-in types (like strings, integers, etc.) with specific constraints and validation rules - this is a fundamental and well-documented feature of YANG.

Why the distractors are wrong:

  • A is incorrect because YANG is an open, IETF-standard language (defined in RFC 6020/7950), not Cisco proprietary - it was designed to be vendor-neutral and works with NETCONF, RESTCONF, and other protocols
  • C is incorrect because YANG structures data in a hierarchical (tree-based) fashion, not object-oriented; while it does support reuse through grouping and uses statements, the paradigm is not object-oriented
  • D is incorrect because YANG is a data modeling language, not a programming language - it describes the structure and constraints of data but does not contain procedural constructs like loops or conditionals

💡 Memory Tip: Think of YANG as a blueprint language - it defines what data looks like (including custom types), not how to process it. Remember the acronym: Yet Another Next Generation - it's a modeling tool, not a scripting tool.

Topics

#YANG#Data Modeling#Custom Data Types

Community Discussion

No community discussion yet for this question.

Full 350-401 PracticeBrowse All 350-401 Questions