How Does NETCONF YANG Represent Data Structures?
How does NETCONF YANG represent data structures?
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The exam tests whether you distinguish between the YANG data modeling language (which defines schema) and how NETCONF represents data in practice—as an XML tree, not as 'strict data structures' or modules.
NETCONF uses YANG to define schema while encoding configuration and state data as an XML tree format. Community consensus confirms option B is correct, as YANG models data but NETCONF represents actual data instances in an XML tree.
Option A is the most common trap because RFC 6020 defines YANG, but it describes the modeling language, not how NETCONF represents data. Candidates confuse the schema definition with the actual XML-encoded data representation used by NETCONF.
Community Discussion (4 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
NETCONF's content layer consists of configuration and state data that is XML-encoded, as explained with a layered model in community comment [1]. YANG is used to define the schema of that data, but when NETCONF retrieves or edits data, the information is presented in an XML tree format. Option B aligns directly with the standard NETCONF operations and encoding model.
Why the Other Options Are Wrong
Option A references RFC 6020, which defines the YANG language, but it does not define "strict data structures" as the NETCONF representation method; comment [2] explicitly warns against this misinterpretation. Option D is vague—YANG modules are organized in a tree, but that describes the schema hierarchy, not how NETCONF represents data structures in XML. Option C is irrelevant because NETCONF uses XML, not HTML, for data encoding.
Community Comment Notes
Comment [1] correctly states that the Content Layer is XML-encoded and that YANG defines the schema for configuration and state data. Comment [3] reinforces that YANG is leveraged by NETCONF to make RPCs in an XML tree format. Comment [2] cautions against confusing RFC 6020 with the actual encoding, supporting B as the consensus best answer.
Official Reference
Exam Strategy
Focus on the difference between a YANG data model (schema) and the XML encoding NETCONF uses for actual data. In the exam, if a question asks how NETCONF represents data, look for 'XML tree format' and avoid options that only describe the YANG modeling language itself.
Related Analysis
Practice All 350-401 Questions
Access 218 questions with complete answers and detailed explanations.
View Full 350-401 Practice Test →