VPC-A (172.16.0.0/16) is connected to VPC-B (192.168.0.0/16) via a VPC Peering Connection. VPC-B has an Internet Gateway attached to it. Can an EC2 instance in VPC-A route its traffic out through VPC-B's Internet Gateway to access the web?
No, an EC2 instance in VPC-A cannot access the internet through VPC-B's IGW via VPC Peering. VPC-A needs its own Internet Gateway or another supported internet connectivity solution.
An engineer creates a custom VPC (10.50.0.0/16) and an Internet Gateway (IGW). They immediately try to attach the IGW to a newly created subnet (10.50.1.0/24). Why does the AWS Management Console/CLI throw an error?
AWS throws an error because an IGW can only be attached to a VPC, not a subnet. Configure the subnet's route table to enable internet access.
Why is the subnet mask 255.255.255.244 invalid? Correct the mask so it supports exactly 14 usable hosts?
255.255.255.240 (/28)
Total IPs: 16
Usable hosts: 14
Expand 192.168.100.0/24 to a /23 mask. What is the new Network ID and valid host range?
Network ID: 192.168.100.0/23
Valid host range: 192.168.100.1 – 192.168.101.254
Total usable hosts: 510
An engineer creates a custom VPC (10.50.0.0/16) and an Internet Gateway (IGW). They immediately try to attach the IGW to a newly created subnet (10.50.1.0/24). Why does the AWS Management Console/CLI throw an error?
Step 1: Host bits
32 − 28 = 4
Step 2: Total IP addresses
(2^4 = 16)
Step 3: AWS reserved IPs
5 IP addresses.
Step 4: Usable IPs
16 − 5 = 11
Final Answer: 11 EC2 instance
Daha fazla soru yükle