AI Interviews

Making the transition

How a backend or distributed-systems engineer moves into an AI Engineer or AI Infra role: what carries over, the realistic doors, the real gaps, a 12-week lab-based plan, portfolio, leveling and rejection reasons.

Researched

On this page

If you’ve spent years on backend or distributed systems, you already know most of what an AI Infra loop tests, and a good part of an AI Engineer loop. Many reported questions are systems questions with a model in the middle. What you’re missing is narrower than it looks, and this chapter’s plan closes it in about three months of part-time work.

This chapter covers what carries over, which doors are realistic, the gaps that actually get people rejected, a 12-week plan built on the site’s labs, what to put in a portfolio, and what is known (very little) about leveling.

What you already know, in AI terms

Most of the concepts transfer. What changes is the unit you count (tokens, not requests), the resource you run out of (GPU memory, not CPU), and the meaning of “correct” (a score on an eval set, not a status code).

You already knowThe AI versionWhat’s actually newBuild it
Caching, cache keys, CDNsPrefix and KV-cache reuse: requests that share a prompt prefix reuse its stored keys and values instead of recomputing themThe cache lives in GPU memory, is sized per token, and hits only on an exact token prefixBuild Your Own LLM Inference EnginePartial, Build Your Own CDN Edge Node
Load balancing, consistent hashingToken- and KV-aware routing: route on queued tokens and free KV memory; keep a conversation on the replica holding its prefixRequest count is a poor load signal when request sizes differ by orders of magnitudeBuild Your Own L7 Load Balancer, Build Your Own Consistent Hashing RingPartial
Queues, backpressureContinuous batching and admission control: new requests join the running batch between decode steps, and you admit one only if its KV cache fitsThe batch changes every step, and memory is what runs outBuild Your Own Message Queue (SQS-lite)Partial, Build Your Own LLM Inference EnginePartial
Latency SLOs (p50, p99)Time to first token (TTFT) and time per output token (TPOT) as separate budgetsPrefill is compute-bound and decode is memory-bandwidth-bound, so they are tuned differentlyBuild Your Own Observability StackPartial
Sharding, partitioningTensor, pipeline and expert parallelismThe network sits inside one forward pass; collectives such as all-reduce are on the critical pathNo lab yet
Canary deploys, feature flagsModel and prompt rollouts behind eval gates, with shadow traffic”Better” is a score with a confidence intervalBuild Your Own Feature Flag Service, Build Your Own CI/CD Engine, Build Your Own LLM Evaluation Harness
Idempotent retries, circuit breakersFailover across model providers and regionsRetries cost tokens, and an agent’s tool call can have side effects, so it isn’t automatically idempotentBuild Your Own L7 Load Balancer
Rate limiting per requestToken- and credit-based limits per tenantOutput length, and so cost, is known only when generation ends: reserve, then settleBuild Your Own Distributed Rate Limiter (counts requests only)
Cold starts, image pullsLoading and distributing model weights of tens to hundreds of GBBandwidth math dominates; peer-to-peer and cache tiers matterBuild Your Own FaaS Runtime, Build Your Own CDN Edge Node
Unit and integration testsEvals: graded task sets, run many times, read statisticallyOutputs are nondeterministic, so a single pass or fail means littleBuild Your Own LLM Evaluation Harness
Search, inverted indexesHybrid retrieval: keyword (BM25) plus dense vectors plus a rerankerQuality is recall@k and faithfulness, not just latencyBuild Your Own RAG System, Build Your Own Vector Index (HNSW + IVF-PQ)
AuthZ, multi-tenancyPermission-aware retrieval, tool permissions, prompt-injection defenceUntrusted text in the context can act like an instructionNo lab yet
Tracing and metricsLLM observability: tokens and cost per request, TTFT, prompt and response captureQuality signals sit next to latency and errorsBuild Your Own Observability StackPartial (generic tracing)

Prep guides make the serving points explicitly: treat TTFT and inter-token latency as separate budgets and autoscale on queue depth or TTFT, not GPU utilization (techinterview.orgsecondary · 2026), and say out loud that prefill is compute-bound and decode memory-bound (techinterview.org serving guide). Reported infra prompts follow the same pattern: distributing large files to many machines with limited bandwidth (Acedsecondary · 2026), a warm GPU-container pool and fast 40 GB model cold starts (techinterview.orgsecondary · Jul 2026), and a resilient LLM provider pool (PracHubaggregator).

The realistic doors

Research-scientist roles are not a realistic switch without research output. Three other doors are.

Inference and ML platform infrastructure

