AWS Fundamental (Load Balancing/ASG/EBS) Flashcards

1
Q

Vertical Scalability

A

Increase the size of one instance

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

Horizontal Scalability

A

Increase the number of instances - ASG/LB

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

High Availability

A

Running your applications/instances across AZ/regions - ASG/LB multi-AZ

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

Load Balancing

A

Forward internet traffic to multiple servers

  • spreads load across multiple instances
  • simple point of entry (DNS)
  • seamlessly handle downstream failures
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ELB

A

EC2 Load Balancer is a managed load balancer

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

Types of ELB

A

Classic, Application Load Balancer (ALB), Network Load Balancer (NLB)

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

Application Load Balancers

A
  • Fixed hostname (XXX.region.elb.amazonaws.com)
  • Great for microservice & container based solutions
  • Can target EC2 instances, ECS tasks, lambda functions and IP Addresses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Network Load Balancers

A
  • Forward TCP and UDP traffic
  • Can handle millions of requests per second
  • Less latency than an ALB
  • One static IP per AZ
  • Used for extreme performance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Load Balancer Stickiness

A

Redirect clients to the same instance

  • ensures users do not lose session data
  • can bring imbalance to the EC2 instances
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Cross Zone Load Balancing

A

Manage loads across AZ

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

SNI

A

Server Name Identification - solves the problem of loading multiple SSL certificates onto one web server

Fetches the appropriate SSL certificate based on the hostname requested

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

ELB Connection Draining

A

When an instance stops, the time allowed to complete a request before deregistering the instance

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

Auto scaling Group

A

Scale EC2 instances on demand

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

Auto scaling Alarms

A

Scale ASG based on cloudwatch alarms where an alarm watches a metric (CPU)

  • Target Tracking: base it on a simple metric i.e. CPU
  • Step/Simple Scaling: More custom, base it a cloudwatch alarm
How well did you know this?
1
Not at all
2
3
4
5
Perfectly