What are the three types of APIs supported by AWS API Gateway
REST APIs, HTTP APIs, WebSocket APIs.
What is the default limit for API Gateway requests per second (RPS)?
10,000 RPS per account per region (soft limit, can request increase).
How can API Gateway secure APIs?
Using IAM policies, Cognito User Pools, Lambda Authorizers, API keys, and usage plans.
How can API Gateway reduce backend load?
With caching responses at the stage level.
What is a stage in API Gateway?
A deployment environment for an API, e.g., dev, test, prod.
True or False: WebSocket APIs in API Gateway support stateful, real-time two-way communication.
True.
What pricing components does API Gateway have?
API calls, data transfer out, caching (optional), and optional features like custom domain names.
How many VPCs can an IGW attach to?
One.
What type of IP addresses does an Internet Gateway support?
IPv4 and IPv6.
Can an IGW perform NAT for private subnets?
No, only for instances with public IPs in public subnets.
What is the primary use of a NAT Gateway?
A: Allow outbound internet access for private subnet instances without exposing them.
True or False: IGWs are horizontally scaled and redundant.
True.
Which route table entry is required to use an IGW?
0.0.0.0/0 for IPv4 or ::/0 for IPv6 pointing to the IGW.
How is NAT Gateway different from NAT Instance?
A: NAT Gateway is fully managed, highly available, and scales automatically. NAT Instance is self-managed and can be a single point of failure if not configured with HA.
Can NAT Gateways handle IPv6 traffic?
A: No, they only handle IPv4.
True or False: NAT Gateway pricing is based on hourly usage and data processed.
True.
Where should a NAT Gateway be deployed for high availability?
A: In each Availability Zone where private subnets exist.
How many VPN tunnels does a VGW support?
A: 2 tunnels per VPN connection (for redundancy).
What is VGW used for?
A: To terminate site-to-site VPN connections on AWS side.
Can a VGW be associated with multiple VPCs?
A: No, one VGW per VPC.
True or False: VGW only supports IPv4 traffic.
A: False. VGW supports IPv4 and optionally IPv6 if configured.
Can VGW connect to AWS Direct Connect?
Yes.
What is AWS Transit Gateway?
A: A central hub that connects multiple VPCs and on-premises networks.
How does TGW simplify network management?
A: It reduces the need for multiple VPC peering connections and complex route tables.