This is the closest fit for most distributed-systems engineers.

  • Anthropic’s careers page says “About half our technical staff had no prior ML experience” (Anthropicofficial). Its performance-engineering post says “People with good fundamentals can learn specifics on the job” (Anthropicofficial · 21 Jan 2026, 2026-01-21).
  • In a 2024 Blind thread, a Google commenter said ML infra is “a lot easier to break into with just a bachelor’s”, and a Tesla commenter added “Basically distributed systems programming” (Blind, Oct 2024). Ilya Reznik says that for infra roles, CS fundamentals matter more than math (Taro, ~Dec 2024).
  • A Staff candidate for a Databricks AI-platform team reports being asked about batched write-ahead-log writes three times and a key-value store with locking, and no LLM questions at all (PracHubfirst-hand · 25 Aug 2026).

Applied AI engineering

If you’ve built product backends, APIs, search or data pipelines, this door is open too. Janvi Kalra interviewed at 46 companies and became an AI Engineer at OpenAI. Her loops mixed LeetCode, system design, build-an-app take-homes and LLM-concept deep dives. The advice: prepare as for a SWE loop and build LLM products on the side. Her own way in was an internal LLM project at Coda (Pragmatic Engineer, May 2025).

Forward deployed engineering

If you like customers and ambiguity, FDE roles are growing fast but drifting toward consulting: roughly a quarter coding, half integration and a quarter customer-facing by May 2026 (Pragmatic Engineer). One first-hand OpenAI FDE loop had a one-week take-home (semantic search that ChatGPT can call), a walkthrough, then an AI-enabled live coding screen (Acedfirst-hand · 2026).

Internal moves and referrals beat cold applications

  • Replies to a Block manager on Blind said it’s easier to move into ML infra first, ideally internally (Blind, Mar 2025). A Hacker News thread says the same, with one engineer reporting a year of study before switching (HN, Jun 2024).
  • Anonymous Blind commenters say most frontier-lab hires come through former managers (Blind). A recruiter told the Pragmatic Engineer that inbound candidates fail loops more often than sourced ones (Pragmatic Engineer, Oct 2025).

Degrees are disputed. Reznik calls the switch “an uphill battle” without a graduate degree. Against that are Anthropic’s own figure above and a secondary tracker that found 73% of 59 ML-infra postings state no degree requirement (profrod.ai).

The gaps that actually matter

1. Evals

This is the gap that separates applied candidates most clearly. Eugene Yan and Jason Liu, writing as hiring managers, say even engineers who only call APIs should build eval harnesses, track quality over time and add guardrails (Eugene Yan, Jul 2024). A rejected Harvey candidate’s coding round ended with how they would improve the eval’s recall and hit rate (PracHubfirst-hand · Aug 2026). One prep guide warns that if you can’t define good retrieval as a number, the interviewer “assumes you tuned yours by feel” (techinterview.orgsecondary).

2. Nondeterminism

Your instincts about tests assume the same input gives the same output. With models it doesn’t: sampling, provider updates and long contexts all change answers. An eval result is a sample, so you need enough tasks, repeated runs and a confidence interval before you call a change better. The Build Your Own LLM Evaluation Harness lab builds bootstrap confidence intervals. The AI-native chapter covers pass@k vs pass^k.

3. GPU memory math

Infra loops expect you to work out what fits on a GPU from first principles, out loud. Learn the formulas, not the multipliers: prep sources quote continuous-batching gains of about 2× (techinterview.orgsecondary · 2026), 3–5× (serving guide) and 10–20× (LLM API guide).

How many requests fit in GPU memory
max resident requests ≈ (GPUs × HBM per GPU − params × bytes_per_param − overhead) ÷ (kv_bytes_per_token × tokens_per_request)
kv_bytes_per_token
2 × layers × n_kv_heads × head_dim × bytes_per_value (2 for K and V; n_kv_heads is smaller than the query-head count under GQA)
params × bytes_per_param
weight memory: 2 bytes in bf16, 1 in INT8, 0.5 in INT4
overhead
activations, CUDA graphs and framework buffers; measure it rather than guess
tokens_per_request
prompt plus generated tokens you must hold for one request
Worked example

Llama-3-70B, bf16, one node of 8 GPUs × 80 GB = 640 GB

Weights: 70e9 × 2 B = 140 GB, leaving 500 GB before overhead

KV per token: 2 × 80 × 8 × 128 × 2 = 327,680 B ≈ 320 KiB

One 8,192-token request: 327,680 × 8,192 ≈ 2.68 GB

Upper bound: 500 GB ÷ 2.68 GB ≈ 186 requests resident at once, fewer after overhead

If you forget GQA and use all 64 query heads, the KV estimate is 8× too high, which is the kind of error an interviewer will catch.

The AI Infra track has the full back-of-envelope sheet.

4. A project story that survives a deep dive

