At which OSI layer does an Application Load Balancer (ALB) operate?
Layer 7 – the application layer.
What types of targets can an ALB route traffic to?
EC2 instances, ECS tasks, Lambda functions, and private IP addresses.
Where are health checks configured for an ALB?
At the Target Group level, using HTTP or HTTPS.
Is cross-zone load balancing enabled or disabled by default on an ALB?
Enabled by default.
Can you attach an Elastic IP address directly to an ALB?
No, Elastic IPs cannot be attached to ALBs.
In which type of subnet must an ALB be placed to be Internet-facing?
A public subnet.
Which extra protocol does ALB support that is useful for microservices?
gRPC.
Can ALBs do weighted routing across target groups?
Yes, ALBs support Weighted Target Group routing.
At which OSI layer does a Network Load Balancer (NLB) operate?
Layer 4 – the transport layer.
Which protocols does an NLB support?
TCP and UDP.
What is special about the IP addressing of an NLB?
It exposes one static IP per Availability Zone, which can also be an Elastic IP.
What kinds of targets can an NLB have?
EC2 instances, private IP addresses, and ALBs.
Which health check protocols does NLB support?
TCP, HTTP, and HTTPS.
Is cross-zone load balancing enabled or disabled by default on an NLB?
Disabled by default.
At which OSI layer does a Gateway Load Balancer (GWLB) operate?
Layer 3 – the network layer.
What is the main use case for a GWLB?
Routing traffic through 3rd-party virtual appliances such as security appliances for inspection before reaching servers.
Which encapsulation protocol and port does GWLB use?
GENEVE protocol on port 6081.
What target types does GWLB support?
EC2 instances and private IP addresses.
Is cross-zone load balancing enabled or disabled by default on GWLB?
Disabled by default.
Are ELBs region-scoped or global?
They are region-scoped; ELBs are region bound.
Do ELBs have security groups?
Yes, ALBs and Classic Load Balancers use security groups.
What is cross-zone load balancing?
Even distribution of traffic across all targets in all enabled Availability Zones for the load balancer.
What are sticky sessions and why are they used?
Sticky sessions (session affinity) ensure a client is consistently routed to the same backend instance, often for session persistence.
Which load balancer types support sticky sessions?
Classic Load Balancer, ALB, and NLB.