TD Exam 2 - Long review Flashcards
Why should classic load balancers be avoided
Each unique HTTPS name requires an individual CLB, so it does not scale
Which layer is ALB
Layer 7
Which protocols are supported by ALB
HTTP and HTTPS
What are some Layer 7 protocols not understood by ALB
SMTP, SSH, custom gaming protocols…
What are some listeners not supported by ALB
TCP, UDP, TLS
What load balancer should you use if you need to make decisions based on L7 content (cookies, custom header, user location, etc)
ALB
What is a security trade-off of ALB
SSL always terminates on ALB - No unbroken SSL chain
A new connection is made to the application
What is needed if ALB uses HTTPS
The ALB must have SSL cert(s)
Which is faster, ALB or NLB
NLB
What is an advantage of ALB with regards to Healthchecks
ALB evaluates app health at layer 7 (can make an app-layer request)
What can be used to direct connections in ALB
Rules
What can ALB rule conditions be based on
Host header
Http header
Http request method
Path pattern
Query string
Source IP
What are some actions ALB can do with rules
Forward
Redirect
Fixed response
Authenticate-oidc
Authenticate-cognito
What should you do if you need to forward connections to the instance without terminating it on load balancer
Use NLB
Which layer do NLBs work on
Layer 4
What protocols are supported by NLB
TCP, TLS, UDP, TCP_UDP
How much faster are NLBs compared to ALBs
Much faster (1/4 of latency)
What is a limitation of Healthchecks for NLB
Only checks ICMP / TCP handshakes
Which Load Balancer can have a static IP
NLB; ALB can with workarounds I think
What is a security advantage of NLB
They forward TCP to instances, the HTTPS encryption is unbroken
(With TCP listener)
Which Load Balancers can be used with Private Link
NLB
Can Lambda@Edge run inside a VPC
No
Which languages are supported by Lambda@Edge
Node and Python
Where would you place your Lambda@Edge to perform A/B testing
Viewer request