AI Interviews

Question bank

Interview questions that Senior and Staff candidates report for AI Engineer and AI Infra roles, paraphrased, each with its sources, source type and confidence.

Researched

Each row is a question candidates reported, paraphrased, with the date it was reported and every source we used. Company processes change and many reports are anonymous, so read the confidence pill before you plan around a row. The overview explains how this was researched and its limits.

How to read source types and confidence
  • Official company careers page, blog or policy
  • First-hand a candidate's own account
  • Aggregator candidate-submitted bank; only the title counts as reported
  • Secondary prep-site article
  • News news coverage
  • Snippet only page blocked; only a search snippet was seen
  • Low confidence a single anonymous report, or snippets only
  • Medium confidence one first-hand account, or aggregator and secondary sources only
  • High confidence an official source, or several independent first-hand accounts

278 questions

Batching & inference scheduling12

infra-002 Anthropic 2025 Senior / Staff+

Design an API for sampling from LLMs across a GPU cluster, with batching and request orchestration. The interviewer wants the model treated as a black box; the focus is API shape, scheduling and queueing, not model internals.

System design Medium confidence

Staff signal A staff inference candidate says some assumptions didn't feel realistic and they pushed on that too directly. Accept the framing (model as a black box), then add depth on scheduling, queueing and failure.

infra-003 Anthropic 2026

Scale a GPU batching design into a token-generation service handling about 100k requests per second across a fleet.

System design Low confidence

Staff signal Reported habit: do the rough math out loud before drawing (request rate, batch size, batch latency, then GPU count), and raise failure and overload cases before you are asked.

infra-006 Baseten 2026

Design an LLM serving system: model lifecycle, accelerator-aware batching, memory pressure, fairness between users, request cancellation, autoscaling and crash recovery.

System design Medium confidence

Staff signal A Baseten prep guide's bar: bring up cold starts unprompted and treat quantization and speculative decoding as trade-offs, not buzzwords.

Overload, failure & fault tolerance5

infra-013 Fluidstack 2026

