codejump

Fundamentals & Scalability

Preview — 3 of 10 questions

Before implementing an online bookstore, which activity belongs primarily to system design?

ASelect formatting rules for the frontend repository.
BChoose variable names for the checkout controller.
CWrite unit assertions for the discount calculation.
DDefine service boundaries, data ownership and request flows.

An API completes 2,000 requests each second while an individual request takes 80 ms. What do these measurements describe?

AThroughput of 2,000 requests/s and latency of 80 ms.
BConcurrency of 2,000 requests and throughput of 80 ms.
CLatency of 2,000 requests/s and throughput of 80 ms.
DCapacity of 2,000 users and availability of 80 ms.

A browser submits an order whose price must be checked against trusted catalog data. Where should the authoritative check run?

AIn the browser before enabling the submit button.
BIn a shared frontend validation library before issuing the API request.
COn the server before accepting the order.
DIn an asynchronous audit job after the purchase has already been accepted.

Sign up free to play

Answer all 10 questions (7 more), see explanations for every answer, and track your score.