Technical - System Design Flashcards

1
Q

CDN / Cache Invalidation

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

WAF

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

Load Balancers (L7 vs L4)

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

Session Affinity / Sticky Sessions

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

Cache Architecture (w/examples)

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

Queue Architecture (Kafka vs RabbitMQ)

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

SOA vs EDA vs MSA

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

Database commit strategies

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

Database sharding

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

NoSQL vs SQL

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

Database partitioning

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

API Gateway

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

Kafka

A
  • Producers: Write messages to 1…n topics
    • Partitioning strategy specific by producer, default partitions by key (messages of same key always in order)
  • Consumer: Pull messages from 1…n topics based on consumer offset
  • Topic > Partitions > Segment
  • Partitions stored on 1 or more broker based on replication factor (lead > follower)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

API Best Practices

A
  1. Idempotent
  2. Versioned
  3. Large response = paginated (offset, limit)
    - /offset=20&limit=10
  4. Long response time = asynchronous
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Cache-Control HTTP Directives

A

Directives used in http headers to control caching behavior (ex: max-age, no-cache, public, private)

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

Geo-routing and cross-region redundancy

A
17
Q

CAP Theorem

A
18
Q

ACID Compliance

A
19
Q

Index (Pros, Cons)

A
20
Q

Best practices for scaling databases

A
  1. Indexes
  2. Replication
  3. Partitioning/Sharding
21
Q

EDA (Event sourcing, CQRS)

A
22
Q

Batch vs Rea Time vs Lambda

A
23
Q

Skeleton screens

A
24
Q

Lazy loading vs infinity scroll

A