A Meta SWE screen asked a candidate to explain an AI system they had designed, and they felt they undersold it (PracHubfirst-hand · Aug 2026). Harvey’s onsite included a project deep dive (PracHubfirst-hand · Aug 2026). An Anthropic FDE hiring manager reportedly asked why the candidate used an LLM at all and how they knew it fit (Aced (formerly Exponent)aggregator). A LinkedIn Senior candidate’s project discussion on an LLM integration framework went into token handling and per-query vs per-token pricing (Aced (formerly Exponent)first-hand · 2026). The OpenAI FDE take-home review probed how specific the retrieval should be (Acedfirst-hand · 2026). Have answers ready for: the baseline, the eval, the numbers, the failure you found, the cost per request, and what you’d change.

5. Enough model vocabulary

You don’t need research math, but you do need the basics cold. Databricks AI Engineer recruiter and phone screens asked “Describe RAG” and “What is a transformer?” (Aced, 2026). An Apple GenAI round reportedly opened with what the KV cache is and how it helps inference (Glassdoorsnippet only, snippet).

A 12-week study plan

The plan assumes part-time study alongside a job. If you have 10 weeks, combine weeks 1 and 2, and skip week 9 if you’re applying only to AI Engineer roles. Partial labs carry a pill; hover it to see what is mocked or which tests fail. Finishing the missing part of a partial lab yourself, such as adding token streaming and TTFT/TPOT timing to llm-inference, is a portfolio item in its own right.

WeeksFocusLabsBy the end you can
1–2How models workBuild Your Own BPE Tokenizer, Build Your Own Transformer From ScratchExplain tokens and their cost, attention and the KV cache; compute KV bytes per token for a GQA model
3–4InferenceBuild Your Own LLM Inference EnginePartial (partial), Build Your Own Speculative DecodingPartial (partial), Build Your Own Model Quantizer (GGUF)Partial (partial)Explain prefill vs decode and batching; derive speculative-decoding gains; explain why 4-bit weights need per-group scales
5–6RetrievalBuild Your Own Embedding Pipeline, Build Your Own Vector Index (HNSW + IVF-PQ), Build Your Own RAG SystemMeasure recall@k on your own documents; defend hybrid search and reranking choices
7EvalsBuild Your Own LLM Evaluation HarnessBuild an eval set with confidence intervals and a CI gate
8Agents and toolsBuild Your Own Agent FrameworkPartial, Build Your Own MCP Server FrameworkSwap the mock model for a real one; add budgets and permission checks
9Infra patterns, made token-awareBuild Your Own Distributed Rate Limiter, Build Your Own L7 Load Balancer, Build Your Own Observability StackPartialTurn request-count limits into token budgets; record TTFT and TPOT
10Design practiceWalkthroughs, question bankTwo timed mock designs for your track
11Coding practiceThe AI-assisted drill in the AI-native chapterOne AI-assisted session and two no-AI sessions
12Story and loop prepYour own projectA 30-minute project presentation, behavioral stories, questions for the recruiter

The labs’ own numbers make the week 3–4 material concrete, each labelled measured or calculated. Quantizing GPT-2 to INT4 with one scale per 32 weights gives a mean weight error of 10.5 % (measured on Apple M1 Ultra, 64 GB RAM, Python 3.13.7, numpy (CPU), 2026-10-11 · model-quantizer lab), against 74.3 % (measured on Apple M1 Ultra, 64 GB RAM, Python 3.13.7, numpy (CPU), 2026-10-11 · model-quantizer lab) with one scale per tensor. For speculative decoding, the closed form (1 − α^(K+1)) ÷ (1 − α) gives 3.87 tokens (calculated · speculative-decoding lab) at α = 0.82 and K = 5. Derive both yourself before you quote them. For weeks 5–6, the rag lab measured hit@3 on 300 BEIR SciFact queries for its dense, hybrid and reranked versions: 69.3 / 68.3 / 72.7 % (measured on Apple M1 Ultra, 64 GB RAM, torch 2.14.1, sentence-transformers 6.1.0 (MPS), 2026-10-11 · rag lab). Hybrid search added nothing with the lab’s whitespace BM25 tokenizer, and the reranker added about 4 points over hybrid. A result like that, reproduced on your own documents, is a better interview story than a textbook claim that hybrid always helps.

Portfolio: what counts

