Modal Coding for Infra interview questions
Coding for Infra is a core part of the Modal AI Infrastructure Engineer loop. 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. Below are the coding for infra questions to prepare, the ones tagged to Modal first, then the highest-signal questions from our Coding for Infra track, each with an answer written to a senior-engineer bar.
WHAT MODAL LOOKS FOR HERE · Rust and high-performance distributed systems. See the full Modal interview process →
Coding for Infra questions tagged to Modal
More Coding for Infra questions for Modal's loop
The highest-signal coding for infra questions candidates rate most useful, modeled on what Modal's AI Infrastructure Engineer loop tests.
Concepts behind Modal's Coding for Infra round
The vocabulary and mental models these questions assume. Start with the foundations free; the deeper, interview-defining ideas are part of premium.
Modal's AI Infrastructure Engineer loop draws coding for infra questions such as "Implement a cache for model weights on a serving node. What makes it different from a normal LRU?", "Compute per-tenant GPU-hours for a billing period from a log of allocation start and stop events.", "Given usage records of GPU allocations, compute what each tenant owes. Write it, and say what you would test.". 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. The full set, ordered easy to hard with expert answers, is below.
Other Modal interview rounds
The other tracks Modal's AI Infrastructure Engineer loop tests.
Prep the whole Modal AI Infrastructure Engineer loop
Coding for Infra is one round. Unlock every answer across Modal's full loop, plus the concept curriculum, for 6 months. One payment, no auto-renewal. Free questions in every track to start.
Independent and not affiliated with Modal. All trademarks belong to their owners.
