0
0
AWScloud~20 mins

Application Load Balancer (ALB) in AWS - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
ALB Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
How does an Application Load Balancer route traffic?

Imagine you have a web app behind an Application Load Balancer (ALB). How does the ALB decide which server to send a user's request to?

AIt always sends all requests to the first server in the list.
BIt sends requests randomly to any server without checking health.
CIt routes requests based on the content of the request, like URL path or host header.
DIt sends requests only to servers that are offline to balance load.
Attempts:
2 left
💡 Hint

Think about how ALB can inspect the request details before forwarding.

Architecture
intermediate
2:00remaining
Which component is NOT part of an ALB architecture?

In the architecture of an Application Load Balancer, which of these components is NOT involved?

AListeners that check incoming requests on specific ports.
BTarget groups that contain registered servers or containers.
CAuto Scaling groups that automatically add or remove servers.
DDNS servers that resolve domain names to IP addresses.
Attempts:
2 left
💡 Hint

Consider which components ALB directly manages versus external services.

scaling
advanced
2:00remaining
How does ALB handle sudden traffic spikes to maintain performance?

Your web app behind an ALB suddenly gets a huge spike in traffic. How does ALB help maintain performance?

AALB distributes requests evenly across healthy targets and supports auto scaling integration.
BALB automatically adds more servers to the target group to handle load.
CALB queues incoming requests indefinitely until servers are free.
DALB rejects all new requests until traffic decreases.
Attempts:
2 left
💡 Hint

Think about how ALB works with other AWS services to handle load.

tradeoff
advanced
2:00remaining
What is a tradeoff when using ALB with sticky sessions enabled?

Sticky sessions (session affinity) keep a user's requests on the same server. What is a downside of enabling sticky sessions on ALB?

AIt prevents the ALB from checking server health.
BIt can cause uneven load because some servers get more requests than others.
CIt disables SSL encryption on the ALB.
DIt improves load distribution evenly across all servers.
Attempts:
2 left
💡 Hint

Consider how sticking users to one server affects load balance.

estimation
expert
2:00remaining
Estimate the number of concurrent connections ALB can handle for a high-traffic app.

You plan to deploy an ALB for a high-traffic app expecting 100,000 concurrent users. What is a reasonable estimate of ALB's concurrent connection capacity per load balancer?

AAbout 100,000 concurrent connections per ALB.
BAbout 1,000,000 concurrent connections per ALB.
CAbout 10,000 concurrent connections per ALB.
DALB has no limit on concurrent connections.
Attempts:
2 left
💡 Hint

Think about AWS ALB documented limits and typical usage.