📝 Section Review: Load Balancing
اہم نکاتKey TakeawaysKey Takeaways
- Azure Load Balancer source/destination/ports کے hash سے backends میں Layer 4 traffic بانٹتا ہے۔Azure Load Balancer source/destination/ports ke hash se backends mein Layer 4 traffic baant-ta hai.Azure Load Balancer distributes Layer 4 traffic across backends using a hash of source/destination/ports.
- Standard SKU production کا انتخاب ہے: zone redundancy، diagnostics اور SLA۔ Basic صرف چھوٹی labs کے لیے۔Standard SKU production ka choice hai: zone redundancy, diagnostics aur SLA. Basic sirf choti labs ke liye.Standard SKU is the production choice: zone redundancy, diagnostics, and an SLA. Basic is only for small labs.
- Health probes decide کرتے ہیں کہ کون سے backends کو ٹریفک ملے — غلط probes "unhealthy" backends کی بڑی وجہ ہیں۔Health probes decide karte hain ke kaunse backends ko traffic mile — ghalat probes "unhealthy" backends ki top wajah hain.Health probes decide which backends get traffic — misconfigured probes are a top cause of "unhealthy" backends.
- Application Gateway Layer 7 routing شامل کرتا ہے: path-based rules (/images/* pool A کو) اور multi-site (hostname) routing۔Application Gateway Layer 7 routing add karta hai: path-based rules (/images/* pool A ko) aur multi-site (hostname) routing.Application Gateway adds Layer 7 routing: path-based rules (/images/* to pool A) and multi-site (hostname) routing.
- Application Gateway پر WAF (Web Application Firewall) SQL injection جیسے عام web attacks روکتا ہے۔Application Gateway par WAF (Web Application Firewall) SQL injection jaise aam web attacks rokta hai.WAF (Web Application Firewall) on Application Gateway blocks common web attacks like SQL injection.
خود جانچ (مشق)Self-Check (Practice)Self-Check (Practice)
یہ مشقی سوالات ہیں، امتحانی سوالات نہیں۔These are practice questions, not exam questions.These are practice questions, not exam questions.
❓ Load Balancer بمقابلہ Application Gateway — بنیادی فرق؟Load Balancer vs Application Gateway — bunyadi farq?Load Balancer vs Application Gateway — key differences?
Load Balancer Layer 4 (TCP/UDP) پر کام کرتا ہے اور hash سے ٹریفک بانٹتا ہے؛ Application Gateway Layer 7 (HTTP/HTTPS) پر کام کرتا ہے URL-based routing، SSL termination اور WAF کے ساتھ۔Load Balancer Layer 4 (TCP/UDP) par kaam karta hai aur hash se traffic baant-ta hai; Application Gateway Layer 7 (HTTP/HTTPS) par kaam karta hai URL-based routing, SSL termination aur WAF ke saath.Load Balancer works at Layer 4 (TCP/UDP) and spreads traffic by hash; Application Gateway works at Layer 7 (HTTP/HTTPS) with URL-based routing, SSL termination, and WAF.
❓ Health probe کیا کرتا ہے؟Health probe kya karta hai?What does a health probe do?
Health probe ہر backend کو چیک کرتا ہے (مثلاً port 80، path / پر HTTP)۔ صرف healthy backends کو ٹریفک ملتی ہے۔Health probe har backend ko check karta hai (masalan port 80, path / par HTTP). Sirf healthy backends ko traffic milti hai.A health probe checks each backend (e.g. HTTP on port 80, path /). Only healthy backends receive traffic.
❓ Load balancing rule کن تین چیزوں کو جوڑتی ہے؟Load balancing rule kin teen cheezon ko jorti hai?What three pieces does a load balancing rule connect?
Frontend IP، backend pool، اور health probe — ایک rule تینوں کو جوڑتا ہے۔Frontend IP, backend pool, aur health probe — ek rule teenon ko jorta hai.The frontend IP, the backend pool, and the health probe — a rule binds all three together.