nerdexam
Cisco

350-401 · Question #141

Which protocol infers that a YANG data model is being used?

The correct answer is D. RESTCONF. RESTCONF is the correct answer because it is specifically designed to work with YANG data models, using HTTP methods to expose YANG-modeled data via a RESTful interface. RESTCONF (defined in RFC 8040) inherently requires and infers the use of YANG as its underlying data modeling

Submitted by thandi_sa· Mar 6, 2026Automation

Question

Which protocol infers that a YANG data model is being used?

Options

  • ASNMP
  • BNX-API
  • CREST
  • DRESTCONF

How the community answered

(41 responses)
  • A
    2% (1)
  • B
    5% (2)
  • C
    5% (2)
  • D
    88% (36)

Explanation

RESTCONF is the correct answer because it is specifically designed to work with YANG data models, using HTTP methods to expose YANG-modeled data via a RESTful interface. RESTCONF (defined in RFC 8040) inherently requires and infers the use of YANG as its underlying data modeling language.

Why the distractors are wrong:

  • SNMP (A) uses its own data modeling language called SMI (Structure of Management Information) with MIBs, not YANG.
  • NX-API (B) is Cisco's proprietary API for Nexus devices that supports JSON/XML but does not inherently infer YANG model usage.
  • REST (C) is a general architectural style/protocol that is data-model agnostic - it has no built-in association with YANG.

Memory Tip: Think of RESTCONF = REST + YANG. The "CONF" in RESTCONF hints at its relationship to NETCONF, which was the original YANG-based protocol - RESTCONF was essentially built to bring YANG modeling to a REST-style interface. If you see YANG on an exam, think NETCONF or RESTCONF.

Topics

#YANG#RESTCONF#Network Management Protocols#Data Models

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice