nerdexam
Cisco

350-401 · Question #712

How does NETCONF YANG represent data structures?

The correct answer is B. in an XML tree format. NETCONF (Network Configuration Protocol) uses XML to encode and represent data structures, while YANG defines the structure of this data.

Submitted by yuriko_h· Mar 6, 2026Automation

Question

How does NETCONF YANG represent data structures?

Options

  • Aas strict data structures denned by RFC 6020
  • Bin an XML tree format
  • Cin an HTML format
  • Das modules within a tree

How the community answered

(30 responses)
  • A
    7% (2)
  • B
    90% (27)
  • D
    3% (1)

Why each option

NETCONF (Network Configuration Protocol) uses XML to encode and represent data structures, while YANG defines the structure of this data.

Aas strict data structures denned by RFC 6020

While RFC 6020 defines YANG, the actual data structures exchanged via NETCONF are represented in XML, not strictly defined as RFC 6020 itself being the representation format.

Bin an XML tree formatCorrect

NETCONF, leveraging YANG models, represents configuration and state data in an XML tree format, providing a hierarchical and structured way to exchange information between network devices and management systems.

Cin an HTML format

HTML is a web content markup language and is not used by NETCONF or YANG for network device configuration data representation.

Das modules within a tree

YANG organizes data models into modules, which are part of a tree, but the fundamental runtime representation of the data itself via NETCONF is specifically in an XML tree format.

Concept tested: NETCONF and YANG data representation

Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/1612/b_1612_programmability_cg/netconf_yang.html

Topics

#NETCONF#YANG#XML#data modeling

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice