Show answerHide answer
Correct answer: A, C It can be used to shape slats data of network elements It can be used to model the configuration used by NETCONF operations
Explanation
ExplanationThe correct answers are A and C.
YANG (Yet Another Next Generation) ek data modeling language hai jo network devices ke configuration aur state data ko model karne ke liye use hoti hai. Ye NETCONF aur RESTCONF protocols ke saath mil kar kaam karti hai.
A. It can be used to shape data of network elements.
– YANG ka primary purpose yehi hai ke woh network elements ke configuration data aur state data ko structure (shape kare). YANG modules define karte hain ke device ka data kaise organized hoga — containers, lists, leafs, leaf-lists ke through. Is se data consistent aur machine-readable format mein aata hai.
C. It can be used to model the configuration used by NETCONF operations.
– YANG originally NETCONF ke liye design kiya gaya tha. NETCONF operations (`
Why the Other Options Are Incorrect
B. It can be used to access a device by HTTP.
– YANG khud kisi device ko access nahi karta. Ye sirf data model hai. Access ke liye NETCONF (SSH), RESTCONF (HTTPS), ya gNMI jaise protocols chahiye. YANG HTTP access mechanism nahi hai.
D. It can be used to replace the OSI model for troubleshooting.
– YANG aur OSI model ka koi taalluq nahi. OSI model network communication layers ka conceptual framework hai; YANG data modeling language hai. Ye dono completely different concepts hain.
E. It can be used to replace RESTCONF as a mechanism to install and manipulate configuration.
– YANG aur RESTCONF alag cheezein hain aur ek doosre ke complementary hain. RESTCONF ek protocol hai jo YANG-modeled data ko HTTPS ke through transport karta hai. YANG RESTCONF ko replace nahi karta — dono saath mil kar kaam karte hain.
Reference
Cisco Press: Implementing and Operating Cisco Service Provider Network Core Technologies (SPCOR) 350-501 Official Cert Guide – Chapter on YANG Data Modeling, NETCONF, and RESTCONF.




