📝 Section Review: Load Balancing

اہم نکاتKey TakeawaysKey Takeaways

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

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

❓ Global اور regional LB میں IP کا کیا فرق ہے؟Global aur regional LB mein IP ka kya farq hai?What is the IP difference between global and regional LB?

Global کا IP global (anycast) ہوتا ہے؛ regional کا IP صرف اسی ریجن کا ہوتا ہے۔Global ka IP global (anycast) hota hai; regional ka IP sirf usi region ka hota hai.Global's IP is global (anycast); regional's IP belongs to that region only.

❓ یہ صرف مشق ہے، امتحانی سوال نہیں: LB 502 دے رہا ہے — سب سے ممکنہ وجہ؟Yeh sirf mashq hai, imtihani sawal nahi: LB 502 de raha hai — sab se mumkinah wajah?Practice only, not an exam question: the LB returns 502 — the most likely cause?

کوئی healthy backend نہیں — health check فیل ہو رہا ہے یا health-check رینجز فائر وال میں بند ہیں۔Koi healthy backend nahi — health check fail ho raha hai ya health-check ranges firewall mein band hain.No healthy backend — the health check is failing or the health-check ranges are blocked in the firewall.

❓ URL map کس کام آتا ہے؟URL map kis kaam aata hai?What is a URL map for?

یہ طے کرتا ہے کہ کون سا راستہ (مثلاً /api) کس backend service کو جائے گا۔Yeh tay karta hai ke kaun sa rasta (masalan /api) kis backend service ko jayega.It decides which path (e.g. /api) goes to which backend service.

❓ ایک VM بند کرنے پر ٹریفک کہاں جائے گا؟Ek VM band karne par traffic kahan jayega?If one VM is stopped, where does traffic go?

صرف صحت مند VMs پر — health check بیمار VM کو خود بخود ٹریفک سے باہر کر دیتا ہے۔Sirf sehatmand VMs par — health check beemar VM ko khud bakhud traffic se bahar kar deta hai.Only to healthy VMs — the health check automatically removes the unhealthy VM from traffic.