Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) v1.2AutomationHard
A large enterprise is migrating its network infrastructure to a software-defined architecture. They need to define network services and device capabilities in a programmatic, vendor-neutral manner. Which data modeling language is specifically designed for this purpose, enabling machine-to-machine communication for network configuration and monitoring?
- AYANG
- BJSON
- CYAML
- DXML
Show answer & explanationAnswer & explanation
Correct answer: A. YANG
YANG (Yet Another Next Generation) is a data modeling language specifically developed for NETCONF and RESTCONF to model configuration data, state data, RPCs, and notifications for network devices. It provides a standardized, vendor-neutral way to define network services and device capabilities, enabling programmatic interaction.
Why the other options are wrong
- B. JSON is a data serialization format, not a data modeling language. It can also represent YANG data but does not define the structure.
- C. YAML is a human-friendly data serialization standard, not a data modeling language for network devices.
- D. XML is a data serialization format, not a data modeling language specifically for network configuration. It can be used to represent YANG data but doesn't define the model itself.
YANG Data Modeling Language
YANG (Yet Another Next Generation) is a data modeling language used to define the structure and semantics of configuration data, state data, Remote Procedure Calls (RPCs), and notifications for network devices. It is protocol-independent and commonly used with NETCONF and RESTCONF.
- Data modeling language, not a data serialization format.
- Defines structure, syntax, and semantics of network data.
- Vendor-neutral and extensible.
- Used with NETCONF and RESTCONF for programmatic network management.
Memory trick: YANG is the blueprint for network data.