Load Balancers Flashcards

1
Q

What are the three types of load balancers?

A

Application Load Balancers
Network Load Balancers
Classic Load Balancers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the components of an Application Load Balancer?

A

Listener - Checks for connection requests.
Target group - collection of running target instances
Load Balancer - Point of concat for the clients

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the properties of an ALB rule?

A

Target Group
Condition
Priority

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

ALB Health Checks are configure per:

A

Target Group

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

At what layer does an ALB operate?

A

7th

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What bitmask is required for an ALB to scale properly?

A

/27

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How many free IP addresses are required for an ALB to scale properly?

A

At least 8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the default idle timeout for an ALB?

A

60 seconds

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What protocols are supported by an ALB listener?

A

HTTP/HTTPS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Are websockets supported by ALB?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the default ALB listener rules?

A

Default Action - If requests otherwise not routed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the ALB Rule Action Types

A
authenticate-cognito
authenticate-oidc
fixed-reponse
forward
redirect
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which ALB rule action sends request to a target group?

A

Forward

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What ALB rule should be used for a custom http response

A

Fixed Response Rules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the ALB rule condition types?

A
host-header
http-header
http-request-method
path-pattern
query-string
source-ip
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What ALB rule condition should be used for filtering user agents?

A

http-header (user-agent header)

17
Q

What are the 3 target types for an ALB target group

A

instance
ip
lambda

18
Q

What kinds of IPs can you specify for ALB target groups with type IP?

A

The subnets of the VPC for the target group.
A bunch of RFC ips
NOT publicly routable IP addresses.

19
Q

What ALB target group type can be used for scaling?

A

Instance IDs can be used with Auto scaling groups.

20
Q

What is the default timeout for ALB to wait before deregistering a target?

A

300s

21
Q

What is the default slow start (ie: delay before sending a share of the traffic) for a new target?

A

0 seconds

22
Q

What is the default sticky cookie duration for an ALB?

A

1 day

23
Q

What is the state of a deregistering target in ALB?

A

draining