WAF, API Gateway, Load Balancer (Reverse Proxy) Flashcards

1
Q

Is the load balancer a forward proxy or a reverse proxy?

A

Reverse Proxy

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

Two available software load balancers in the market?

A

HAProxy
NGINX

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

List four key features provided by API Gateway.

A

User Authentication & Authorization
API Rate Limiting
Request & Response Modifications
Response Caching

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

List two key features provided by Load Balancer.

A

SSH Termination
Request Routing based on
- load
- response time
- API endpoint
- round-robin
- weighted (server size)

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

How to prevent DDoS attacks on the web application?

A

WAF (Web Access Firewall) or AWS Shield

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

Which rate limit algorithm to choose when the server doesn’t want to entertain bursts of traffic?

A

Leaky Bucket (use FIFO queue to hold requests)
Downside: High latency
Users: Shopify

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

List five available rate-limiting algorithms.

A

Leaky Bucket (burst free)
Fixed Window Counter
Token Bucket
Sliding Windows Log (high on memory demand)
Sliding Window Counter (approximated)

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