nerdexam
CiscoCisco

350-401 · Question #433

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

The correct answer is C: It enforces configuration constraints.. YANG Benefits Explanation YANG enforces configuration constraints (C) by defining rules, data types, and validation logic that ensure only valid configurations can be applied to a device - for example, restricting a value to a specific range or requiring certain fields to be pres

Submitted by kwame.gh· Mar 6, 2026Automation

Question

What are two benefits of YANG? (Choose two.)

Options

  • AIt enables multiple leaf statements to exist within a leaf list
  • BIt collects statistical constraint analysis information.
  • CIt enforces configuration constraints.
  • DIt enforces configuration semantics.
  • EIt enforces the use of a specific encoding format for NETCONF

Explanation

YANG Benefits Explanation

YANG enforces configuration constraints (C) by defining rules, data types, and validation logic that ensure only valid configurations can be applied to a device - for example, restricting a value to a specific range or requiring certain fields to be present. YANG also enforces the use of a specific encoding format for NETCONF (E), as it works directly with NETCONF to define how data is structured and encoded (typically XML), ensuring consistent data modeling across implementations.

Why the distractors are wrong:

  • (A) A leaf-list contains multiple instances of the same leaf type, but a leaf statement itself is singular by definition - multiple leaf statements don't exist within a leaf-list.
  • (B) YANG does not collect statistical constraint analysis; that is not a function of a data modeling language.
  • (D) YANG enforces syntax and structure (constraints), not semantic meaning - semantics refer to the intent of configuration, which is beyond YANG's scope.

💡 Memory Tip: Think of YANG as a rulebook and blueprint - it constrains what you can configure (C) and dictates the format in which NETCONF communicates (E). If a choice sounds like analytics or meaning-interpretation, it's likely wrong.

Topics

#YANG#NETCONF#Data Modeling#Configuration Management

Community Discussion

No community discussion yet for this question.

Full 350-401 PracticeBrowse All 350-401 Questions