Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) v1.2AutomationHard
A network team is implementing a new network automation solution. They require a data modeling language that can define both configuration and state data for network devices, support remote procedure calls (RPCs), and be easily convertible to various data serialization formats like XML and JSON. Which data modeling language best fits these requirements?
- AYAML
- BJSON
- CXML
- DYANG
Show answer & explanationAnswer & explanation
Correct answer: D. YANG
YANG (Yet Another Next Generation) is a data modeling language used to model configuration and state data, notifications, and RPCs for network devices. It is designed to be easily translated into data serialization formats like XML and JSON, making it ideal for defining structured data for automated network management.
Why the other options are wrong
- A. YAML is a human-friendly data serialization standard for all programming languages, but not a data modeling language for network devices' configuration and state.
- B. JSON is a data interchange format, not a data modeling language that defines structure and constraints.
- C. XML is a markup language for encoding documents, not a dedicated data modeling language for network configuration with RPC support.
YANG Data Modeling Language
A data modeling language used to define configuration, state data, notifications, and RPCs for network devices, designed for automated network management.
- Defines structure and constraints for operational and configuration data.
- Supports RPCs (Remote Procedure Calls).
- Can be converted to XML, JSON, and other serialization formats.
- Used with NETCONF and RESTCONF protocols.
Memory trick: YANG is the architect, defining the blueprint for network data.