Elastic Load Balancer Flashcards

1
Q

What are the possible target groups for an Application Load Balancer?

A
  • instance - The targets are specified by instance ID.
  • ip - The targets are IP addresses.
  • lambda - The target is a Lambda function.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How the ELB routs the traffic when you specify targets using an instance ID?

A

Traffic is routed to instances using the primary private IP address specified in the primary network interface for the instance.

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

Why to use an ALB with Lambda?

A
  • Use load balancer rules to route HTTP requests to a function, based on path or header values.
  • You will need either an ALB or API Gateway in front of a Lambda function.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Can you set a public IP as an ELB target?

A

You can’t specify publicly routable IP addresses.

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

What are the ALB use cases?

A
  • HTTP/HTTPS
  • path based routing
  • host base routing
  • query string routing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the NLB use cases?

A
  • TCP, UDP or TLS
  • ultra-high performance
  • low latency
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the Gateway LB use cases?

A
  • In front of appliances
  • Firewalls
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the NLB targets

A

EC2 instance
IP address

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

What does the HTTP 503: Service unavailable ALB error mean?

A

The target groups for the load balancer have no registered targets.

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

What does the HTTP 504: Gateway timeout ALB error mean?

A

The load balancer failed to establish a connection to the target

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

What does the HTTP 502: Bad gateway ALB error mean?

A

Other communcation errors beteen the ALB and the taget like:

  • unreachable host
  • malformed http headers (from the target)
  • SSL handshake error
  • Lambda function errors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly