ELB Flashcards

1
Q

ELB means

A

Elastic load balancer

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

When is it appropriate to use a classic load balancer?

A

When you need to support legacy. Or when the Application Load Balancer is not approps.

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

If you want to use EC2 classic and a load balancer. What load balancer will be required?

A

The classic.

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

Name the three types of ELB

A

Application
Network
Classic

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

What does the network load balancer do?

A

Distributes traffic within the AWS environment only.

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

To distribute HTTP and HTTPS requests, what load balancer is required?

A

Application Load Balancer

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

Are ELBs to be considered highly available?

A

Yes

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

Explain the ELB Component: Listeners

A

Defines how inbound connections are routes.

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

Explain the ELB Component: target groups

A

A group of resources to which you want to route your requests.

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

Explain the ELB Component: rules

A

Rules are associated with each listener. And help determine behaviour if certain criteria are met.

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

Explain the ELB Component: Healthchecks

A

Checks a target resource group / resource is healthy.

If it’s not. Actions can be specified.

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

True or false. You must have a ELB mode, in each AZ you want an ELB to distribute traffic to?

A

True

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

What does cross zone load balancing do, in relation to ELBs.

A

Ensures all targets, in al AZ’s get an equal load.

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

What does a ELB Launch config do?

A

Allows you to specify setting and details of the EC2’s you want the ELB to launch.

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

Does ELB have the power to take over encryption and decryption work from EC2 instances, and manage it centrally at the load balancer?

A

No!

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

Can EC2 auto scaling launch templates, deploy multiple instance types and purchase types in one group?

A

Yes

17
Q

Can you change the health of an instance using auto scaling commands?

A

Yes

18
Q

What’s the default TTL for a DNS entry in ELB

A

60 seconds

19
Q

What determines the cost of an application load balancer

A

Load Capcity Units

each hour or partial hour the ELB runs

20
Q

What does LCU mean?

A

Load capacity Units

21
Q

Do you need multiple load balancers for HA?

A

No

22
Q

Your load balancer and EC2 instances should always be in separate security groups. True or false?

A

True

23
Q

It is considered best practise for servers behind a load balancer, to only be accessible by the load balancer. Yes or no?

A

Yes

24
Q

True or false. NAT instanced should always be used in public subnets?

A

True

25
Q

What is a cool down period?

A

It prevents auto scaling groups launching or terminating instances before their effect is visible.

26
Q

What’s a target tracking scaling policy?

A

Increase or decrease current capacity of the group based on a target value for a specific metric.

27
Q

A target tracking scaling policy can scale when a metric hits a certain target. Can it scale out if the metric is below target value too?

A

No

28
Q

You want to keep average aggregate CPU at 40% within your scaling group. What scaling policy to use?

A

Target scaling

29
Q

Can you specify a cool down period in step scaling policies?

A

No

30
Q

Define step scaling

A

Increase or decrease the current capacity of a scaling group based on “step adjustments” - these adjustments vary based on the size of the alarm breach.

31
Q

What scaling policy is comparable to a thermostat? You set the target, the thermostat does all the work.

A

Target scaling

32
Q

Define simple scaling

A

Increase or decrease the current capacity of a group based on a single scaling adjustment.

33
Q

In an auto scaling group. What does auto scaling launch config specify

A

Instance type and AMI

34
Q

Can you attatch multiple scaling policies to an auto scaling group?

A

Yes

35
Q

By default, is detailed logging enabled for auto scaling groups?

A

Yes