nerdexam
Cisco

350-401 · Question #1220

Which two items are found in YANG data models? (Choose two.)

The correct answer is B. rpc statements D. container statements. YANG data models are structured using specific statement types that define network device configurations and operations. RPC statements (B) are a core component of YANG, allowing you to model remote procedure calls (such as triggering an action on a device), while container state

Submitted by haru.x· Mar 6, 2026Automation

Question

Which two items are found in YANG data models? (Choose two.)

Options

  • AHTTP return codes
  • Brpc statements
  • CJSON schema
  • Dcontainer statements
  • EXML schema

How the community answered

(28 responses)
  • B
    93% (26)
  • C
    4% (1)
  • E
    4% (1)

Explanation

YANG data models are structured using specific statement types that define network device configurations and operations. RPC statements (B) are a core component of YANG, allowing you to model remote procedure calls (such as triggering an action on a device), while container statements (D) are fundamental building blocks used to group related data nodes together in a hierarchical structure. HTTP return codes (A) belong to REST/HTTP protocols, not YANG models themselves. JSON schema (C) and XML schema (E) are separate schema languages - while YANG data can be encoded in XML or JSON for transmission (via NETCONF or RESTCONF), the YANG model itself is neither of these formats.

Memory Tip: Think of YANG as having its own vocabulary - key keywords include container, leaf, list, module, and rpc. If an answer choice sounds like it belongs to a web/HTTP protocol or a different schema language, it's likely a distractor. Remember: YANG has RPCs and Containers → "RC" like "Remote Control," since YANG is used to remotely control and model devices.

Topics

#YANG#Data Models#Network Automation#NETCONF

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice