📝 Section Review: VPC Foundations

اہم نکاتKey TakeawaysKey Takeaways

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

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

❓ VPC گلوبل ہے یا ریجنل؟VPC global hai ya regional?Is a VPC global or regional?

گلوبل — ایک VPC دنیا بھر کے ریجنز میں سب نیٹس رکھ سکتا ہے۔Global — ek VPC duniya bhar ke regions mein subnets rakh sakta hai.Global — one VPC can hold subnets in regions around the world.

❓ سب نیٹ بناتے وقت کون سی دو چیزیں لازمی بتانی پڑتی ہیں؟Subnet banate waqt kaun si do cheezein lazmi batani parti hain?Which two things must you specify when creating a subnet?

ریجن اور IP رینج (CIDR) — مثلاً asia-south1 اور 10.1.1.0/24۔Region aur IP range (CIDR) — masalan asia-south1 aur 10.1.1.0/24.Region and IP range (CIDR) — e.g. asia-south1 and 10.1.1.0/24.

❓ یہ صرف مشق ہے، امتحانی سوال نہیں: custom-mode VPC کیوں بہتر ہے؟Yeh sirf mashq hai, imtihani sawal nahi: custom-mode VPC kyun behtar hai?Practice only, not an exam question: why is custom-mode VPC better?

کیونکہ آپ خود طے کرتے ہیں کہ ہر ریجن میں کون سا رینج ہوگا — مکمل IP کنٹرول اور صاف سیکیورٹی ڈیزائن۔Kyunke aap khud tay karte hain ke har region mein kaun sa range hoga — mukammal IP control aur saaf security design.Because you decide which range lives in each region — full IP control and clean security design.

❓ ایک ہی VPC میں دو سب نیٹس کا رینج اوورلیپ ہو جائے تو کیا ہوگا؟Ek hi VPC mein do subnets ka range overlap ho jaye to kya hoga?What happens if two subnets in one VPC have overlapping ranges?

GCP دوسری سب نیٹ بننے ہی نہیں دے گا — "IP range overlaps" کی خرابی آئے گی۔GCP doosri subnet banne hi nahi dega — "IP range overlaps" ki kharabi aayegi.GCP will not let the second subnet be created — you get an "IP range overlaps" error.