Code Room
On-callHardoc-g481
Subject Version skewLevel Senior–Staff~40 minCommon in Networking & APIs interviewsIndustries Technology, Software development

Question

A rolling deploy of the `catalog` API changes a list endpoint: a field that was always present, `inventory_count` (integer), is now OMITTED entirely for out-of-stock items (instead of returning 0) as a payload-size optimization. Web is fine. But during and after the rollout, the `cart` service (a SEPARATE backend caller, deployed weeks ago) starts treating some items as having `inventory_count = null → unlimited`, allowing oversell, and the rate roughly tracks the fraction of `catalog` pods on the new version. Dashboards: no errors (cart's deserializer defaults a missing field to its 'unlimited' sentinel), p99 normal; an oversell business metric climbs. Triage, explain why it tracks the rollout, and mitigate.

What a strong answer looks like

Stop the bleeding first (mitigate), then form hypotheses from real signals. Separate root cause from symptom, communicate status as you go, and close with what prevents a repeat.

Diagram & narrate the incident
Loading whiteboard…
Run or narrate your approach, then ask the coach.