System DesignBeginnerReady

APIs, Clients, and Services Assessment

This assessment verifies the APIs, Clients, and Services module. Passing it contributes up to 9 points in the 9-17 score band.

Questions

5

Limit

65m

Pass

85%

Score

+9

Question 1scenarioBeginner

18 pts

API contract design

Design the API contract for creating a support ticket. Include endpoint, required request fields, response fields, three machine-readable error codes, auth/authorization expectation, and idempotency behavior.

Question 2scenarioBeginner

16 pts

Request lifecycle and sync path discipline

A user uploads a profile photo. Trace the production request lifecycle and separate work that must happen before response from work that can happen asynchronously.

Question 3scenarioBeginner

18 pts

Service boundary judgment

For a food delivery product, propose service/module boundaries for menu, order, payment, rider location, and notification. Defend which boundaries should be separate and which communication can be async.

Question 4multiple-choiceBeginner

10 pts

Sync vs async decision quality

During account signup, which set of decisions is strongest?

Question 5code-reviewBeginner

18 pts

Request lifecycle code/design review

Review this design: `POST /orders` creates an order, sends the confirmation email synchronously through a third-party provider, writes analytics synchronously, and returns success. If the email provider times out, the order request fails. Identify the production risks and propose a safer request lifecycle.