350-401 Question 319
Select 3An enterprise network engineer is tasked with implementing a network automation solution. The engineer decides to use YANG as a data modeling language. Which of the following are high-level principles or benefits of using YANG in this context?
- A
YANG provides a human-readable and structured way to define network device configurations and state data.
- B
YANG inherently supports vendor-specific configuration commands without requiring standardization.
- C
YANG enables interoperability by providing a consistent model for network devices regardless of vendor.
- D
YANG models can be easily integrated with protocols like NETCONF and RESTCONF for programmatic management.
- E
YANG reduces the need for manual intervention by automatically generating CLI commands from models.
Show answer and explanation
Correct answers: A, C, D
Explanation
YANG is a data modeling language widely used in network automation and programmability. It provides a structured and standardized way to define configurations and state data, enabling interoperability across network devices from different vendors. It integrates seamlessly with protocols like NETCONF and RESTCONF, allowing for efficient and scalable network management. However, it does not focus on vendor-specific commands or automatic CLI command generation, as its purpose is to facilitate structured, programmatic management of network devices.
- A. Correct.
YANG is designed to provide a structured and human-readable format for defining configurations and state data, making it easier to manage and understand.
- B. Incorrect.
This is incorrect because YANG promotes standardization and interoperability, rather than focusing on vendor-specific commands.
- C. Correct.
YANG is a key enabler of interoperability as it defines standardized data models that can be used across devices from multiple vendors.
- D. Correct.
YANG models are designed to be integrated with network management protocols like NETCONF and RESTCONF, which allow programmatic interaction with configurations and states.
- E. Incorrect.
YANG does not automatically generate CLI commands. Instead, it focuses on defining data models that can be used programmatically.