Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) — Question 921
Why would an engineer use YANG?
Answer options
- A. to transport data between a controller and a network device
- B. to model data for NETCONF
- C. to access data using SNMP
- D. to translate JSON into an equivalent XML syntax
Correct answer: B
Explanation
The correct answer is B because YANG is specifically designed to model data for NETCONF, which allows for configuration and management of network devices. Options A, C, and D describe other functions or protocols that do not directly relate to the primary purpose of YANG.