Câu hỏi phỏng vấn thiết kế hệ thống

Luyện 50 câu hỏi phỏng vấn thiết kế hệ thống miễn phí kèm đáp án và giải thích về cân bằng tải, bộ nhớ đệm, cơ sở dữ liệu, hàng đợi, API, độ tin cậy và bảo mật.

Cấp độ: System Design Interview Độ khó: medium 50 câu hỏi 60 phút
Trả lời từng câu hỏi thiết kế hệ thống, sau đó kiểm tra điểm. Câu trả lời sai được lưu cục bộ để ôn lại.
Chuỗi ngày: 0 ngày Chỉ lưu trên thiết bị này
Tiến độ 0 / 50
Câu hỏi 1

Which component distributes incoming traffic across application servers?

Chọn một đáp án
Câu hỏi 2

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

Chọn một đáp án
Câu hỏi 3

What does horizontal scaling add?

Chọn một đáp án
Câu hỏi 4

What does vertical scaling add?

Chọn một đáp án
Câu hỏi 5

Which technique is best for reducing repeated expensive computations?

Chọn một đáp án
Câu hỏi 6

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

Chọn một đáp án
Câu hỏi 7

Why place a CDN in front of static assets?

Chọn một đáp án
Câu hỏi 8

What is the primary purpose of DNS?

Chọn một đáp án
Câu hỏi 9

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

Chọn một đáp án
Câu hỏi 10

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

Chọn một đáp án
Câu hỏi 11

Which database scaling method splits rows across multiple servers?

Chọn một đáp án
Câu hỏi 12

Which index type is best for exact key lookups?

Chọn một đáp án
Câu hỏi 13

Read replicas mainly help which workload?

Chọn một đáp án
Câu hỏi 14

Which component decouples producers from consumers?

Chọn một đáp án
Câu hỏi 15

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

Chọn một đáp án
Câu hỏi 16

What is a dead-letter queue used for?

Chọn một đáp án
Câu hỏi 17

What does at-least-once delivery guarantee?

Chọn một đáp án
Câu hỏi 18

An idempotency key helps prevent what?

Chọn một đáp án
Câu hỏi 19

Which API style maps HTTP verbs to resources?

Chọn một đáp án
Câu hỏi 20

Which HTTP status code means a resource was created?

Chọn một đáp án
Câu hỏi 21

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

Chọn một đáp án
Câu hỏi 22

Which mechanism limits abusive API clients?

Chọn một đáp án
Câu hỏi 23

A token bucket is used for what?

Chọn một đáp án
Câu hỏi 24

Which storage is best for immutable large media files?

Chọn một đáp án
Câu hỏi 25

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

Chọn một đáp án
Câu hỏi 26

Which database type is best for graph relationships?

Chọn một đáp án
Câu hỏi 27

Which microservice property enables independent deployment?

Chọn một đáp án
Câu hỏi 28

Which component centralizes authentication, routing, and rate limiting?

Chọn một đáp án
Câu hỏi 29

What is a circuit breaker used for?

Chọn một đáp án
Câu hỏi 30

Why add jitter to retries?

Chọn một đáp án
Câu hỏi 31

Which telemetry type shows a request path across multiple services?

Chọn một đáp án
Câu hỏi 32

Which metric best indicates service availability?

Chọn một đáp án
Câu hỏi 33

Which practice protects data in transit?

Chọn một đáp án
Câu hỏi 34

Which pattern isolates failures between services?

Chọn một đáp án
Câu hỏi 35

Which strategy handles traffic spikes automatically?

Chọn một đáp án
Câu hỏi 36

Which design improves disaster recovery?

Chọn một đáp án
Câu hỏi 37

Which are load-balancing strategies?

Chọn một đáp án
Câu hỏi 38

Which are common cache layers in a web system?

Chọn một đáp án
Câu hỏi 39

Which are database scaling techniques?

Chọn một đáp án
Câu hỏi 40

Which are message queue features or guarantees?

Chọn một đáp án
Câu hỏi 41

Which are API gateway responsibilities?

Chọn một đáp án
Câu hỏi 42

Which are observability pillars?

Chọn một đáp án
Câu hỏi 43

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

Chọn một đáp án
Câu hỏi 44

Caching improves read latency but adds consistency complexity.

Chọn một đáp án
Câu hỏi 45

Microservices should share one relational database by default.

Chọn một đáp án
Câu hỏi 46

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

Chọn một đáp án
Câu hỏi 47

Type the protocol that encrypts web traffic.

Câu hỏi 48

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

Câu hỏi 49

Match each design concern to the technique that addresses it.

Câu hỏi 50

Match each consistency term to its meaning.