5. ELB Flashcards

1
Q

What does scalability mean in cloud computing?

A

Scalability means the ability of an application or system to handle greater loads by adapting.

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

Name the two types of scalability.

A

Vertical scalability and horizontal scalability.

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

True or False: Vertical scalability involves adding more instances to handle load.

A

False

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

What is horizontal scalability?

A

Horizontal scalability means increasing the number of instances or systems for an application.

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

Which type of scalability is common for non-distributed systems?

A

Vertical scalability

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

Fill in the blank: High availability typically requires running applications in at least ___ Availability Zones.

A

two

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

What is the purpose of high availability in cloud architecture?

A

To ensure that an application or system can survive a data center loss.

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

True or False: High availability is synonymous with scalability.

A

False

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

What does an Auto Scaling Group (ASG) do?

A

It automatically scales the number of EC2 instances to match load, ensuring optimal capacity.

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

Explain the purpose of a load balancer in cloud computing.

A

A load balancer distributes internet traffic across multiple servers (EC2 Instances) downstream.

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

List two benefits of using a load balancer.

A

Handles failures of instances and provides SSL termination (HTTPS).

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

True or False: Elastic Load Balancer (ELB) requires manual configuration for high availability.

A

False

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

How does AWS manage an Elastic Load Balancer (ELB)?

A

AWS handles upgrades, maintenance, and high availability of ELBs.

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

Name the four types of load balancers in AWS.

A

Application Load Balancer, Network Load Balancer, Gateway Load Balancer, Classic Load Balancer.

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

What type of load balancer is ideal for HTTP/HTTPS protocols?

A

Application Load Balancer

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

Which layer does the Network Load Balancer operate on?

A

Layer 4

17
Q

What is the primary purpose of a Gateway Load Balancer?

A

To route traffic to firewalls managed on EC2 instances.

18
Q

True or False: Horizontal scalability is necessary for achieving high availability.

A

True

19
Q

Describe vertical scaling in the context of EC2 instances.

A

Vertical scaling involves increasing the size of the instance, such as moving from a t2.micro to a t2.large.

20
Q

What is elasticity in cloud computing?

A

Elasticity allows a system to auto-scale based on load, optimizing cost by matching demand.

21
Q

Explain the concept of agility in cloud computing.

A

Agility refers to the ability to quickly make IT resources available, reducing setup time from weeks to minutes.

22
Q

What AWS service allows for automatic scaling based on load demand?

A

Auto Scaling Group (ASG)

23
Q

True or False: Scheduled scaling in an ASG can be used to anticipate known traffic patterns.

A

True

24
Q

Name the scaling strategies available in an Auto Scaling Group.

A

Manual Scaling, Dynamic Scaling, Target Tracking Scaling, Scheduled Scaling, Predictive Scaling.

25
Q

Fill in the blank: ___ Scaling uses machine learning to predict future traffic and adjusts resources in advance.

A

Predictive

26
Q

Explain the ‘Simple/Step Scaling’ strategy in ASG.

A

When a CloudWatch alarm is triggered, ASG adds or removes units based on predefined steps.

27
Q

What is the function of ‘Target Tracking Scaling’ in an ASG?

A

To maintain a target metric, such as keeping the average ASG CPU usage around a specified percentage.

28
Q

True or False: Auto Scaling Groups (ASG) are integrated with load balancers for high availability.

A

True

29
Q

Describe how Auto Scaling Groups can help reduce costs.

A

ASGs ensure optimal capacity by scaling EC2 instances up or down as needed, preventing over-provisioning.

30
Q

Which AWS load balancer type was retired in 2023?

A

Classic Load Balancer

31
Q

How does an Application Load Balancer differ from a Network Load Balancer?

A

Application Load Balancer operates at Layer 7 (HTTP/HTTPS), while Network Load Balancer operates at Layer 4 (TCP).

32
Q

Which AWS load balancer type uses the GENEVE protocol on IP packets?

A

Gateway Load Balancer

33
Q

Explain the role of health checks in a load balancer.

A

Health checks monitor the status of instances to ensure traffic is directed only to healthy instances.

34
Q

Fill in the blank: In horizontal scaling, increasing instances is also called scaling ___ while reducing instances is scaling ___.

A

out, in

35
Q

Why is elasticity considered cloud-friendly?

A

It supports pay-per-use and adapts resources based on demand, optimizing costs.

36
Q

True or False: An Auto Scaling Group must always have a maximum and minimum number of instances set.

A

True