High Availability Flashcards

1
Q

How do you load balance to multiple applications n the same machine?

A

Use an Application Load Balancer

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

Using Application Load Balancer, how can we get the client IP, the port and the proto?

A

X-Forwarded-For, X-Forwarded-Port and X-Forwarded-Proto

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

What traffic does an Application Load Balancer handle?

A

Layer 7 HTTP/HTTPS and Websocket

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

What traffic does a Network Load Balancer handle?

A

Layer 4 TCP

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

How do you enable Stickiness?

A

In the target group, under Attributes, select the stickiness attributes to apply

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

What are 4 attributes of the Application Load Balancer?

A
  • Layer 7 HTTP Traffic
  • URL based routing with hostname/path
  • Does not support static IP, has a DNS
  • Provides SSL Termination
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are 4 attributes of Network Load Balancer?

A
  • Layer 4 TCP
  • No pre-warming needed
  • 1 static IP per subnet
  • No SSL termination - SSL must be enabled at app level
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is one way to assign a static IP to an ALB?

A

Put a Network Load Balancer in front of it

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

What should you do if you expect high traffic to hit your ALB?

A

Open a support ticket with AWS to pre-warm the ALB

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

How would you support SSL for Legacy Browsers?

A

Change the ALB Policy to allow for the weaker cipher:

ELBSecurityPolicy-TLS-1-0-2015-04

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

What are 4 Load Balancer troubleshooting steps?

A
  • Check Security Groups
  • Check Health Checks
  • Check Sticky Sessions are not imbalanced
  • For Multi-AZ, make sure cross zone balancing is enabled
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is SurgeQueueLength?

A

The total number of requests/connections that are pending routing to an instance.

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

What is MaxValue of the SurgeQueueLength?

A

1024

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

What is the SpillOverCount?

A

The total number of requests rejected because the Surge Queue is full

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

What are the 8 Scaling processes in Auto Scaling Groups?

A
  • Launch
  • Terminate
  • HealthCheck
  • ReplaceUnHealthy
  • AZRebalance
  • AlarmNotifcation
  • ScheduledActions
  • AddToLoadBalancer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How often are ASG CLoudwatch metrics collected?

A

Every minute