Load Balancer Flashcards

1
Q

An e-commerce website is migrating towards a microservices-based approach for their website and plans to expose their website from the same load balancer, linked to different target groups with different URLs: checkout.mycorp.com, www.mycorp.com, mycorp.com/products, and mycorp.com/orders. The website would like to use ECS on the backend to manage these microservices and possibly host the same container of the application multiple times on the same EC2 instance.

Which load balancer (application, network, or classic) will be the easiest to use?

A

Application Load Balancer can automatically distribute incoming application traffic across multiple targets, such as Amazon EC2 instances, containers, IP addresses, and Lambda functions. It can handle the varying load of your application traffic in a single Availability Zone or across multiple Availability Zones.

Dynamic port mapping with an Application Load Balancer makes it easier to run multiple tasks on the same Amazon ECS service on an Amazon ECS cluster.

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

True or False

ELB cannot distribute incoming traffic for targets deployed in different regions

A

True

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

True or False

Can you define a Network ACL (NACL) on your Application Load Balancer?

A

False

NACLs are defined at the subnet level, not Application Load Balancers.

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

What is the best firewall option for scenario below?

Your application is deployed on EC2 instances fronted by an Application Load Balancer. Recently, your infrastructure has come under attack. Attackers perform over 100 requests per second, while your normal users only make about 5 requests per second.

How can you efficiently prevent attackers from overwhelming your application?

A

Web Application Firewall

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