ELB Flashcards

1
Q

What is ELB?

A

Distribute traffic to multiple targets across multiple AZ’s

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

How does Health Checks work with ELB?

A

ELB will check and route only to healthy targets

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

What layer does ALB operate on?

A

Layer 7

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

What is ALB used for?

A

Servicing HTTP/HTTPS requests and intelligent path routing

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

What does a Listener consist of?

A

A protocol and a port,

Rules with conditionals and actions and priority

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

How do you handle a scenario where you need to send certain url paths to a different region? What LB type should you use?

A

Use Path Based Patterns, Use a ALB to route

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

*What protocols does ALB support?

A

Only HTTP and HTTPS

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

What do you need to use a HTTPS Listener? How does it work?

A

You need an SSL server certificate on the LB, so that the LB will terminate the incoming and decrypt the client req before sending to targets

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

What is a Listener?

A

Checks for client connections on a protocol and port

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

What is a target group?

A

Routes requests to 1 or more targets in the group based on protocol and port

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

What is the use case for a NLB?

A

You need extreme performance, low latency, with thousands of concurrent connections for TCP

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

What layer does NLB operate on?

A

layer 4

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

Can you do intelligent based routing with a NLB?

A

No you cannot, there are no Rules on Listeners

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

How do you use TLS with NLB?

A

You need a TLS Listener that will encrypt/decrypt the traffic on the NLB and have the SSL Certificate on the LB

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

What is a CLB? Why use it?

A

Legacy LB that lets you balance HTTP/HTTPS or TCP. Enables use of x-forward-header and sticky sessions.

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

What is x-forward-header ?

A

A Layer 7 feature that lets you pass the client ip address to targets behind the LB

17
Q

Can you configure Rules for a CLB?

A

No you can’t use Rules for a CLB

18
Q

What is Connection Draining or Deregistration Delay?

A

When instances become unhealthy or deregistered but there is a connection from a LB. This allows inflight requests to be completed by keeping existing connections open if this happens.

19
Q

What is cross zone balancing?

A

Sends requests evenly to all targets in all AZ’s in the target group. Instead of splitting to each ELB in each AZ, then distributing to targets only within that AZ in which the ELB is in.

20
Q

*What is the difference between a ALB and CLB sticky session?

A

CLB is at an instance level while ALB is at a target group level

21
Q

What should you do given a scenario where you remove an EC2 instance from the pool but now the user is getting an error?

A

This means that sticky session was enabled, so you have to disable sticky sessions

22
Q

What features does ALB have for intelligent routing?

A
  1. Path based
  2. Host based
  3. Query parameters and strings
  4. Headers
  5. HTTP Verbs