exactly once
AI, ML & GenAI interview questions tagged exactly once, across every topic.
4 questions · 1 unlocked for you
Concepts behind "exactly once"
The curriculum that explains the ideas these questions test.
Foundational
Idempotency and Exactly-Once EffectsIn a distributed system, calls fail and get retried, so the same request can land more than once. Idempotency means running a request twice yields the same effect as running it once, achieved with idempotency keys and deduplication. It underpins safe retries: without it, a retried payment charges twice or a retried pipeline double-counts. AI, ML, and GenAI engineer interviews probe it because LLM/data pipelines are full of flaky, retried steps, and 'exactly-once' is really 'at-least-once delivery plus idempotent processing'.⚙️ System Design for AI in Production
Core
Idempotent Data PipelinesData pipelines fail and get rerun, so a pipeline has to be idempotent: running it again yields the same result rather than duplicated or corrupted data. You get there with insert-overwrite by partition, MERGE/upsert keyed on a business id, and deterministic transforms, instead of blind appends that double-count on retry. AI, ML, and GenAI interviews probe it because flaky pipelines are the norm, and a non-idempotent pipeline turns a routine retry into duplicated revenue numbers or a corrupted table.🗄️ Data & SQL EngineeringSign in
