nerdexam
Cisco

350-401 · Question #377

What is YANG used for?

The correct answer is C. describing data models. YANG Explained YANG (Yet Another Next Generation) is a data modeling language used to describe the structure, syntax, and semantics of network configuration and state data - making option C correct. It defines what data looks like (e.g., interfaces, routing tables), but does not

Submitted by cyberguy42· Mar 6, 2026Automation

Question

What is YANG used for?

Options

  • Ascraping data via CLI
  • Bprocessing SNMP read-only polls
  • Cdescribing data models
  • Dproviding a transport for network configuration data between client and server

How the community answered

(48 responses)
  • A
    4% (2)
  • B
    2% (1)
  • C
    94% (45)

Explanation

YANG Explained

YANG (Yet Another Next Generation) is a data modeling language used to describe the structure, syntax, and semantics of network configuration and state data - making option C correct. It defines what data looks like (e.g., interfaces, routing tables), but does not handle how that data is transported or retrieved.

Why the distractors are wrong:

  • A (CLI scraping): CLI scraping is an informal, unstructured method using tools like Expect scripts - YANG has nothing to do with this.
  • B (SNMP read-only polls): SNMP is a separate protocol with its own data modeling system (MIBs); YANG is associated with NETCONF/RESTCONF, not SNMP.
  • D (transport for configuration data): This describes NETCONF (which uses SSH as transport) or RESTCONF (which uses HTTP). YANG is the model, while NETCONF/RESTCONF are the transport/protocol mechanisms.

Memory Tip: Think of YANG as the blueprint and NETCONF/RESTCONF as the delivery truck. YANG describes the data; NETCONF/RESTCONF moves it. "YANG = Your data model's Architectural New Guide."

Topics

#YANG#Data Modeling#Network Automation

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice