ELB Flashcards

1
Q

Types of load balancers on AWS

A
  • APL (Apllication Load Balancer)
  • Network Load Balancer
  • Gateway Load balancer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The load balancer is used as a front server it a balances the requests somewhere, what do we call that thing?

A

A target group, it can be EC2 instances…

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

I have multiple instances of EC2, how do I configure the Load balancer?

A

We create a target group to group those instances

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

What protocols do NLB support for healthcheck

A

HTTP, HTTPS and TCP

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

Difference between ALB and NLB

A

ALB is for layer 7 (HTTP, HTTPS) and NLB can forward lower layer like TCP/UDP

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

What is session stickiness

A

It’s a mechanism that an ELB uses to “tie” a client to a specific EC2 instance for a time

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

How stickiness is implemented?

A

It’s done by using cookies: Application cookie and Duration cookie

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

What is EFS IA and why use it?

A

EFS Infrequent Access, it’s cheaper to store there when data is not accessed regularly

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

EFS is only for linux based EC2 AMI? True of false

A

True

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

With GP2 disk size and IOPS are linked, true or false? Give two types where size can vary independently of IOPS

A

True; Io2 and GP3

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

Explain de-registration delay? What is the default value?

A

Time to complete requests while the instance is being terminated, deregistrated or marked unhealthy. Default is 300 seconds

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

Do NLB have static IP?

A

Network Load Balancer has one static IP address per AZ and you can attach an Elastic IP address to it. Application Load Balancers and Classic Load Balancers as a static DNS name.

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

Give the 3 cookies name reserved by ALB

A

AWSALB, AWSALBAPP, AWSALBTG

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