The trade-off sentence: what it gives, what it costs, why you'd pick it, when you'd switch
A trade-off answer names both options, what yours gives, what it costs, why you'd still pick it, and what would change your mind.
Predict first
Before you read: predict
ExamHall design round. You proposed server-sent events for the proctor console's live feed, with Pause sent as a POST. The facts on the board: the console is served over HTTP/1.1 from one host name; each proctor keeps 8 exam-room tabs open in one browser, each tab with its own feed; Pause is posted to that same host.
The interviewer asks: “What does that choice cost you here?” Which cost can you defend if they test it?
The 30-second version
Say it as one sentence with four slots: “X gives A at the cost of B; given C, I'd pick X; if D changed, I'd switch to Y.” Each slot is a claim about this system that the interviewer can test, so make each one specific and true. “It depends” opens the sentence; it is not the answer.
A trade-off answer names both options, what yours gives, what it costs, why you'd still pick it, and what would change your mind.
How it works
Step 1 of 9
Analogy: The piano shop's adviser
A parent asks a piano shop's adviser: “Acoustic or digital?” for a child who practises after nine at night in a flat. A weak adviser says, “It depends on what you want.” A good one says: “The upright gives a real hammer action at the cost of tuning twice a year and every note reaching the neighbours; given the late practice in a flat, I'd pick the digital, with headphones; if you move to a house, I'd switch to the upright.”
| In the shop | In the interview |
|---|---|
| upright and digital, both named | X and Y |
| a real hammer action | A, the gain |
| tuning, and the neighbours hearing | B, the cost, and who pays it |
| practice after nine, in a flat | C, the deciding fact |
| a move to a house | D, the switch |
Breaks down when: the adviser's claims rest on long experience, while yours can be checked in the room; an interviewer can ask “How many tabs before that breaks?” Wrong inference: “a confident sentence is enough.” Only a slot you have checked survives that question.
In real terms: name X and Y, say what X gives and costs in this system, give the fact that makes you pick X, and say what would flip you to Y.
Try it
Answer first, then check. Nothing is saved.
Question 1 of 7
Payments-ledger design round. The settlements console is served over HTTP/1.1 from one host name. An operator keeps 8 currency tabs open in one browser, each with a server-sent events feed of settlement statuses, and a Hold payout button posts to the same host. You picked WebSockets.
The interviewer asks: “When would server-sent events with a POST be fine here?” Which switch holds when it is tested?
Question 2 of 7
Payments-ledger design round. Your settlements console uses WebSockets, and it must run in the browsers of every partner bank's operators.
A reviewer asks: “Why not WebTransport?” Which answer holds up against the MDN WebSocket API page, as of 2026-10-06?
Question 3 of 7
Payments-ledger design round. You are wording the switch for server-sent events with a POST on the settlements console: served over HTTP/1.1 from one host name, in one browser, each tab opening two feeds to that host (settlement statuses and FX rates), and a Hold payout POST to the same host.
Your sentence will end “…as long as an operator keeps at most N tabs open.” What is the largest N at which every feed in every tab is live and a hold still reaches the server?
Question 4 of 7
Payments-ledger design round. Your treasury approval screen shows a live list of payouts awaiting approval through server-sent events, and approving one sends a POST. Each approver works in one tab, opening a payout's detail page and going back to the list dozens of times an hour.
The interviewer asks: “Why not WebSockets?” Which answer holds up against the MDN WebSocket API page, as of 2026-10-06?
Question 5 of 7
The settlements console: served over HTTP/1.1 from one host name, operators keep 8 currency tabs open, each with a live feed, and Hold payout is the one action sent back. Write your trade-off sentence between server-sent events with a POST and WebSockets, one slot per line, each line starting with its label: X:, Y:, Gives:, Costs:, Given:, Pick: and Switch if:.
Write the seven labelled lines.
Question 6 of 7
ExamHall design round. Asked “Why not WebSockets for the proctor console?”, a candidate says, “It depends on the protocol.” The interviewer asks, “Depends how?” Each proctor keeps 7 room tabs open in one browser, each with a server-sent events feed from the console's host name, and Pause is a POST to a separate API host name.
Which completion holds when the console is run both ways?
Question 7 of 7
Payments-ledger design round. At month-end, the settlement run pushes tens of thousands of statuses to the settlements console within a few minutes, and the console draws a row for each one. You are weighing WebSockets for the console's live feed.
Which “at the cost of” clause for WebSockets holds up against the MDN WebSocket API page, as of 2026-10-06?
Go deeper
Pro tip
Before a design round, write the trade-off sentence for each choice on your diagram, then circle every slot you could not back with a number, a run or a source. The circled slots are the follow-up questions to prepare for.
Related lessons
Checked against the tools and docs as of 2026-10-07.