Generative vs Predictive AI & ML Basics

CCNA 200-301 v2.0 · Live Feb 3, 2027 (v1.1 valid through Feb 2, 2027) Cisco Packet Tracer

مقصدObjectiveObjective

اس تھیوری lesson میں آپ AI کی بنیاد سیکھیں گے — CCNA v2.0 کے نئے D5 domain کا پہلا حصہ۔ کوئی CLI نہیں، صرف concepts جو exam میں آتے ہیں۔Is theory lesson mein aap AI ki bunyaad seekhenge — CCNA v2.0 ke naye D5 domain ka pehla hissa. Koi CLI nahi, sirf concepts jo exam mein aate hain.In this theory lesson you'll learn the basics of AI — the first part of CCNA v2.0's new D5 domain. No CLI, just the concepts the exam covers.

آسان مثالSimple AnalogySimple Analogy

AI کی دو اقسام سمجھو۔ Generative AI وہ استاد ہے جو نئی چیز بناتا ہے — مضمون لکھتا ہے، config کا draft بناتا ہے، سوال کا جواب دیتا ہے (جیسے ChatGPT)۔ Predictive AI وہ تجربہ کار مستری ہے جو کہتا ہے 'یہ مشین کل خراب ہوگی' — پرانے data سے مستقبل کی پیشگوئی کرتا ہے۔ Machine Learning دونوں کا engine ہے: کمپیوٹر پرانی مثالوں سے خود سیکھتا ہے، جیسے بچہ دیکھ دیکھ کر سیکھتا ہے۔AI ki do qisam samjho. Generative AI woh ustad hai jo nayi cheez banata hai — mazmoon likhta hai, config ka draft banata hai, sawal ka jawab deta hai (jaise ChatGPT). Predictive AI woh tajurbekar mistri hai jo kehta hai 'ye machine kal kharab hogi' — purane data se mustaqbil ki peshgoi karta hai. Machine Learning dono ka engine hai: computer purani misaalon se khud seekhta hai, jaise bacha dekh dekh kar seekhta hai.Understand the two types of AI. Generative AI is the teacher who creates new things — writes essays, drafts configs, answers questions (like ChatGPT). Predictive AI is the experienced mechanic who says 'this machine will break tomorrow' — predicting the future from old data. Machine Learning is the engine behind both: the computer learns on its own from past examples, like a child learns by watching.

سیٹ اپLab SetupLab Setup

Theory lesson — کوئی topology نہیں۔ Devices: Theory lesson — کوئی device نہیں۔ کوئی PC config نہیں — theory lesson ہے۔Theory lesson — koi topology nahi. Devices: Theory lesson — koi device nahi Koi PC config nahi — theory lesson hai.Theory lesson — no topology. Devices: none. No PC config — this is a theory lesson.

اقداماتStepsSteps

Step 1

Key Concepts — AI کی اقسام (یاد رکھو)۔ Exam میں 'compare/describe' والے سوال آتے ہیں۔Key Concepts — AI ki qisam (yaad rakho). Exam mein 'compare/describe' wale sawal aate hain.Key concepts — types of AI (memorize these). The exam asks 'compare/describe' questions.

  • Generative AI = نیا content بناتا ہے (text, config drafts, summaries)Generative AI = naya content banata hai (text, config drafts, summaries)Generative AI = creates new content (text, config drafts, summaries)
  • Predictive AI = مستقبل کی پیشگوئی (link failure, traffic spike)Predictive AI = mustaqbil ki peshgoi (link failure, traffic spike)Predictive AI = predicts the future (link failure, traffic spike)

Step 2

Generative بناتا ہے، predictive بتاتا ہے، ML دونوں کا engine ہے۔Generative banata hai, predictive batata hai, ML dono ka engine haiGenerative creates, predictive predicts, ML is the engine of both.

  • Machine Learning = ڈیٹا سے سیکھنے کا طریقہ (supervised, unsupervised)Machine Learning = data se seekhne ka tareeqa (supervised, unsupervised)Machine Learning = the way to learn from data (supervised, unsupervised)
  • Supervised = جواب پہلے سے معلوم (spam یا نہیں) | Unsupervised = pattern خود ڈھونڈوSupervised = jawab pehle se maloom (spam ya nahi) | Unsupervised = pattern khud dhoondoSupervised = the answer is already known (spam or not) | Unsupervised = find the pattern yourself

Step 3

Networks میں AI کہاں کام آتا ہے۔Networks mein AI kahan kaam aata hai.Where AI helps in networks.

  • Network میں ML: anomaly detection (عجیب traffic پکڑنا)Network mein ML: anomaly detection (ajeeb traffic pakarna)ML in networks: anomaly detection (spotting strange traffic)
  • Predictive: link down ہونے سے پہلے warningPredictive: link down hone se pehle warningPredictive: warning before a link goes down

Step 4

Network engineer کے لیے AI کا مطلب: عجیب traffic کی نشاندہی، خرابی سے پہلے خبر، اور routine کام میں مدد۔ AI replace نہیں کرتا — assist کرتا ہے۔Network engineer ke liye AI ka matlab: ajeeb traffic ki nishandahi, kharabi se pehle khabar, aur routine kaam mein madad. AI replace nahi karta — assist karta haiFor a network engineer, AI means: spotting strange traffic, warning before a failure, and help with routine work. AI doesn't replace — it assists.

  • Generative: config کا draft, incident summary لکھناGenerative: config ka draft, incident summary likhnaGenerative: drafting configs, writing incident summaries
  • یاد رکھو: AI مددگار ہے، فیصلہ engineer کا ہوتا ہےYaad rakho: AI madadgar hai, faisla engineer ka hota haiRemember: AI is the helper — the engineer makes the decision

Step 5

Testing: خود سے test: ایک کاغذ پر generative کے 3 اور predictive کے 3 network examples لکھو۔Testing: Khud se test: ek kagaz par generative ke 3 aur predictive ke 3 network examples likho.Testing: test yourself — write 3 network examples of generative and 3 of predictive AI on paper.

Step 6

جو لکھ سکو، وہی یاد ہے۔Jo likh sako, wohi yaad hai.What you can write is what you remember.

تصدیقVerifyVerify

کوئی CLI نہیں — نیچے interview سوالات کے جواب زبانی دو۔Koi CLI nahi — neeche interview sawalat ke jawab zabani do.No CLI — answer the interview questions below out loud.

خرابی دور کرناTroubleshootingTroubleshooting

⚠️ دونوں AI کی اقسام mix ہو رہی ہیں۔Dono AI ki qisam mix ho rahi hain.I'm mixing up the two AI types.

✅ Generative = 'generate' (بنانا)۔ Predictive = 'predict' (پیشگوئی)۔ نام میں ہی جواب ہے۔Generative = 'generate' (banana). Predictive = 'predict' (peshgoi). Naam mein hi jawab hai.Generative = 'generate' (create). Predictive = 'predict' (forecast). The answer is in the name.

انٹرویو سوالاتInterview Q&AInterview Q&A

❓ Generative AI اور Predictive AI میں فرق؟Generative AI aur Predictive AI mein farq?What's the difference between generative AI and predictive AI?

Generative AI نیا content بناتا ہے (text, config)۔ Predictive AI پرانے data سے مستقبل بتاتا ہے (failure prediction)۔ ML دونوں کا بنیادی طریقہ ہے۔Generative AI naya content banata hai (text, config). Predictive AI purane data se mustaqbil batata hai (failure prediction). ML dono ka bunyadi tareeqa hai.Generative AI creates new content (text, configs). Predictive AI forecasts the future from old data (failure prediction). ML is the underlying method for both.