Which option is not a property of YANG?
- Protocol independent
- Extensible and modular
- Analogous to XML schema and SMI for SNMP
- does not provide semantics to better define data
Explanation: YANG is a highly structured data modeling language used to define the syntax and semantics of data, which is used to enforce data input values and constraints. Therefore, the statement that it "does not provide semantics" is incorrect.
The other options are valid properties of YANG as described in the sources:
- Protocol independent: While originally designed for NETCONF, it is protocol-independent and is also used by RESTCONF and potentially other protocols.
- Extensible and modular: YANG supports extensibility through augmentation and provides data modularity through the use of modules and submodules.
- Analogous to XML schema and SMI for SNMP: YANG modules serve a purpose for NETCONF and RESTCONF that is analogous to what MIBs (modeled via SMI) provide for SNMP. It defines data hierarchies called schema trees, which represent how data is structured and accessed.
Related exam: Modules 21 – 22: Checkpoint Exam: Programmability Answers (CCNP ENCOR v9)
