AIOps, AI Assistants & Effective Prompting
CCNA 200-301 v2.0 · Live Feb 3, 2027 (v1.1 valid through Feb 2, 2027) Cisco Packet Tracer
مقصدObjectiveObjective
اس تھیوری lesson میں آپ AIOps, AI network assistants اور anomaly detection سمجھیں گے — اور سب سے اہم، ایک network engineer کے طور پر generative AI سے صحیح جواب لینے کے لیے effective prompts لکھنا سیکھیں گے۔Is theory lesson mein aap AIOps, AI network assistants aur anomaly detection samjhenge — aur sab se ahem, ek network engineer ke tor par generative AI se sahi jawab lene ke liye effective prompts likhna seekhenge.In this theory lesson you'll understand AIOps, AI network assistants, and anomaly detection — and most importantly, as a network engineer, you'll learn to write effective prompts to get correct answers from generative AI.
آسان مثالSimple AnalogySimple Analogy
AIOps کا مطلب network کا چوکیدار اب اکیلا نہیں — اس کے پاس ایک ہوشیار مددگار ہے جو رات بھر جاگ کر ہر camera (log) دیکھتا ہے اور کہتا ہے 'صاحب، یہ traffic عجیب ہے، پہلے کبھی نہیں دیکھا۔' AI network assistant وہی مددگار ہے — آپ اس سے پوچھتے ہیں 'میری OSPF neighbor کیوں نہیں بن رہی؟' اور وہ logs پڑھ کر جواب دیتا ہے۔ لیکن اس سے صحیح جواب لینے کے لیے صحیح سوال (prompt) پوچھنا آنا چاہیے — جیسے اچھے وکیل سے اچھا مشورہ لینے کے لیے صحیح سوال ضروری ہے۔AIOps ka matlab network ka chowkidar ab akela nahi — uske paas ek hoshiyar madadgar hai jo raat bhar jaag kar har camera (log) dekhta hai aur kehta hai 'sahab, ye traffic ajeeb hai, pehle kabhi nahi dekha.' AI network assistant wohi madadgar hai — aap us se poochte hain 'meri OSPF neighbor kyun nahi ban rahi?' aur wo logs parh kar jawab deta hai. Lekin us se sahi jawab lene ke liye sahi sawal (prompt) poochna ana chahiye — jaise achhe wakeel se achha mashwara lene ke liye sahi sawal zaroori hai.AIOps means the network's night watchman is no longer alone — he has a clever helper who stays awake all night watching every camera (log) and says 'sir, this traffic looks strange, I've never seen it before.' An AI network assistant is that helper — you ask it 'why isn't my OSPF neighbor forming?' and it reads the logs to answer. But to get a correct answer, you must know how to ask the right question (prompt) — just like you need the right question to get good advice from a good lawyer.
سیٹ اپLab SetupLab Setup
Theory lesson — کوئی topology نہیں۔ Devices: Theory lesson — کوئی device نہیں۔ کوئی PC config نہیں — theory lesson ہے۔ Practice: کسی AI chatbot پر اوپر والے formula سے 2 prompts لکھ کر جواب کا فرق دیکھو۔Theory lesson — koi topology nahi. Devices: Theory lesson — koi device nahi Koi PC config nahi — theory lesson hai. Practice: kisi AI chatbot par upar wale formula se 2 prompts likh kar jawab ka farq dekho.Theory lesson — no topology. Devices: none. No PC config — this is a theory lesson. Practice: write 2 prompts with the formula above on any AI chatbot and see the difference in answers.
اقداماتStepsSteps
Step 1
Key Concepts — AIOps اور AI assistants۔Key Concepts — AIOps aur AI assistants.Key concepts — AIOps and AI assistants.
- AIOps = AI + IT Operations: logs, metrics, events پر AI لگا کر خرابی پہلے پکڑناAIOps = AI + IT Operations: logs, metrics, events par AI laga kar kharabi pehle pakarnaAIOps = AI + IT Operations: applying AI to logs, metrics, and events to catch problems early
- Anomaly detection = normal سے ہٹ کر traffic/behavior کی نشاندہیAnomaly detection = normal se hat kar traffic/behavior ki nishandahiAnomaly detection = spotting traffic/behavior that deviates from normal
Step 2
AIOps routine monitoring کو خودکار بناتا ہے۔ AI assistant آپ کا junior engineer ہے — تیز ہے لیکن اندھا بھروسہ مت کرو، اس کے جواب verify کرو۔AIOps routine monitoring ko khudkar banata hai. AI assistant aapka junior engineer hai — tez hai lekin andha bharosa mat karo, uske jawab verify karoAIOps automates routine monitoring. An AI assistant is your junior engineer — fast, but don't trust it blindly; verify its answers.
- AI assistant = سوال جواب کرنے والا مددگار (Cisco AI Assistant جیسا)AI assistant = sawal jawab karne wala madadgar (Cisco AI Assistant jaisa)AI assistant = a question-and-answer helper (like Cisco AI Assistant)
- Assistant سے: config explain کرواؤ، logs کا خلاصہ، troubleshooting steps مانگوAssistant se: config explain karwao, logs ka khulasa, troubleshooting steps mangoFrom an assistant: get configs explained, logs summarized, troubleshooting steps suggested
Step 3
Effective prompts لکھنا (بہت اہم!)۔ Exam میں 'selecting effective prompts' کا topic ہے۔Effective prompts likhna (bohat ahem!). Exam mein 'selecting effective prompts' ka topic hai.Writing effective prompts (very important!). The exam covers the topic 'selecting effective prompts'.
- خراب prompt: 'network theek karo' (بہت vague)Kharab prompt: 'network theek karo' (bohat vague)Bad prompt: 'fix the network' (too vague)
Step 4
اچھے prompt میں role, context, مسئلہ اور چاہیے output — چاروں ہوں۔ Vague prompt = vague جواب۔Achhe prompt mein role, context, masla aur chahiye output — chaaron hon. Vague prompt = vague jawabA good prompt has role, context, problem, and desired output — all four. Vague prompt = vague answer.
- اچھا prompt: 'میرے router R1 پر OSPF neighbor INIT state میں اٹکا ہے۔ ممکنہ وجوہات اور check کرنے کے commands بتاؤ۔'Achha prompt: 'Mere router R1 par OSPF neighbor INIT state mein atka hai. Mumkina wajuhat aur check karne ke commands batao.'Good prompt: 'My router R1's OSPF neighbor is stuck in INIT state. Tell me the likely causes and the commands to check.'
- Formula: Role + Context + مسئلہ + Output formatFormula: Role + Context + Masla + Output formatFormula: Role + Context + Problem + Output format
- مثال: 'تم CCNA expert ہو۔ میرے پاس 2 switches ہیں۔ VLAN 10 میں ping fail ہے۔ Step-by-step troubleshoot بتاؤ۔'Misaal: 'Tum CCNA expert ho. Mere paas 2 switches hain. VLAN 10 mein ping fail hai. Step-by-step troubleshoot batao.'Example: 'You are a CCNA expert. I have 2 switches. Ping fails in VLAN 10. Tell me step-by-step troubleshooting.'
Step 5
Testing: خود کو test کرو: 'VLAN trunk کام نہیں کر رہا' اس مسئلے کے لیے ایک خراب اور ایک اچھا prompt لکھو۔Testing: Khud ko test karo: 'VLAN trunk kaam nahi kar raha' is masle ke liye ek kharab aur ek achha prompt likho.Testing: test yourself — for the problem 'VLAN trunk isn't working', write one bad and one good prompt.
Step 6
فرق واضح ہونا چاہیے۔Farq wazeh hona chahiye.The difference should be clear.
تصدیقVerifyVerify
کوئی CLI نہیں — ایک effective prompt لکھ کر دکھاؤ، یہی verification ہے۔Koi CLI nahi — ek effective prompt likh kar dikhao, yehi verification hai.No CLI — write one effective prompt; that's the verification.
خرابی دور کرناTroubleshootingTroubleshooting
⚠️ AI assistant نے غلط command بتا دی۔AI assistant ne ghalat command bata di.The AI assistant gave a wrong command.
✅ AI کے جواب کو ہمیشہ verify کرو — کبھی کبھی وہ غلط commands دے دیتا ہے (hallucination)۔ Lab میں test کرو پھر بھروسہ کرو۔AI ke jawab ko hamesha verify karo — kabhi kabhi wo ghalat commands de deta hai (hallucination). Lab mein test karo phir bharosa karo.Always verify the AI's answer — sometimes it gives wrong commands (hallucination). Test in the lab first, then trust it.
انٹرویو سوالاتInterview Q&AInterview Q&A
❓ AIOps کیا ہے اور اس کا فائدہ؟AIOps kya hai aur iska faida?What is AIOps and what's its benefit?
AIOps میں AI IT operations کے data (logs, metrics) پر لگا کر خرابی کی پیشگوئی اور خودکار حل کرتا ہے۔ فائدہ: مسئلہ user کو پتا چلنے سے پہلے پکڑا جاتا ہے۔AIOps mein AI IT operations ke data (logs, metrics) par laga kar kharabi ki peshgoi aur khudkar hal karta hai. Faida: masla user ko pata chalne se pehle pakra jata hai.AIOps applies AI to IT operations data (logs, metrics) to predict failures and fix them automatically. The benefit: problems are caught before users notice them.