Elastic Load Balancing and Auto Scaling Groups Flashcards

1
Q

What is another term for horizontal scalability?

A

Elasticity

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

What is vertical scalability?

A

Increasing the size of the instance (e.g. more RAM, CPU, etc.)

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

What is the mechanism for horizontal scalability?

A

Add more instances

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

What does high availability mean?

A

Running your applications in more than 1 AZ. This builds fault tolerance as if one AZ goes down, you can switch to the failover - thus increasing availability of your resources.

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

What is agility in reference to the tools that the cloud provides?

A

The idea that they are only one click away which means that you reduce the time to make those resources available to developers from weeks to minutes.

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

What is a load balancer?

A

Servers that forward traffic to multiple servers downstream, making sure that no one server will take on all of the load

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

Why are load balancers useful?

A
  • Allows us to balance the backend more effectively
  • Handles failures of instances effectively
  • High availability across zones
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the 3 types of load balancer and what layers do they operate at?

A
  • Application load balancers (layer 7)
  • Network load balancers (layer 4)
  • Gateway load balancers (layer 3)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is an auto scaling group used for?

A

To automatically create servers on the backend to adjust for demand. This increases scalability.

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

What are the 4 different dynamic scaling types for an auto scaling group?

A
  • Simple/step scaling (like a decision rule, e.g. if CPU usage > 70%, add 2 units)
  • Target tracking scaling (e.g. I want the average CPU usage to be at 40% < x < 50%)
  • Schedule scaling (anticipate scaling based on seasonal patterns)
  • Predictive scaling (using ML to predict demand ahead of the kerb)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly