0
0
AWScloud~5 mins

Application Load Balancer (ALB) in AWS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is an Application Load Balancer (ALB) in AWS?
An Application Load Balancer (ALB) is a service that distributes incoming application traffic across multiple targets, such as EC2 instances, containers, and IP addresses, to improve availability and scalability.
Click to reveal answer
intermediate
How does ALB differ from a Classic Load Balancer (CLB)?
ALB works at the application layer (Layer 7) and supports advanced routing like path-based and host-based routing, while CLB works at both Layer 4 and Layer 7 but with fewer features and less flexibility.
Click to reveal answer
intermediate
What types of routing can ALB perform?
ALB supports path-based routing (routing based on URL paths), host-based routing (routing based on domain names), and supports routing based on HTTP headers, methods, and query parameters.
Click to reveal answer
beginner
What is a target group in the context of ALB?
A target group is a set of resources (like EC2 instances or IP addresses) that ALB routes traffic to. You can register or deregister targets dynamically to manage traffic flow.
Click to reveal answer
beginner
Why is health checking important in ALB?
Health checks monitor the status of targets to ensure ALB only sends traffic to healthy instances, improving reliability and user experience.
Click to reveal answer
Which layer of the OSI model does an Application Load Balancer operate on?
ALayer 7 (Application Layer)
BLayer 4 (Transport Layer)
CLayer 3 (Network Layer)
DLayer 2 (Data Link Layer)
What feature allows ALB to route traffic based on URL paths?
APath-based routing
BHost-based routing
CIP-based routing
DPort-based routing
Which of the following is NOT a valid target type for ALB?
AEC2 instances
BLambda functions
CIP addresses
DContainers
What happens if a target fails health checks in ALB?
AALB reroutes traffic to the client
BTraffic is still sent to the target
CALB shuts down
DTraffic is stopped to that target until it passes health checks
Which AWS service is commonly used with ALB to automatically scale targets?
AAWS CloudTrail
BAWS S3
CAWS Auto Scaling
DAWS IAM
Explain how an Application Load Balancer improves application availability and scalability.
Think about how traffic is shared and how failures are handled.
You got /4 concepts.
    Describe the difference between path-based and host-based routing in ALB.
    Consider what part of the request ALB looks at to route.
    You got /4 concepts.