Here’re the top AWS VPC Scenario based Interview questions. Here, you can find questions and answers on VPC, subnet, Route Table, and IGW. These are collection of questions asked in top companies.
AWS VPC Interview Questions
1.What is Virtual Private Cloud?
It’s a logically separated virtual private network that operated in on-premises data center.
2. What is VPC in advanced terms?
It’s the logically separated private network.
In one region (see AWS regions), you can create n number of VPCs.
All the VPCs are logically separated even if the IP address space shared.
3. Tell us various functions that you can do with VPC?
Selecting your own IP address range; creating your own subnets; and configuring your own route tables, network gateways, and security settings.
4. Tell us can we create VPC within a VPC?
No, You can’t.
5. What is Subnet?
A ‘subnet’ in AWS means a segment of VPC (Virtual private cloud). Each subnet has its own IP address (10.0.1.0/24 – CIDR format).
By default the “subnet’ is private (non-sharable on the net).
Three types of Subnets you can find. Those are Private, Public and VPN.
6. What is Route Table?
Only one Route Table you’ll have for each VPC.
The ‘local route’ that is default route. You can’t delete or edit that route. The purpose of this is to communicate between AWS and VPC.
A Route Table has two columns – Destination and Target
7. What is IGW (Internet Gate Way)
It’s redundant, horizontal scalable and highly available component. It is mediator between Internet and VPC (instances).
8. What is EIP?
It’s called Public IP address.
9. What is the IP address that makes traffic to public?
10. Do you think each subnet need a route table?
Yes, each subnet must be linked to route table.
11. When you create VPC, by default how many route tables are created?
Two route tables
12. What is Elastic IP address (EIP)?
It’s basically a static and Public IP address. The purpose is when the underlying infrastructure changes, the IP address is still remain the same.