High Availability and Scaling Flashcards

1
Q

automatically distributes your incoming traffic across multiple targets, such as EC2 instances, containers, and IP addresses, in one or more Availability Zones.

A

Elastic Load Balancer

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

First load balancer that is now out of date and not recommended

A

Classic Load Balancer (CLB)

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

Load balancer functions at layer 7 of OSI model, Supports HTTP/S/WebSocket

A

Application Load Balancer (ALB)

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

Load balancer functions at the fourth layer of the Open Systems Interconnection (OSI) model. It can handle millions of requests per second. Supports TCP, TLS, UDP

A

Network Load Balancer (NLB)

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

Each ELB is configured with an A record which points to the ELB nodes placed across the chosen AZs.

A

True

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

ELB Nodes with public IPs AND private IPs

A

Internet-Facing

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

ELB Nodes with private IP

A

Internal-Facing

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

Controls what protocols and ports will be accepted by the ELB nodes

A

Listeners

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

Can an internet-facing ELB connect to both public and private EC2 instances?

A

Yes

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

Suggested size by AWS of IP’s for ELBs in order for scale

A

/27 or larger

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

Ability to distribute or load balance across all instances in all AZ

A

Cross-Zone Load Balancing

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

Will nodes scale automatically if the load increases?

A

Yes

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

Are CLB capable of scaling?

A

No

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

ALB must have SSL certifications installed if HTTPS is used

A

True

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

Are ALB slower than NLB?

A

Yes

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

Direct the connections which arrive at a listener in an ALB

A

Rules

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

Forwarding encrypted connections without terminating them requires Network Load balancer

A

True

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

Can you detailed health checking with a network load balancer?

A

No

19
Q

Can NLB have static IPs for whitelisting?

A

Yes

20
Q

Can NLB forward TCP to instances with unbroken encryption

A

Yes

21
Q

NLB are used with privatelink to provide services to other VPCs

A

True

22
Q

Specifies instance configuration information that can be used to easily provision instances in the same configuration

A

Launch Templates

23
Q

Used for automatic scaling and self-healing for Ec2 using launch templates/configurations

A

Auto Scaling Groups

24
Q

Keeps running instances at the desired capacity by provisioning or termination instances

A

Auto Scaling Groups

25
Q

Updates the capacity based on certain criteria/metrics

A

Scaling Policies

26
Q

Manually adjust desired capacity

A

Manual Scaling

27
Q

Time based scaling used for known periods of usage

A

Scheduled Scaling

28
Q

Scale out or in based on a metric reaching an alarm state (ex. cpu usage, i/o)

A

Simple Scaling

29
Q

Scaling similar to Simple scaling but the adjustments vary based on the size of the alarm breach, add more control of scaling

A

Stepped Scaling

30
Q

Scaling where you set a target value that represents the ideal average utilization or throughput level for your application and the scaling group adds or removes resources to maintain the desired level

A

Target Tracking

31
Q

How long to wait on a scaling action before performing another (default 300 seconds)

A

Cooldown period

32
Q

Are auto scaling groups free?

A

Yes only charged for the resources

33
Q

Are scaling policies required when creating an Auto Scaling Group

A

No

34
Q

Create solutions that are aware of events in the Auto Scaling instance lifecycle, and then perform a custom action on instances when the corresponding event occurs

A

ASG Lifecycle Hooks

35
Q

Used ensure that your bootstrap scripts have completed successfully and the applications on the instances are ready to accept traffic

A

ASG Lifecycle Hooks

36
Q

uses the results of the Amazon EC2 instance status checks and system status checks to determine the health status of an instance

A

EC2 Health Check

37
Q

Checks whether the load balancer reports the instance as healthy, confirming whether the instance is available to handle requests

A

ELB Health Check

38
Q

health checks by using a combination of custom health checks, Amazon EC2 status checks, and Elastic Load Balancing health checks, if enabled

A

Custom Health Check

39
Q

Delay before starting Health Checks (default 300 seconds)

A

Grace Period

40
Q

SSL load balancer sits on the edge and grabs all incoming HTTPS traffic. After decryption, the balancer encrypts again and passes it to the server. Every EC2 instance on the backend needs to perform cryptographic operations

A

SSL Bridging

41
Q

Network Load Balancer just passes the connection to one of the backend instances, performs no encryption or decryption

A

SSL Passthrough

42
Q

Listener configured for HTTPS, ELB needs an SSL certificate for decryption but doesn’t encrypt data passed to the EC2 instances

A

SSL Offload

43
Q

Feature to enable the load balancer to bind a user’s session to a specific target. This ensures that all requests from the user during the session are sent to the same target.

A

Session Stickiness

44
Q

Used for running and scaling 3rd party appliances and provide network security at scale

A

Gateway Load Balancer