You run 5,000 GPUs across several sites and some throw intermittent ECC memory errors. Design how to detect them, drain them, and return them to service automatically. (A prep guide's representative prompt; the guide says its fleet-health focus is extrapolated from a thin public sample.)

System design Low confidence

Practical concurrent coding23

r2b-022 Databricks Aug 2025

System-programming round, in concurrency pseudocode: a cache class fetches remote files by name and size, and an API client reads by offset and length. How should the client read and write efficiently?

Practical coding Low confidence

Staff signal The candidate prepared data-writer topics, felt lost, and thinks this round cost the offer. Practise concurrent caching and partial reads, not only queue and writer patterns.

Parallelism, collectives & sharding math9

infra-036 Google 2025

Multiply two matrices on two GPUs when A and B are present on both: choose a partitioning and the collectives it needs, overlap compute with communication, and use streams and events.

Domain deep dive Medium confidence
Sources

GPU fleet scheduling & fairness12

infra-043 Anthropic 2026

One 8-GPU node serves a large model that needs all 8 GPUs and a small model that needs 1. Design routing, batch compatibility and placement. Follow-ups: one GPU in the 8-group fails; small-model traffic starves the 8-GPU work.

System design Medium confidence

Weight distribution, cold start & model residency6

infra-056 Anthropic 2026

Distribute model weights to 1,000-10,000 GPU workers across regions with staged rollout, integrity checks and fast rollback. Follow-ups: a cold regional cache causes a thundering herd; rollback mid-download; quality regresses while infra metrics look healthy; dedup for a LoRA on a shared base.

System design Medium confidence

Rate limits, credits & quotas3

Implement attention / KV cache11

Roofline & performance reasoning7

infra-073 NVIDIA, Modal, Together AI, Fireworks AI, Groq, Cerebras, Applied-AI loops (no single company) Jul 2026

Explain why decode is memory-bound and prefill compute-bound. Is attention during single-request decode memory-bound or compute-bound, and why?

Domain deep dive Low confidence

Staff signal Secondary guides list stating this unprompted as part of baseline serving fluency.

Sources

Linux & Kubernetes diagnosis5

Design-doc critique2

infra-083 Anthropic 2026

Critique a half-built inference or batch-inference design: walk the request flow, find the weak points, and propose fixes.

Design review / critique Medium confidence

Staff signal The EM candidate reports the emphasis was design judgment, communication and review skills, not detailed calculations.

Quantization, speculative decoding & MoE6

infra-087 Applied-AI loops (no single company) 2026

Speculative decoding: derive the expected number of tokens committed per target-model pass from the draft acceptance rate and the draft length.

Domain deep dive Low confidence

Staff signal Secondary guides: treat speculative decoding as a trade-off, not a buzzword.

infra-088 Applied-AI loops (no single company) 2026

After you enabled speculative decoding, throughput dropped at high batch sizes. Explain why.

Debugging Low confidence

Staff signal Secondary guides: treat speculative decoding as a trade-off, not a buzzword. This follow-up tests exactly that.

Training infrastructure & checkpointing7

infra-089 NVIDIA 2025 Senior

Design a distributed training environment for a 1-trillion-parameter language model: parallelism, GPU resource management, benchmarking and debugging low utilization, and which NVIDIA tools you have used.

ML / LLM system design Medium confidence

Staff signal This candidate called it their weakest round: the interviewer asked how they benchmarked and debugged GPU utilization and which NVIDIA tools they had used. Expect hands-on tooling questions.

r2a-018 Apple Aug 2026

Design a one-time move of 200TB of images and video from on-prem storage to a cloud GPU cluster for preprocessing, inference and training, within a few days. Follow-up: the training input pipeline (sharded formats, streaming reads, prefetching, finding whether network, CPU decode or GPU is the bottleneck).

System design Medium confidence

Staff signal Start with bandwidth math before boxes: at 10 Gbps, 200TB is roughly 1.85 days of line rate, so the link speed decides between shipping disks and a network transfer.

RAG & retrieval quality21

eng-004 Glean 2026

Design search over a company's documents: separate indexing from serving, combine lexical and vector retrieval, decide whether access control applies during retrieval or after ranking, and keep results fresh after a connector outage.

ML / LLM system design Low confidence

Staff signal The research reads this as a systems question repackaged for LLMs: treat ACL placement and connector freshness as first-class design decisions, not details to add at the end.

eng-007 Applied-AI loops (no single company) 2026

Explain how you pick chunk size and when you use structure-aware chunking, how you choose k, and when retrieval is the wrong tool for the problem.

Domain deep dive Low confidence

Staff signal Prep guides warn against defaulting to 512-token chunks with no limit on k. Tie each number to the corpus and the kinds of questions users ask.

r2a-001 Google 2026

Design an enterprise-level RAG system, walking through every step while the interviewer asks technical questions, then answer troubleshooting questions. Reported for an AI Infrastructure Engineer role on a team building internal AI infrastructure for Gemini.

ML / LLM system designDebugging Medium confidence

Staff signal An infra-titled role still opened with RAG design. Expect to be asked where retrieval, ranking and generation can fail, not only how to scale them.

r2a-003 Google DeepMind Sep 2025

ML system design for an applied generative-AI product. Recruiter-flagged areas, not a recorded question: model choice and design for scale, RAG grounding and factuality, efficiency (quantization, distillation), agent frameworks, and evals aligned to the problem. The candidate also expected an ML debugging round.

ML / LLM system design Low confidence

Agent design & reliability20

eng-019 Harvey Aug 2026

Design an agent that scores a file against a rule set as qualified, acceptable or unqualified, and suggests changes. Follow-up: how do you handle conflicts when several agents edit the same file?

ML / LLM system design Medium confidence

Staff signal The candidate felt they overcomplicated the multi-agent design. Start from the simplest loop that meets the rules and add agents only where the task needs autonomy.

eng-022 Sierra 2026

Design a support agent's reasoning loop: on each turn it answers, calls a tool or hands off to a human, and it must never get stuck looping.

ML / LLM system design Low confidence

Staff signal The guide's line: "a low-confidence escalation path matters more than a clever prompt." Show explicit stop conditions and when the agent hands off.

r2a-013 Apple 2026

AI system design with a principal engineer: design an AI bot that orders lunch for employees. How should the AI components behave, how do you structure the workflow and architecture, and where does prompt behavior fit? Asked in a cloud-infrastructure loop; the candidate expected an infra question.

ML / LLM system design Medium confidence

Evaluation16

eng-036 Sierra 2026

Build eval sets for a support agent and a regression process for prompt or model swaps, tracking containment and escalation rates.

ML / LLM system design Low confidence

Staff signal Measured evaluation is a cross-source signal: name the metrics (containment, escalation) and the gate a prompt or model change must pass before it ships.

eng-038 Applied-AI loops (no single company) 2026

A customer says your bot "feels dumb." What do you change first?

ML / LLM system design Low confidence

Staff signal Prep guides flag hand-waving evaluation as a weak answer. Start by turning "feels dumb" into labeled failure cases you can count.

eng-040 Applied-AI loops (no single company) 2026

Take-home variant: build an LLM judge that scores faithfulness and relevance, then calibrate it against human labels on 30 labeled pairs.

Take-home Low confidence

Staff signal Prep guides flag trusting an uncalibrated judge. Report how often the judge agrees with the human labels before you rely on its scores.

Security, permissions & prompt injection9

Practical LLM-plumbing code17

Serving, latency & cost10

eng-071 Anthropic Oct 2026

Design an LLM inference service that batches waiting requests; each batch takes 100 ms. PracHub's write-up adds follow-ups: batch time that grows with length, short requests stuck behind long ones, several models, an end-to-end latency budget. Aced lists a one-GPU, 100-inputs variant.

System design Medium confidence
eng-077 Unnamed FAANG company 2025 Staff+

Staff-level design discussion: LLM trade-offs such as KV-cache management, batching strategies and eval design.

ML / LLM system design Low confidence

Staff signal Per one unverified Blind comment, Staff loops expect you to go into LLM territory (KV cache, batching, eval design) rather than stay at boxes and arrows.

AI-assisted coding rounds26

eng-089 Meta Aug 2026

AI-assisted coding: solve a maze problem with an AI assistant. One E7 candidate said the assistant (Claude Sonnet) kept giving wrong answers, so he wrote the code himself.

AI-assisted coding Medium confidence

Staff signal Be ready to overrule the assistant. The reported bar: use AI, but show you understand the code.

Sources
eng-090 Meta Jul 2026

Two AI-assisted coding rounds: a card-game problem and a "maximum unique characters" problem. The recruiter's feedback after the rejection: less manual work, more on AI.

AI-assisted coding Medium confidence

Staff signal Under-using the assistant can count against you too. The research reports miscalibrated AI use in both directions.

Sources
eng-096 Shopify 2025

AI-assisted coding round: start from an empty GitHub repo in your own IDE and build with any AI tool (Cursor, Claude Code, ChatGPT, Copilot). Graded on workflow, design, ownership, readability and testing.

AI-assisted coding Medium confidence

Staff signal One candidate reportedly had the AI write all the code and still passed, because she directed it and could explain the output.

r2a-004 Meta 2026 Senior

AI-enabled round: a small multi-file Python codebase with tests and bugs. Run the tests, explain why one fails, and implement a missing core function as inputs widen from letters to numbers to mixed. An LLM is available; the candidate reports it invented helper functions that did not exist in the codebase.

AI-assisted codingDebugging Medium confidence

Staff signal The signal is verification: run tests file by file, catch the hallucinated helper, and explain why the first approach (a bitmask) collided once digits appeared.

r2a-005 Meta Sep 2026

AI coding round: given users and friendship pairs, design and implement a friend-recommendation strategy (for example friends-of-friends) that passes three test suites, the largest with about 100k users and 1.5M pairs. A second AI round had a card game where you also write tests that benchmark your algorithm over 1,000+ games.

AI-assisted coding Medium confidence

Staff signal The candidate's advice: keep each AI request to a few minutes of work, cap every run with a timeout, and validate on small samples before the large suite.

Sources
r2a-006 Meta Sep 2026

AI system design round with an AI chat window available: design a video-game leaderboard (players, games, friends, one high score per player per game) that shows the closest scores when a game ends, a range search over a large dataset. The same loop had an AI system design round on a ride-share system.

System designAI-assisted coding Medium confidence
Sources
r2a-010 Amazon / AWS Sep 2026

Online assessment task labelled 'AI debug': fix bugs in a small existing backend. Reports: an issue tracker where creating an issue with a sub-issue is broken; a Spring Boot movie search needing partial, case-insensitive matching on title or stars, popularity sort and only published movies. Neither report says which AI tool, if any, was provided.

AI-assisted codingDebugging Medium confidence
Sources
r2a-012 Microsoft Sep 2026

AI-assisted system design: design a Windows notification system where many applications create and display notifications. AI use was required; the interviewer graded how you write and refine prompts and how you judge the AI's answers, not whether you paste its output.

System designAI-assisted coding Medium confidence
r2a-019 LinkedIn Aug 2026 Senior

AI-assisted coding round with a built-in assistant. Reports: finish a buggy, half-built maze class so every maze has a start-to-finish path; an LRU cache extended with TTL and then thread safety. The AI is framed as help with implementation; expect to justify the approach you pick and say how you would test each change.

AI-assisted coding Medium confidence

Staff signal One rejected candidate finished 2 of 4 tasks because most of the time went to fixing AI mistakes (evicted keys left in the map, undefined variables). Review speed is the bottleneck.

r2b-001 LinkedIn Aug 2026

AI-assisted coding round: implement an LRU cache, then add per-entry TTL expiry, then make it thread-safe. One candidate recalls four staged parts. The CoderPad assistant answers in chat but cannot edit your code.

AI-assisted coding Medium confidence

Staff signal The candidate finished 2 of 4 parts and was rejected. They said reviewing the AI's basic mistakes was slower than typing, and the interviewer wanted the algorithm to be theirs, with AI for implementation only.

r2b-002 Microsoft Mar 2026

AI-assisted coding round (Microsoft CoreAI): solve a coding problem in VS Code with GitHub Copilot while sharing your screen. A commenter says difficulty matches the standard rounds, with a slightly higher bar because you have help.

AI-assisted coding Low confidence

Staff signal Commenter's advice: state your approach out loud first, review every suggestion before accepting it, and explain why a wrong Copilot suggestion is wrong before fixing it.

Sources
r2b-011 Google May 2026

Code comprehension round (Google pilot from H2 2026, junior and mid-level only): read, debug and optimize existing code with Gemini as the approved assistant. Graded on prompting, output validation and debugging.

AI-assisted coding Medium confidence

Staff signal Not yet reported at Senior/Staff, and no first-hand account of the Gemini version exists as of Oct 2026. Treat it as a direction of travel, not a round to drill.

r2b-012 Meta 2026 Staff+

System design in an AI-enabled format: write the architecture as Mermaid markdown in CoderPad, with the coding round's AI assistant available. A few spring-2026 Meta E6 candidates say they were told to expect it; Hello Interview calls it early signal.

System design Low confidence

Project deep dive7

Customer discovery & scoping (FDE)4

Fine-tuning vs RAG vs prompting6

Classic DSA & object-oriented design15

Behavioral, values & safety judgment19

infra-107 Anthropic 2025 Staff+

Describe a moral conflict you had with your work, and a time delivery pressure ran against a security or safety concern.

Values / culture Medium confidence

Staff signal Anthropic's recruiters reportedly warn that the values round is where candidates most often fail, and one Senior Staff candidate blamed it for a rejection. Bring real, reflective stories, not polished ones.