Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) — Question 1044
What is a characteristic of YANG?
Answer options
- A. It is a Cisco proprietary language that models NETCONF data.
- B. It allows model developers to create custom data types.
- C. It structures data in an object-oriented fashion to promote model reuse.
- D. It provides loops and conditionals to control flow within models.
Correct answer: B
Explanation
The correct answer, B, is accurate because YANG is designed to allow developers to create custom data types, which is essential for modeling in a flexible manner. Options A, C, and D are incorrect as A mischaracterizes YANG as proprietary, C describes an object-oriented structure that YANG does not primarily focus on, and D incorrectly suggests that YANG supports flow control constructs like loops and conditionals.