📝 Section Review: VPC Foundations
اہم نکاتKey TakeawaysKey Takeaways
- ریجن ایک جغرافیائی علاقہ ہے؛ ایویلیبلٹی زون اسی کے اندر ایک الگ ڈیٹا سینٹر ہے۔Region ek geographic area hai; Availability Zone usi ke andar ek alag data center hai.A region is a geographic area; an Availability Zone is a separate data center inside it.
- VPC آپ کا الگ ورچوئل نیٹ ورک ہے؛ سب نیٹس اس کے ٹکڑے ہیں، ہر ایک ایک AZ میں۔VPC aap ka isolated virtual network hai; subnets is ke tukray hain, har ek ek AZ mein.A VPC is your isolated virtual network; subnets are its slices, each living in one AZ.
- CIDR بلاکس اوورلیپ نہیں کر سکتے — بنانے سے پہلے کاغذ پر پلان کریں۔CIDR blocks overlap nahi kar saktay — bananay se pehle kagaz par plan karein.CIDR blocks must not overlap — plan them on paper before creating.
- سب نیٹس کو AZs میں بانٹنا ہائی ایویلیبلٹی کی بنیاد ہے۔Subnets ko AZs mein baantna high availability ki bunyaad hai.Spreading subnets across AZs is the foundation of high availability.
- 'پبلک' ہونے کا فیصلہ روٹ ٹیبل کرتا ہے، سب نیٹ خود نہیں — یہ aws-02 میں دیکھیں گے۔'Public' honay ka faisla route table karta hai, subnet khud nahi — yeh aws-02 mein dekhenge.'Public' is decided by the route table, not the subnet itself — covered next in aws-02.
خود جانچ (مشق)Self-Check (Practice)Self-Check (Practice)
یہ مشقی سوالات ہیں، امتحانی سوالات نہیں۔These are practice questions, not exam questions.These are practice questions, not exam questions.
❓ ریجن کیا ہے؟ (پریکٹس سوال)Region kya hai? (practice sawal)What is a region? (practice question, not an exam question)
ایک جغرافیائی علاقہ (جیسے ممبئی)۔ آپ کا VPC اور وسائل ایک ریجن کے اندر رہتے ہیں۔Ek geographic area (jaise Mumbai). Aap ka VPC aur resources ek region ke andar rehtay hain.A geographic area (like Mumbai). Your VPC and resources live inside a region.
❓ ایویلیبلٹی زون کیا ہے؟ (پریکٹس سوال)Availability Zone kya hai? (practice sawal)What is an Availability Zone? (practice question)
ریجن کے اندر ایک الگ ڈیٹا سینٹر۔ سب نیٹس ایک AZ میں رہتے ہیں، اس لیے resilience کے لیے سب نیٹس مختلف AZs میں بناتے ہیں۔Region ke andar ek alag data center. Subnets ek AZ mein rehtay hain, is liye resilience ke liye subnets mukhtalif AZs mein banate hain.A separate data center inside a region. Subnets live in one AZ, so you spread subnets across AZs for resilience.
❓ 10.0.0.0/16 میں کتنے IPs ہیں اور CIDR پلان کیسے کریں؟ (پریکٹس سوال)10.0.0.0/16 mein kitne IPs hain aur CIDR plan kaise karein? (practice sawal)How many IPs are in 10.0.0.0/16 and how should you plan CIDRs? (practice question)
10.0.0.0/16 میں 65,536 IPs ہوتے ہیں۔ Growth کے لیے بڑے بلاکس پلان کریں اور سب نیٹس کے درمیان جگہ چھوڑیں — اوورلیپنگ رینجز خرابی دیتی ہیں۔10.0.0.0/16 mein 65,536 IPs hotay hain. Growth ke liye baray blocks plan karein aur subnets ke darmiyan jagah chhorein — overlapping ranges error deti hain.10.0.0.0/16 holds 65,536 IPs. Plan big blocks for growth and leave room between subnets — overlapping ranges cause errors.
❓ ڈیفالٹ VPC بمقابلہ کسٹم VPC؟ (پریکٹس سوال)Default VPC vs custom VPC? (practice sawal)Default VPC vs custom VPC? (practice question)
ڈیفالٹ VPC پہلے سے بنا ہوتا ہے انٹرنیٹ گیٹ وے اور پبلک سب نیٹس کے ساتھ؛ کسٹم VPC وہ ہے جو آپ خود بناتے اور کنٹرول کرتے ہیں۔Default VPC pehle se bana hota hai internet gateway aur public subnets ke saath; custom VPC woh hai jo aap khud banatay aur control kartay hain.A default VPC is pre-built with an internet gateway and public subnets; a custom VPC is one you build and control yourself.