ELB & ASG Flashcards

1
Q

What is Vertical Scalability?

A

Means increasing the size of an instance.

Example: 4 GB RAM instance to 8 GB RAM instance.

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

What is Horizontal Scalability?

A

Means increasing the number of instances / systems for your application.

Example: Having a single 4 GB RAM instance and then spinning up three more 4 GB RAM instances.

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

What is High Availability?

A

High Availability means running your application / system in at least 2 availability zones.

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

Define Scalability.

A

The ability to accommodate a larger workload by scaling up or scaling out.

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

Define Elasticity.

A

The ability for a system to scale based on load.

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

Define Agility.

A

The ability to reduce the time to make resources available to users (minutes).

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

What is a load balancer?

A

Servers that forward internet traffic to multiple servers downstream.

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

Why use a load balancer?

Name at least 3 points.

A

Spread load across multiple downstream instances.

Expose a single point of access (DNS) to your application.

Seamlessly handle failures of downstream instances.

Do regular health checks to your instances.

Provide SSL termination for your websites.

HA across zones.

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

What is an ELB (Elastic Load Balancer)?

A

A managed load balancer.

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

What are the 3 types of load balancers offered by AWS?

A

Application Load Balancer
Network Load Balancer
Classic Load Balancer

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

What is an Auto Scaling Group (ASG)?

A

Allows you to create and get rid of servers very quickly based on load.

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

What are the 5 goals of an Auto Scaling Group?

A
  1. Scale out to match increased load
  2. Scale in to match decreased load
  3. Ensure we have a min./max. # of machines
  4. Auto register new instances to a load balancer
  5. Replace unhealthy instances
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which AWS offered Load Balancer should you use to handle hundreds of thousands of connections with low latency?

A

A Network Load Balancer can handle millions of requests per second with low-latency. It operates at Layer 4, and is best-suited for load-balancing TCP, UDP, and TLS traffic with ultra high-performance.

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

Changing an EC2 Instance Type from a t3a.medium to a t3a.2xlarge is an example of?

A

Vertical scaling.

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

What can you use to handle quickly and automatically the changing load on your websites and applications by adding compute resources?

A

An Auto Scaling Group (ASG)

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

True or False?

Auto Scaling Groups can automatically change EC2 instance types.

A

False.

Auto Scaling Groups can add or remove instances, but from the same type. They cannot change the EC2 Instances Types on the fly.

17
Q

Which Load Balancer is best suited for HTTP/HTTPS load balancing traffic?

A

Application Load Balancers are used for HTTP and HTTPS load balancing. They are the best-suited for this kind of traffic.`