Coding for Infra
38 questionsCoding Interview Questions for Infra Engineers
Practical builds in Python, Go and C++: a GPU credit scheduler, a rate limiter, a versioned KV store, merging GPU idle intervals, a batching queue, retry with backoff, concurrency under load, parsing a kernel trace. The screens that test whether you can ship infra code in 45 minutes.
Learn how AI infrastructure works through explanations, worked examples and diagrams, then practise applying it to interview questions.
A starting path through this topic
Start with a mechanism, then use a worked problem to explain a decision. Access labels below describe what is available without an account.
- Consistent Hashing and Sharding
Explain ownership changes when a shard or worker is added.
Public concept - Implement a batcher that flushes when the batch is full or when a timeout expires. What breaks in the timer path?
Test the race between a full batch and an expiring timer.
Public answer - Write a producer-consumer pipeline with a bounded queue. What are the three bugs that show up in every first attempt?
Bound queued work and make shutdown and failure propagation explicit.
Public answer
The concepts behind Coding for Infra
Review the ideas used in these questions. Each card shows whether the explanation is free, requires sign-in or is part of Premium.
