ELB Flashcards

1
Q

What is ELB?

A

Elastic Load Balancer. Used to help balance the load across several different servers.

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

What are the 3 types of ELB?

A

1) Application Load Balancer
2) Network Load Balancer
3) Classic Load Balancer

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

When to use an Application Load Balancer?

A

Best suited for load balancing of HTTP or HTTPs traffic

  • Layer 7
  • Application aware
  • Send specific requests to specific web server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When to use a Network Load Balancer?

A

Best for TCP traffic where need extreme performance

  • Layer 4
  • Can handle millions of requests per sec while maintain ultra low latency
  • MOST EXPENSIVE
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When to use a Classic Load Balancer?

A
  • Legacy app
  • Load balance HTTP/HTTPS apps
  • Layer 7 specific features such as X Forward and Stick Sessions
  • Also use strict layer 4 for apps that rely solely on TCP protocol
    NOT AS GOOD as application load balancer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does it mean if you receive a 504 error from a Classic ELB?

A

Either webserver or database layer has an issue. It is something below the load balancer experiencing the error.

To fix try scaling the app up or out.

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

How to perform TLS encryption with ALB?

A

Perform TLS termination on the ALB to ensure data is encrypted in transit between VPC and the customer who is accessing it.

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

How to get an IPv4 address of the end user with a ELB?

A

Look for the X-Forwarded-For header

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

Services that can use ELB?

A

EC2 instances
ECS containers
Lambda functions
IP addresses

in multiple availability zones

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

What is Cross Zone Load Balancing?

A

distributes traffic across registered targets in all enabled Availability Zones.

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

Does ELB support load balancer-generated cookies?

A

Yes, but only for sticky sessions.

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

Monitoring Services for ELB

A

ALL
CloudWatch
CloudWatch Logs

Network
VPC Flow Logs

Application
Access Logs
Request Tracing

Classic
Access Logs

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

What are Stick Sessions?

A

Way to route requests to the same target within a target group. This could be set in seconds. This is great for stateful applications.

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