系统设计面试题

用 50 道免费系统设计面试题练习,覆盖负载均衡、缓存、数据库、消息队列、API、可靠性和安全,并附答案解析。

等级: System Design Interview 难度: medium 50 道题 60 分钟
回答每道系统设计题,然后查看得分。错题会保存在本机供复习。
连续学习: 0 天 仅保存在此设备
进度 0 / 50
题目 1

Which component distributes incoming traffic across application servers?

选择一个答案
题目 2

A load balancer that routes based on URL path and HTTP headers operates at which layer?

选择一个答案
题目 3

What does horizontal scaling add?

选择一个答案
题目 4

What does vertical scaling add?

选择一个答案
题目 5

Which technique is best for reducing repeated expensive computations?

选择一个答案
题目 6

Which cache eviction policy removes the least recently used item first?

选择一个答案
题目 7

Why place a CDN in front of static assets?

选择一个答案
题目 8

What is the primary purpose of DNS?

选择一个答案
题目 9

Which consistency model guarantees that a read returns the latest committed write?

选择一个答案
题目 10

In the CAP theorem, what does the letter C stand for?

选择一个答案
题目 11

Which database scaling method splits rows across multiple servers?

选择一个答案
题目 12

Which index type is best for exact key lookups?

选择一个答案
题目 13

Read replicas mainly help which workload?

选择一个答案
题目 14

Which component decouples producers from consumers?

选择一个答案
题目 15

Which pattern moves a long-running task out of the request path?

选择一个答案
题目 16

What is a dead-letter queue used for?

选择一个答案
题目 17

What does at-least-once delivery guarantee?

选择一个答案
题目 18

An idempotency key helps prevent what?

选择一个答案
题目 19

Which API style maps HTTP verbs to resources?

选择一个答案
题目 20

Which HTTP status code means a resource was created?

选择一个答案
题目 21

Cursor pagination is more stable than offset pagination when what happens?

选择一个答案
题目 22

Which mechanism limits abusive API clients?

选择一个答案
题目 23

A token bucket is used for what?

选择一个答案
题目 24

Which storage is best for immutable large media files?

选择一个答案
题目 25

Which system is well suited for low-latency session storage?

选择一个答案
题目 26

Which database type is best for graph relationships?

选择一个答案
题目 27

Which microservice property enables independent deployment?

选择一个答案
题目 28

Which component centralizes authentication, routing, and rate limiting?

选择一个答案
题目 29

What is a circuit breaker used for?

选择一个答案
题目 30

Why add jitter to retries?

选择一个答案
题目 31

Which telemetry type shows a request path across multiple services?

选择一个答案
题目 32

Which metric best indicates service availability?

选择一个答案
题目 33

Which practice protects data in transit?

选择一个答案
题目 34

Which pattern isolates failures between services?

选择一个答案
题目 35

Which strategy handles traffic spikes automatically?

选择一个答案
题目 36

Which design improves disaster recovery?

选择一个答案
题目 37

Which are load-balancing strategies?

选择一个答案
题目 38

Which are common cache layers in a web system?

选择一个答案
题目 39

Which are database scaling techniques?

选择一个答案
题目 40

Which are message queue features or guarantees?

选择一个答案
题目 41

Which are API gateway responsibilities?

选择一个答案
题目 42

Which are observability pillars?

选择一个答案
题目 43

A single database is usually enough for a global product at scale.

选择一个答案
题目 44

Caching improves read latency but adds consistency complexity.

选择一个答案
题目 45

Microservices should share one relational database by default.

选择一个答案
题目 46

Exactly-once delivery is easy to guarantee in distributed messaging.

选择一个答案
题目 47

Type the protocol that encrypts web traffic.

题目 48

Type the cache eviction policy that removes least recently used items first.

题目 49

Match each design concern to the technique that addresses it.

题目 50

Match each consistency term to its meaning.