Which two items are found in YANG data models?
Which two items are found in YANG data models? (Choose two.)
Community Votes
100% of anonymous learners picked answer BD. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The exam tests whether you can distinguish YANG's own constructs from its data encodings; many candidates confuse JSON or XML schema with YANG itself.
YANG data models define hierarchical structures using containers and remote procedure calls; community consensus points to rpc and container statements.
Choosing C or E because YANG data can be represented in JSON and XML; however, YANG models do not contain JSON or XML schemas.
Community Discussion (5 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
YANG is a data modeling language used to model configuration and state data for network devices. The two required constructs are rpc statements, which define remote procedure call operations, and container statements, which create hierarchical nodes in the data tree. Community comments confirm that both B and D are the chosen answers, with comment [1] explaining how rpc statements allow clients to invoke operations and container statements organize data elements.Why the Other Options Are Wrong
HTTP return codes (A) belong to RESTCONF or REST APIs, not to YANG models. JSON schema (C) and XML schema (E) are external data representations: YANG can map to JSON or XML, but these schemas are not contained in the YANG model itself. Comment [3] correctly notes that YANG defines the structure, while data can be presented in XML or JSON formats.Community Comment Notes
Most commenters directly selected BD, with several providing detailed reasoning. Comment [2] explicitly states rpc statements define remote procedure calls and container statements define hierarchical structures. The discussion reinforces that YANG is concerned only with modeling data and operations, not with transport protocols or data format schemas.Official Reference
Exam Strategy
When asked what is 'found in YANG models', focus on YANG keywords like container, leaf, leaf-list, list, rpc, notification, and augment. Remember that JSON and XML are only encoding formats, not part of the YANG model itself.
Related Analysis
Practice All 350-401 Questions
Access 218 questions with complete answers and detailed explanations.
View Full 350-401 Practice Test →