Which two constructs appear in YANG data models?
Choose an answer
Tap an option to check your answer.
Correct answer: rpc statements, container statements.
Why this is the answer
YANG (Yet Another Next Generation) is a data modeling language used to define the configuration and state data of network devices. The rpc (Remote Procedure Call) statement defines operations that can be invoked on the device, such as rebooting or clearing counters. The container statement is a grouping mechanism that organizes related data nodes into a hierarchy, improving readability and structure. HTTP return codes, JSON schema, and XML schema are not constructs within YANG itself. HTTP return codes are part of the HTTP protocol. JSON schema and XML schema are separate data description languages, though YANG models can be translated into these formats for data exchange.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed