📝 Section Review: Automation & Artificial Intelligence

اہم نکاتKey TakeawaysKey Takeaways

خود جانچ (مشق)Self-Check (Practice)Self-Check (Practice)

یہ مشقی سوالات ہیں، امتحانی سوالات نہیں۔These are practice questions, not exam questions.These are practice questions, not exam questions.

❓ آٹومیشن YANG ماڈلز کیوں استعمال کرتی ہے؟Automation YANG models kyun use karti hai?Why does automation use YANG models?

کیونکہ YANG configuration اور operational state کا standardized، machine-readable ماڈل ہے — ایک ماڈل، کئی tools۔Kyunke YANG configuration aur operational state ka standardized, machine-readable model hai — ek model, kayi tools.Because YANG is a standardized, machine-readable model of configuration and operational state — one model, many tools.

❓ NETCONF اور RESTCONF میں فرق؟NETCONF aur RESTCONF mein farq?NETCONF vs RESTCONF?

NETCONF SSH پر XML استعمال کرتا ہے؛ RESTCONF REST/HTTPS ہے اور JSON یا XML دونوں لیتا ہے۔NETCONF SSH par XML use karta hai; RESTCONF REST/HTTPS hai aur JSON ya XML dono leta hai.NETCONF uses XML over SSH; RESTCONF is REST/HTTPS and accepts JSON or XML.

❓ EEM کا ایک use case بتائیں۔EEM ka ek use case batayen.Give one EEM use case.

Event-driven automation: مثلاً flapping interface کو log کر کے bounce کرنا، یا CPU threshold کراس ہونے پر notify کرنا۔Event-driven automation: masalan flapping interface ko log kar ke bounce karna, ya CPU threshold cross hone par notify karna.Event-driven automation: for example, log a message and bounce a flapping interface, or notify when CPU crosses a threshold.

❓ AI-generated configs کا golden rule کیا ہے؟AI-generated configs ka golden rule kya hai?What is the golden rule for AI-generated configs?

production سے پہلے review اور لیب میں test کریں۔ AI syntax hallucinate کر سکتا ہے — آخری فیصلہ ڈیوائس کا ہے۔Production se pehle review aur lab mein test karein. AI syntax hallucinate kar sakta hai — aakhri faisla device ka hai.Review and lab-test it before production. AI can hallucinate syntax — the device is the final judge.