Work that other people have validated beats courses.

  • A Staff engineer with 16 years of experience asked on Blind whether an interview-prep course was enough. Replies said no: build projects and keep taking AI interviews until you learn what gets asked (Blind, Apr 2025).
  • A Microsoft engineer with an ML master’s said a small agents project on their résumé brought no recruiter interest (Blind, Jun 2025).
  • Reznik says the only accomplishments he cares about as a hiring manager are “validated by other people”: a project 10,000 people use, an open-source contribution a maintainer accepts, a freelance project (Taro).
  • Job postings say the same. NVIDIA names contributions to vLLM, SGLang or TensorRT-LLM (NVIDIA (via AnitaB.org jobs)official · 28 Apr 2026), and a DeepMind Staff inference posting prefers contributions to serving frameworks (Google (posting mirrored on AnitaB.org)official · 20 Aug 2026). Anthropic asks you to put independent research, blog posts or open-source work at the top of your résumé (Anthropicofficial), and has published its original performance take-home as an open challenge (Anthropicofficial · 21 Jan 2026, Anthropic (GitHub)official).

What a strong project looks like:

  • One project, taken deep, rather than five demos.
  • Real users or a public benchmark, so someone other than you has checked it.
  • Measured numbers with the hardware stated, and an eval you can show.
  • A write-up of what failed and what you changed because of it.
  • The cost per request, in tokens and money.

The site’s labs are a starting point, not a portfolio. On their own they are code only you have run. Extend one: replace the mock model with a real one, measure on your hardware, publish the write-up, or send the fix upstream to a real project.

Leveling and down-leveling

Everything in this section is anecdote. The research found no first-hand account of an experienced backend engineer being down-leveled because they moved into an AI role, and no systematic data either way.

  • Down-leveling happens for ordinary reasons, in AI teams too. Blind previews describe a Meta hiring committee down-leveling a candidate to E4 after an onsite that included an AI coding round, and a Google candidate who passed L6 and team match and was then set to L5 by headcount review (Blind search, years not shown).
  • Frontier labs map levels inconsistently. A “high performing E6 at Meta” got Staff offers from OpenAI and Anthropic, at L5 from one and L6 from the other; commenters said “OpenAI 5 == staff” (Blind). interviewing.io says OpenAI “has a reputation for downleveling candidates coming in”, without a source (interviewing.iosecondary · 2026).
  • Skepticism of Staff+ converts comes from Reznik, who is “very apprehensive of people transitioning as staff+” because “you are not worth the salary at that level for a long time” (Taro).
  • Level calibration can sink a good loop. A Microsoft Senior+ data-science candidate with positive rounds was rejected as reading “more like a DS II than a Senior” (PracHubfirst-hand · 25 Aug 2026).
  • Counter-evidence exists. A July 2024 Compa analysis of offers since 2022 found AI engineering offers skew more senior: 21.5% were below P3, against 36.5% of software engineering offers, with an undisclosed sample size (Compa). An Apple engineer got two AI-infra offers at the same level with significant raises (Pragmatic Engineer, 2026-07-07). Levels.fyi measured an 18.7% pay premium for AI-focused Staff engineers in 2025 (Levels.fyi).

What to do with this: ask the recruiter which level the role is opened at before the onsite, ask whether the design and behavioral rounds decide the level (at Meta they reportedly do: Hello Interviewsecondary), and prepare your design rounds at the level you want, not the level you fear.

Common rejection reasons

From candidate reports, most-cited first. Each is the candidate’s account or a prep site’s summary, not stated company feedback, unless it says otherwise.

  1. Unfinished practical coding or follow-ups. Three Anthropic infra reports point to an unfinished follow-up or task (Acedfirst-hand, Acedfirst-hand, Acedfirst-hand · 2025). Senior candidates at Sierra and Harvey were rejected after multi-part practical coding rounds; the Harvey candidate’s advice is to be “really fast” (Acedfirst-hand, Acedfirst-hand).
  2. The values or culture round at Anthropic. A recruiter warned one candidate it is where people usually fail (Acedfirst-hand · 2026). A Senior Staff candidate thinks it sank his loop, and a commenter on his thread says it sank theirs (Blindfirst-hand).
  3. No validated AI work to talk about (the Microsoft engineer’s Blind thread above).
  4. Overcomplicated or template designs. The Harvey candidate thinks they overcomplicated a multi-agent design (PracHubfirst-hand · Aug 2026). Stripe’s Staff feedback was to design from the actual requirements (PracHubfirst-hand · Aug 2026).
  5. Fighting the design premise instead of accepting it and adding depth (Acedfirst-hand).
  6. Miscalibrated AI use in either direction (PracHubfirst-hand · Aug 2026, PracHubfirst-hand · Jul 2026).
  7. Hand-waved evaluation, such as an LLM judge never checked against human labels; this one comes from a prep guide’s list of weak answers, not a rejection report (techinterview.orgsecondary).
  8. Losing it at the reference stage after passing the onsite (PracHubfirst-hand · Jul 2026).
  9. Applying cold instead of being referred or sourced (the Pragmatic Engineer recruiter quote above).

Next: pick your track, AI Engineer or AI Infra, and start week 1. The guide overview explains how loops changed and how this research was done.