RFC 6020: The Definition of YANG 1.0
Short answer
A RFC 6020 is the IETF specification that defines YANG 1.0 for NETCONF, making YANG 1.0 the correct identification among YANG 1.1, tree diagrams, and YANG library.
Question
Key Takeaways
RFC 6020 is the IETF standard that defines YANG 1.0, the original data modeling language for NETCONF. Among the options, YANG 1.0 is correct; YANG 1.1 is RFC 7950, tree diagrams are RFC 8340, and YANG library is RFC 8525.
Expert Analysis
Because the cited number is the original IETF specification for the YANG data modeling language, the option that names YANG 1.0 is the only one that matches RFC 6020.
A YANG 1.1 assignment would require RFC 7950 rather than the RFC 6020 citation
A YANG 1.1 answer becomes defensible only when the cited standard is RFC 7950 or when the described module depends on capabilities added in that revision, such as action, anydata, or a yang-version 1.1 declaration. RFC 7950, published in 2016, obsoletes RFC 6020 and is the specification for YANG 1.1; it extends the language and changes validation rules around areas including leafrefs and instance identifiers. None of those signals is present when RFC 6020 is the only specification named. The number itself is the discriminator: an RFC 6020 module belongs to the original language definition, while a module that opts into the later grammar must advertise that choice. Choosing YANG 1.1 would therefore make the answer depend on a document that is not cited and on features that are not described. It would also blur a practical compatibility boundary: tooling that accepts YANG 1.1 constructs can process the later modules, but a module claiming only the 1.0 grammar cannot legitimately use them. The condition that would favor YANG 1.1 is absent, so the later revision cannot displace YANG 1.0.
The RFC 6020 identifier anchors the base YANG language to version 1.0
The decisive fact is the direct correspondence between the identifier RFC 6020 and the first YANG specification. RFC 6020 defines the YANG data modeling language for NETCONF: modules and submodules, the schema tree, built-in types, groupings, typedefs, augmentations, deviations, RPCs, and notifications. That collection of statements is what the industry calls YANG 1.0. The option “YANG 1.0” preserves both halves of the mapping—the IETF standard number and the language version—without adding a later revision or confusing the language with a representation of it. In a 300-435 context, this distinction matters whenever YANG models are selected for NETCONF or RESTCONF automation: the model’s grammar determines which statements a parser will accept and which payloads a device will validate. The wording of the option is also important. “YANG 1.0” is not a nickname for the tree-diagram format or for a module inventory; it is the versioned language defined by RFC 6020. Because the cited RFC is the primary source and the option names exactly the version it standardizes, A holds without needing any additional assumption about vendor implementation or tooling.
Selecting YANG 1.1, RFC 8340 tree output, or RFC 8525 library would swap the standard being tested
Option B would turn RFC 6020 into a synonym for the later YANG 1.1 revision, so a team following that answer could introduce action or anydata statements into a module while claiming conformance to the older grammar; the cost is a version mismatch that surfaces only when a strict parser or device rejects the module. Option C would substitute RFC 8340, which specifies the textual YANG tree-diagram convention used to display a schema, for the schema language itself; the cost is treating a schema-rendering convention as the language definition, leaving the actual language version unidentified. Option D would move to RFC 8525, the YANG library data model that exposes which modules a server implements and their revisions; the cost is replacing a definition of the language with a model that describes module inventory, so automation would know what is loaded but still misstate the grammar under which it was written. Each alternative is a real IETF artifact, but none of them is the base language specification that RFC 6020 numbers. Their presence makes precision about standards mapping the deciding skill: the wrong choices are plausible because they belong to the same ecosystem, yet each answers a different layer—language revision, schema display, and implemented-module inventory.
Module parsing and schema validation are where the RFC 6020 designation takes effect
The mapping from RFC 6020 to YANG 1.0 becomes operational when a tool loads a module and chooses the grammar for its statements. A parser checks the yang-version statement; when the statement is absent, the module is treated as YANG 1.0, and when it declares 1.1, the RFC 7950 grammar applies. That choice determines whether statements such as action and anydata are legal, how leafref require-instance is interpreted, and which constraints are enforced before a schema tree is built. YANG Suite, pyang, NETCONF servers, and RESTCONF servers all rely on that compiled schema when validating edit-config content or RESTCONF JSON/XML bodies. The tree diagram may be generated afterward, and YANG library may report the module later, but neither step decides the language version. The decisive action therefore happens at parse and compile time: the correct identification of RFC 6020 as YANG 1.0 tells the tool which statement set to accept. Selecting RFC 7950 or a documentation model would push the analysis to the wrong stage, because a tree view and a module inventory are outputs of a schema that has already been parsed under a grammar. The RFC number fixes that grammar before any payload is validated.
Official Reference
- https://www.rfc-editor.org/rfc/rfc6020.html
- https://www.rfc-editor.org/rfc/rfc7950.html
- https://www.rfc-editor.org/rfc/rfc8340.html
These links open the official vendor documentation in a new tab.
Exam Strategy
Treat RFC numbers as version keys instead of general topic labels. Memorize the pairs that appear in automation questions: RFC 6020 for YANG 1.0, RFC 7950 for YANG 1.1, RFC 8340 for tree diagrams, and RFC 8525 for YANG library. When one option names a rendering format or module inventory and another names a language version, discard the format-level choices first and then match the remaining standard to the exact RFC cited.
Related Analysis
Practice All 300-435 Questions
Access 150 questions with complete answers and detailed explanations.
View Full 300-435 Practice Test →