AI Engineer Interview Questions

100 real questions from OpenAI, Anthropic, Google DeepMind & Meta AI. Model answers. What they’re actually scoring.

6 free answers — click any question to read the model answer + what they’re actually scoring
> filter: 100/100
llms-foundation-models1 free ↓
01
How does an LLM actually generate text, and what does temperature control?
Tests whether you understand autoregressive generation, token probability distributions, and temperature as a sharpness control — not just “it makes output more creative.”
free
An LLM generates text one token at a time by computing a probability distribution over its entire vocabulary at each step, then sampling from that distribution to pick the next token. The model never "sees" the full output in advance; it conditions each prediction on all previously generated tokens, which is why we call it autoregressive generation. Temperature is a scalar applied before the final softmax: dividing logits by a value below 1.0 sharpens the distribution so the highest-probability token almost always wins (more deterministic), while values above 1.0 flatten it so low-probability tokens get a real chance (more creative, more chaotic). In production I set temperature near zero for structured extraction tasks and between 0.7 and 1.0 for open-ended generation, and I always pair it with top-p (nucleus) sampling to avoid sampling from the long tail of incoherent tokens.
Insider read
Really testing: Whether you understand the autoregressive sampling loop at a mechanistic level, not just the surface-level "it predicts the next word" hand-wave. Interviewers at OpenAI and Anthropic want to hear logits, softmax, and sampling strategy in the same breath.
The tell: Juniors say "temperature makes it more creative." Seniors explain the logit-scaling math, name the failure modes at each extreme (repetition loops at temp=0, incoherence at temp>1.5), and mention that temperature interacts with top-p and top-k.
Follow-up: "How would you set temperature differently for a customer-support bot versus a creative writing assistant, and why?"
Say this"Temperature rescales the logits before softmax, so it's really controlling the entropy of the sampling distribution. I think of it as a dial between argmax decoding and uniform random sampling, and I always tune it alongside top-p because the two interact."
02
What is tokenization and why does it matter for LLM performance?
Tricky because tokenization bugs cause silent, hard-to-debug failures in arithmetic, code, and multilingual text.
Full answer + insider read in the complete set.Unlock all 100 · $19
03
Explain the attention mechanism in plain terms.
Tricky because "each token attends to all others" is true but useless; interviewers want you to explain queries, keys, and values without hiding behind the equation.
Full answer + insider read in the complete set.Unlock all 100 · $19
04
What are context window limits and how do you work around them in production?
Tricky because the naive answer is "use a longer model", interviewers want retrieval, chunking, and memory strategies, not just model shopping.
Full answer + insider read in the complete set.Unlock all 100 · $19
05
Why do LLMs hallucinate, and what are the main mitigation strategies?
Tricky because hallucination is not a single bug, it has multiple root causes that call for different mitigations, and conflating them signals a shallow answer.
Full answer + insider read in the complete set.Unlock all 100 · $19
06
What is the difference between in-context learning and fine-tuning?
Tricky because both "teach" the model new behavior, knowing when each is worth the cost is the real test.
Full answer + insider read in the complete set.Unlock all 100 · $19
07
What is the difference between few-shot and zero-shot prompting, and when does each work best?
Tricky because few-shot is not always better, example selection quality and placement dramatically change outcomes in ways most candidates ignore.
Full answer + insider read in the complete set.Unlock all 100 · $19
08
Walk me through the key components of the transformer architecture.
Tricky because listing components earns no points, you need to explain why each design choice matters and what problem it solves.
Full answer + insider read in the complete set.Unlock all 100 · $19
09
How do embedding models differ from generative models, and when would you use each?
Tricky because candidates often treat embeddings as a retrieval detail rather than a distinct model class with its own training objectives and failure modes.
Full answer + insider read in the complete set.Unlock all 100 · $19
10
How do multimodal models work, and what are the main architectural approaches?
Tricky because "it accepts images and text" is the entry-level answer, alignment strategies between modality encoders and language models is where the real interview lives.
Full answer + insider read in the complete set.Unlock all 100 · $19
11
What are the tradeoffs between model size and performance, and how do scaling laws inform that choice?
Tricky because bigger is not always better in production, latency, cost, and data efficiency all interact in ways the Chinchilla paper clarified but most candidates miss.
Full answer + insider read in the complete set.Unlock all 100 · $19
12
What is RLHF and why does it matter for deploying LLMs safely?
Tricky because RLHF is easy to describe at a high level but the reward hacking and distribution shift problems reveal whether you understand the limits, not just the pipeline.
Full answer + insider read in the complete set.Unlock all 100 · $19
13
What is instruction tuning and how does it differ from standard supervised fine-tuning?
Tricky because both use labeled data, the distinction lies in the format, diversity, and intent of the training examples, not just the technique.
Full answer + insider read in the complete set.Unlock all 100 · $19
14
What is the difference between a base model and an instruction-tuned model?
Tricky because candidates often say "chat model vs. raw model" without explaining the behavioral gap and why base models are still useful in certain pipelines.
Full answer + insider read in the complete set.Unlock all 100 · $19
15
How do you choose between GPT-4, Claude, and Gemini for a production system?
Tricky because "benchmark the best one" is the obvious but wrong answer, context length, tool use, pricing, latency, and data residency constraints usually matter more than leaderboard rank.
Full answer + insider read in the complete set.Unlock all 100 · $19
16
What metrics do you use to evaluate an LLM's output quality?
Tricky because BLEU and perplexity are the textbook answers but rarely what matters in production, knowing which metric to use for which task separates practitioners from theorists.
Full answer + insider read in the complete set.Unlock all 100 · $19
17
What are the main LLM benchmarks and why should you be skeptical of them?
Tricky because citing MMLU or HumanEval as gospel is a red flag, data contamination and benchmark saturation have made leaderboard scores a poor proxy for real-world performance.
Full answer + insider read in the complete set.Unlock all 100 · $19
18
What is a prompt injection attack and how do you defend against it?
Tricky because most candidates describe the attack correctly but propose defenses that are trivially bypassable, robust mitigation requires layered controls, not just input filtering.
Full answer + insider read in the complete set.Unlock all 100 · $19
rag-vector-databases1 free ↓
19
What is RAG, why does it exist, and when would you use it instead of fine-tuning?
Tests whether you understand why parametric memory fails for live knowledge, and can articulate the retrieval-then-generation architecture vs. fine-tuning tradeoffs.
free
Retrieval-Augmented Generation (RAG) solves the fundamental problem that LLMs have a fixed knowledge cutoff and no access to private or frequently-updated data. At inference time, a retriever fetches relevant documents from an external store, stuffs them into the context window, and the model generates a grounded response from that retrieved evidence rather than relying solely on parametric memory. I reach for RAG when the knowledge base changes faster than a fine-tuning cycle can keep up (news, enterprise wikis, product catalogs), when I need source attribution and auditability, or when the corpus is too large to bake into weights. Fine-tuning is the better call when I want the model to internalize a new task format or writing style, when latency budgets cannot absorb a retrieval hop, or when the knowledge is truly static and I have high-quality labeled examples. The two approaches are also composable: I have shipped systems where a fine-tuned model handles the output format while RAG supplies the facts.
Insider read
Really testing: Whether you understand the parametric vs. non-parametric knowledge distinction, and whether you have a principled decision framework rather than treating RAG as a default silver bullet.
The tell: Strong candidates immediately name the tradeoffs (latency, staleness, attribution, cost) and cite a real scenario where they chose one over the other. Weak candidates recite a definition without ever anchoring to a real system or constraint.
Follow-up: "You mentioned attribution. How do you actually verify the model used the retrieved chunk and did not hallucinate past it?"
Say this"RAG keeps knowledge outside the weights so updates are cheap and citations are traceable. Fine-tuning changes model behavior, not just knowledge. I combine them when I need both."
20
What chunking strategies exist for RAG pipelines, and how do you choose between them?
Fixed-size vs. semantic vs. recursive, the choice shapes retrieval precision more than any embedding model.
Full answer + insider read in the complete set.Unlock all 100 · $19
21
How do you select an embedding model for a RAG system, and what benchmarks do you trust?
MTEB is the starting point, but domain-specific evaluation almost always tells a different story.
Full answer + insider read in the complete set.Unlock all 100 · $19
22
Compare Pinecone, Weaviate, and pgvector: when would you reach for each?
Operational complexity, filtering capabilities, and existing infrastructure should drive the choice more than raw ANN benchmarks.
Full answer + insider read in the complete set.Unlock all 100 · $19
23
When do you use cosine similarity vs. dot product vs. L2 distance as your vector similarity metric?
Normalized embeddings collapse cosine and dot product into the same result, knowing when that holds is the real question.
Full answer + insider read in the complete set.Unlock all 100 · $19
24
What is hybrid search, and how do you combine sparse and dense retrieval without hurting latency?
Reciprocal Rank Fusion is the workhorse, but tuning alpha between BM25 and vector scores is where precision lives.
Full answer + insider read in the complete set.Unlock all 100 · $19
25
How does re-ranking work in a RAG pipeline, and when is the added latency worth it?
A cross-encoder sees the query and passage together, which is why it outperforms bi-encoders at the cost of speed.
Full answer + insider read in the complete set.Unlock all 100 · $19
26
What are the tradeoffs between context-window stuffing and RAG for long-document question answering?
Lost-in-the-middle degradation and per-token cost make naive stuffing less attractive than it first appears.
Full answer + insider read in the complete set.Unlock all 100 · $19
27
How do you diagnose and handle retrieval misses in a production RAG system?
Query rewriting, fallback strategies, and confidence-gating are the three levers most teams underuse.
Full answer + insider read in the complete set.Unlock all 100 · $19
28
What is multi-hop retrieval and how do you implement it without runaway latency?
Iterative retrieval with a reasoning step between hops is powerful, but each hop multiplies failure modes.
Full answer + insider read in the complete set.Unlock all 100 · $19
29
How do you use metadata filtering in a vector database, and what are the pitfalls?
Pre-filtering before ANN search can dramatically increase precision, but over-filtering starves the retriever of candidates.
Full answer + insider read in the complete set.Unlock all 100 · $19
30
Walk me through how you would evaluate a RAG pipeline using RAGAS.
Faithfulness, answer relevancy, and context recall are the three core metrics, and they can conflict in surprising ways.
Full answer + insider read in the complete set.Unlock all 100 · $19
31
How does knowledge graph RAG differ from standard vector RAG, and when is it worth the engineering overhead?
Entity relationships that flat chunks cannot capture are where graph traversal earns its keep.
Full answer + insider read in the complete set.Unlock all 100 · $19
32
How do you design a RAG system specifically for code retrieval and generation?
AST-aware chunking and function-level embeddings outperform line-based splits for code by a wide margin.
Full answer + insider read in the complete set.Unlock all 100 · $19
33
Describe the architecture of a production-grade RAG system handling millions of documents and thousands of QPS.
Async ingestion, tiered caching, and decoupled retrieval and generation services are the table stakes at scale.
Full answer + insider read in the complete set.Unlock all 100 · $19
prompt-engineering-evaluation1 free ↓
34
What makes a well-structured prompt, and how do you systematically improve a bad one?
Tests whether you treat prompt engineering as engineering — systematic evaluation, one-change-at-a-time iteration — rather than intuition.
free
A well-structured prompt has four core properties: a clear task definition, sufficient context for the model to ground its answer, explicit output constraints (format, length, tone), and any examples needed to close the gap between what you want and what the model naturally produces. When I inherit a bad prompt, I treat it like a failing test suite: I collect a representative eval set of ten to twenty input/output pairs, run the prompt, and categorize every failure by type (hallucination, wrong format, missing nuance, over-verbosity). From that taxonomy I fix the highest-frequency failure class first, usually by adding a single clarifying constraint or a well-chosen few-shot example, then re-run the eval before touching anything else. I version every edit in a prompt registry so I can compare metrics across iterations rather than relying on gut feel. The whole loop is: hypothesize a root cause, make one targeted change, measure against the eval set, and commit only if the metric improves.
Insider read
Really testing: Whether you treat prompt writing as an engineering discipline with measurement rather than a creative writing exercise. Interviewers want to see a feedback loop, not intuition.
The tell: Weak candidates describe prompt tweaks in isolation ("I just added more detail"). Strong candidates immediately mention an eval set and a versioning strategy.
Follow-up: "Walk me through a real prompt you improved. What metric moved and by how much?"
Say this"I always start with an eval set before touching the prompt itself. If I don't have a ground-truth benchmark, any change I make is just a guess. Once I have ten or twenty labeled examples, I can treat prompt iteration like a CI loop: one change, measure, commit or revert."
35
How does chain-of-thought prompting work, and when should you use it over standard prompting?
Covers the reasoning trace mechanism, latency tradeoffs, and task classes where CoT helps most.
Full answer + insider read in the complete set.Unlock all 100 · $19
36
How do you reliably get structured JSON output from an LLM, and what can still go wrong?
Covers JSON mode, grammar-constrained decoding, schema enforcement, and failure edge cases.
Full answer + insider read in the complete set.Unlock all 100 · $19
37
What goes into an effective system prompt, and how do you keep it from becoming a wall of text?
Covers persona, guardrails, instruction hierarchy, and the token-cost tradeoff of verbose system prompts.
Full answer + insider read in the complete set.Unlock all 100 · $19
38
What is prompt injection, and what defenses do you put in place at the application layer?
Covers direct vs. indirect injection, input sanitization, privilege separation, and detection strategies.
Full answer + insider read in the complete set.Unlock all 100 · $19
39
When is role prompting useful, and what are its limits?
Covers persona assignment, tone shaping, capability elicitation, and when role framing misleads the model.
Full answer + insider read in the complete set.Unlock all 100 · $19
40
How do you choose and order few-shot examples for maximum impact?
Covers retrieval-based selection, ordering effects, diversity vs. similarity tradeoffs, and label noise.
Full answer + insider read in the complete set.Unlock all 100 · $19
41
How do you compress a long prompt without losing the instructions that matter?
Covers token budgeting, semantic deduplication, priority ordering, and LLM-assisted compression.
Full answer + insider read in the complete set.Unlock all 100 · $19
42
What techniques give you reliable control over output length?
Covers explicit length instructions, stop sequences, max-token caps, and per-section word budgets.
Full answer + insider read in the complete set.Unlock all 100 · $19
43
How does self-consistency sampling improve accuracy, and when is the cost justified?
Covers majority-vote aggregation, temperature settings, task suitability, and cost-accuracy tradeoffs.
Full answer + insider read in the complete set.Unlock all 100 · $19
44
How do you version and evaluate prompts across model upgrades?
Covers prompt registries, eval harnesses, regression suites, and managing drift when switching model versions.
Full answer + insider read in the complete set.Unlock all 100 · $19
45
How do you A/B test prompt variants safely in a production system?
Covers traffic splitting, guardrails, metric selection, statistical significance, and rollback procedures.
Full answer + insider read in the complete set.Unlock all 100 · $19
46
What is automatic prompt optimization, and how do tools like DSPy approach it?
Covers gradient-free optimization, LLM-as-optimizer, teleprompters, and when automation beats hand-tuning.
Full answer + insider read in the complete set.Unlock all 100 · $19
47
How do you validate LLM outputs before they reach end users or downstream systems?
Covers schema checks, guardrail models, confidence thresholds, human-in-the-loop triggers, and fallback strategies.
Full answer + insider read in the complete set.Unlock all 100 · $19
48
How do you measure prompt quality at scale across thousands of live requests?
Covers LLM-as-judge pipelines, embedding-based clustering, user signal proxies, and sampling strategies.
Full answer + insider read in the complete set.Unlock all 100 · $19
Stop guessing what they're scoring.
// 100 questions · model answers · insider reads · $19 one-time
Unlock all 100 · $19
fine-tuning-alignment1 free ↓
49
When would you fine-tune a model versus use RAG versus rely purely on prompt engineering?
Tests whether you understand the cost/quality/latency tradeoffs and can map them to real constraints like how fast knowledge changes and what inference budget you have.
free
I think of these three approaches as sitting on a cost-and-commitment spectrum. Prompt engineering is always my first stop: if I can reliably get the behavior I need by shaping the system prompt and a few examples, the iteration cycle is fast and there are zero training costs. I move to RAG when the model needs access to knowledge that changes frequently or is too voluminous to bake in, because keeping a retrieval index fresh is far cheaper than retraining. I reach for fine-tuning when I need the model to internalize a specific style, format, or reasoning pattern that prompt engineering cannot reliably produce at scale, or when I need to reduce token costs by compressing long system prompts into model weights. The decision also hinges on latency and data privacy: fine-tuning gives you a leaner, faster request with no retrieval round-trip, and the sensitive training data never leaves your pipeline at inference time. In practice I often layer all three: a fine-tuned base for consistent behavior, RAG for live knowledge, and a short system prompt for session-level instructions.
Insider read
Really testing: Whether you treat fine-tuning as a default hammer or as a deliberate, cost-justified tool. Interviewers want to see a decision framework, not a recitation of definitions.
The tell: Strong candidates mention iteration speed, data freshness, inference cost, and maintenance burden before they ever mention accuracy. Weak candidates jump straight to "fine-tuning gives better results" without quantifying the trade-off.
Follow-up: "You mentioned reducing token costs through fine-tuning. How would you measure the break-even point between training spend and inference savings?"
Say this"My default is always prompt engineering first, then RAG if the knowledge is dynamic or large-scale, and fine-tuning only when I need a behavioral change that neither of those can produce reliably or cheaply enough. I've seen teams spend weeks on fine-tuning runs that a well-structured system prompt would have solved in a day."
50
How do LoRA and QLoRA work, and when would you choose one over the other?
Low-rank adapter math, memory footprint comparison, and quantization trade-offs explained.
Full answer + insider read in the complete set.Unlock all 100 · $19
51
What is the difference between supervised fine-tuning and RLHF, and when does each make sense?
SFT gives you behavior imitation; RLHF shapes preference. Know where the boundary is.
Full answer + insider read in the complete set.Unlock all 100 · $19
52
What is catastrophic forgetting and how do you mitigate it during fine-tuning?
EWC, replay buffers, and adapter methods are the three main mitigation families.
Full answer + insider read in the complete set.Unlock all 100 · $19
53
How do you prepare and quality-filter a dataset for fine-tuning an LLM?
Deduplication, formatting consistency, and label quality gates matter more than raw size.
Full answer + insider read in the complete set.Unlock all 100 · $19
54
How do you evaluate a model after fine-tuning to confirm it actually improved?
Held-out task metrics, regression benchmarks, and human eval all belong in your eval suite.
Full answer + insider read in the complete set.Unlock all 100 · $19
55
How would you fine-tune a model to reliably produce structured output such as JSON or XML?
Schema-constrained decoding and format-specific training data are both part of the answer.
Full answer + insider read in the complete set.Unlock all 100 · $19
56
What is the difference between DPO and PPO for alignment, and what are the practical trade-offs?
DPO eliminates the reward model; PPO is more flexible but far harder to stabilize.
Full answer + insider read in the complete set.Unlock all 100 · $19
57
When does fine-tuning make economic sense versus just using a more powerful base model?
Calculate training amortization against per-token inference savings across your expected request volume.
Full answer + insider read in the complete set.Unlock all 100 · $19
58
What makes an instruction dataset high quality, and how do you audit it before training?
Diversity, prompt-response alignment, and coverage of edge cases are the three quality axes.
Full answer + insider read in the complete set.Unlock all 100 · $19
59
How do you use synthetic data for fine-tuning, and what are the risks of model-generated training data?
Synthetic data scales cheaply but can amplify existing model biases if not carefully filtered.
Full answer + insider read in the complete set.Unlock all 100 · $19
60
What is the difference between domain adaptation and task adaptation, and how does each change your fine-tuning strategy?
Domain adaptation shifts vocabulary and priors; task adaptation shapes output format and reasoning style.
Full answer + insider read in the complete set.Unlock all 100 · $19
61
How do you merge multiple fine-tuned models, and what techniques exist for combining their capabilities?
Model merging via SLERP or TIES-merging can combine specializations without retraining.
Full answer + insider read in the complete set.Unlock all 100 · $19
62
How do you approach safety fine-tuning to reduce harmful outputs without over-refusing legitimate requests?
Red-teaming datasets, refusal calibration, and constitutional AI methods all play a role.
Full answer + insider read in the complete set.Unlock all 100 · $19
63
When and how would you perform continued pre-training rather than instruction fine-tuning?
Continued pre-training is for deep domain knowledge injection; instruction tuning shapes behavior on top of it.
Full answer + insider read in the complete set.Unlock all 100 · $19
ai-infrastructure-deployment1 free ↓
64
How would you deploy an LLM-powered feature to production, and what would you monitor?
Tests production readiness: canary rollouts, fallback paths, cost monitoring, and LLM-as-judge eval pipelines — not just “containerize the model.”
free
I treat an LLM deployment as a two-phase rollout: a canary release to a small traffic slice before full promotion, with a hard circuit breaker that falls back to a deterministic rule-based path if error rates or latencies spike. On the infrastructure side I containerize the model server with pinned dependency versions, wire it behind an API gateway for rate limiting and authentication, and store prompt templates in a versioned config store so I can hot-swap them without a redeploy. For monitoring I track four signals: token throughput and p95 latency to catch inference regressions, cost per request to surface prompt bloat early, output quality metrics such as hallucination-rate from an LLM-as-judge pipeline, and downstream business KPIs like task completion rate to confirm the feature is actually working. I also keep a shadow log of every request and response for at least 30 days so I can replay traffic against a new model version offline before promoting it.
Insider read
Really testing: Whether you treat LLM deployments as fundamentally different from standard service deployments, and whether you have thought about the non-determinism and cost dimensions that do not exist in classical ML or API work.
The tell: Strong candidates immediately mention fallback strategies and cost observability in the same breath as latency. Weak candidates give a generic Kubernetes answer and stop at p99 latency.
Follow-up: "Your canary shows a 15% increase in output length. Is that a problem and how do you decide?"
Say this"I separate the deployment pipeline from the prompt pipeline. Code changes go through CI/CD as normal, but prompt changes are configuration changes that I can roll back in seconds without touching the service. That separation has saved me multiple times when a prompt regression hit production."
65
What techniques do you use to minimize latency when calling LLM APIs in a user-facing product?
Streaming, connection pooling, and where you put the latency budget.
Full answer + insider read in the complete set.Unlock all 100 · $19
66
How do you implement streaming responses from an LLM, and what edge cases do you need to handle?
Server-sent events, partial JSON, and client disconnects.
Full answer + insider read in the complete set.Unlock all 100 · $19
67
When and how would you cache LLM outputs, and what are the risks?
Semantic caching, cache invalidation, and stale answer risk.
Full answer + insider read in the complete set.Unlock all 100 · $19
68
How do you manage and reduce token costs at scale without degrading output quality?
Prompt compression, model tiers, and cost-per-task tracking.
Full answer + insider read in the complete set.Unlock all 100 · $19
69
How do you implement rate limiting and throttling for an LLM-backed API you expose to customers?
Token-bucket vs. quota buckets, and what you do when the upstream provider throttles you.
Full answer + insider read in the complete set.Unlock all 100 · $19
70
How do you choose the right GPU for LLM inference, and what specs matter most?
Memory bandwidth vs. VRAM capacity vs. compute, and the tradeoff for batch size.
Full answer + insider read in the complete set.Unlock all 100 · $19
71
Walk me through quantization for LLM inference: INT8, FP16, and when each makes sense.
Accuracy-speed tradeoffs, calibration data, and which layers you avoid quantizing.
Full answer + insider read in the complete set.Unlock all 100 · $19
72
Compare vLLM, Text Generation Inference, and Triton Inference Server for production LLM serving.
PagedAttention, continuous batching, and when you reach for Triton.
Full answer + insider read in the complete set.Unlock all 100 · $19
73
How does batching work for LLM inference and how do you tune batch size in production?
Continuous vs. static batching, latency-throughput tradeoff, and dynamic batching windows.
Full answer + insider read in the complete set.Unlock all 100 · $19
74
How do you A/B test two different LLMs or prompt versions in a live production system?
Traffic splitting, consistent user assignment, and what your success metric actually is.
Full answer + insider read in the complete set.Unlock all 100 · $19
75
What does LLM observability mean to you, and how have you used tools like LangSmith or Helicone?
Trace IDs, span-level cost attribution, and how you correlate traces to user complaints.
Full answer + insider read in the complete set.Unlock all 100 · $19
76
What fallback strategies do you implement when your primary LLM provider is unavailable or degraded?
Secondary provider routing, graceful degradation, and how you avoid prompt re-engineering per model.
Full answer + insider read in the complete set.Unlock all 100 · $19
77
How would you design a multi-model router that sends requests to different LLMs based on task complexity?
Classification layer, cost vs. quality tradeoff, and how you avoid the router becoming a bottleneck.
Full answer + insider read in the complete set.Unlock all 100 · $19
78
How do you build a cost monitoring system for LLM usage across multiple teams and products?
Per-team attribution, anomaly alerting, and the feedback loop that actually changes engineer behavior.
Full answer + insider read in the complete set.Unlock all 100 · $19
system-design-behavioral1 free ↓
79
Design an AI-powered customer support system that handles 10,000 requests per day.
Tests system design depth: intent routing, retrieval pipeline, confidence thresholds, human escalation paths, and how you’d measure whether the AI is actually helping.
free
I start by decomposing the problem into three layers: intent classification, retrieval-augmented generation, and a human escalation path. At 10,000 requests per day (roughly 7 per minute at peak), a single LLM endpoint is sufficient for throughput, so the real challenge is latency, accuracy, and graceful fallback. I would front the system with a fast intent classifier (a fine-tuned small model like a DistilBERT variant) to route simple, repetitive queries to a scripted response layer and complex ones to a full RAG pipeline backed by a vector store of product docs and past tickets. Every response is scored by a lightweight confidence threshold: below the threshold the ticket is flagged and queued for a human agent, and the LLM draft is shown to that agent as a suggested reply so their effort is not wasted. I instrument the whole pipeline with latency, escalation rate, and CSAT metrics from day one so I can measure whether the AI is actually helping or just adding latency.
Insider read
Really testing: Whether you think in systems, not just models. Interviewers want to see you reason about routing, fallback, and measurement, not just say "I'd use GPT-4."
The tell: Strong candidates immediately ask about the ticket distribution (how many are repetitive FAQ vs. complex billing disputes?), because that shapes the entire architecture. Weak candidates jump straight to a single LLM endpoint and ignore escalation.
Follow-up: "How would you handle a sudden 10x traffic spike during a product outage?"
Say this"Before I sketch the architecture I want to understand the ticket mix. If 60% of requests are password resets and order status, I would keep those on a rules-based layer entirely and reserve the LLM budget for the 40% that actually need reasoning."
80
Design a document Q&A system for enterprise knowledge bases.
Cover chunking strategy, embedding choice, retrieval, and citation traceability.
Full answer + insider read in the complete set.Unlock all 100 · $19
81
Design a code review AI assistant integrated into a CI/CD pipeline.
Address latency constraints, false positive rate, and developer trust.
Full answer + insider read in the complete set.Unlock all 100 · $19
82
Design a content moderation system powered by LLMs at scale.
Balance speed, accuracy, cost, and human-in-the-loop review queues.
Full answer + insider read in the complete set.Unlock all 100 · $19
83
Design a product recommendation engine that uses LLMs alongside collaborative filtering.
Explain where LLMs add value over traditional methods and where they do not.
Full answer + insider read in the complete set.Unlock all 100 · $19
84
How would you evaluate an AI feature before launching it to production?
Cover offline evals, shadow mode, A/B testing, and guardrail metrics.
Full answer + insider read in the complete set.Unlock all 100 · $19
85
How do you handle AI feature failures gracefully in a production system?
Discuss circuit breakers, fallback logic, and user-facing degradation strategies.
Full answer + insider read in the complete set.Unlock all 100 · $19
86
How do you approach responsible AI and bias detection in your systems?
Cover audit datasets, demographic slicing, and escalation paths when bias is found.
Full answer + insider read in the complete set.Unlock all 100 · $19
87
What are the key GDPR and privacy considerations when building AI systems that process user data?
Mention data minimization, right to explanation, and model training consent.
Full answer + insider read in the complete set.Unlock all 100 · $19
88
How do you build trust with non-technical stakeholders when pitching or delivering AI projects?
Focus on translating model metrics into business outcomes and managing expectations around uncertainty.
Full answer + insider read in the complete set.Unlock all 100 · $19
89
How do you decide when to build AI capabilities in-house versus buying or using an API?
Cover data moat, cost at scale, latency, and competitive differentiation.
Full answer + insider read in the complete set.Unlock all 100 · $19
90
How do you make the business case for AI investment to leadership?
Frame around ROI, risk reduction, and a phased rollout that limits downside.
Full answer + insider read in the complete set.Unlock all 100 · $19
91
Tell me about an AI feature you shipped that underperformed. What did you do?
Demonstrate ownership, fast diagnosis, and a structured retrospective.
Full answer + insider read in the complete set.Unlock all 100 · $19
92
How do you manage model updates in a live production system without breaking user experience?
Cover shadow deployment, regression test suites, and canary rollout with rollback triggers.
Full answer + insider read in the complete set.Unlock all 100 · $19
93
Walk me through your process for iterating on an AI product after launch.
Link evaluation signals back to product decisions and show a feedback loop, not a one-shot deploy.
Full answer + insider read in the complete set.Unlock all 100 · $19
94
How do you work effectively with product managers on AI features?
Address setting realistic expectations, communicating probabilistic outputs, and co-owning success metrics.
Full answer + insider read in the complete set.Unlock all 100 · $19
95
What AI safety considerations do you bake into product design?
Go beyond guardrails to discuss human oversight, reversibility, and harm surface analysis.
Full answer + insider read in the complete set.Unlock all 100 · $19
96
What is your favorite AI tool or framework and why?
Show taste and depth, not just familiarity. Explain a concrete tradeoff that shaped your preference.
Full answer + insider read in the complete set.Unlock all 100 · $19
97
How do you stay current in a field that moves as fast as AI engineering?
Show a system, not a list of sources. Interviewers want to see how you filter signal from noise.
Full answer + insider read in the complete set.Unlock all 100 · $19
98
What makes a great AI engineer different from a great ML engineer?
Focus on the shift from model performance to product reliability, iteration speed, and system thinking.
Full answer + insider read in the complete set.Unlock all 100 · $19
99
How do you think about career growth as an AI engineer?
Distinguish the T-shaped skill set that separates senior from mid-level, and where depth matters most.
Full answer + insider read in the complete set.Unlock all 100 · $19
100
Where do you see AI engineering headed over the next three to five years?
Show a point of view grounded in current system limitations, not just hype.
Full answer + insider read in the complete set.Unlock all 100 · $19
// complete set

All 100 questions. Every model answer. Every insider read.

Walk in knowing what a senior answer sounds like, and what they're actually scoring.

$19
// one-time · instant access · lifetime · no subscription
// interview bootcamp: $5,000+ · 1:1 coach: $200/hour · this playbook: $19
Unlock all 100 for $19
14-day money-back guarantee. No questions asked.
// what happens when you pay
1Secure checkout opens. Card, Apple Pay, Google Pay or PayPal, processed by Stripe.
2All 100 unlock instantly. Your private link opens the moment payment clears.
3It's yours for good. The receipt email contains your permanent link. Lose it? Email us, we resend.
VISAMastercardAmexApple PayGoogle PayPayPal
// payment handled by Lemon Squeezy, our merchant of record. We never see your card details. Support: support@howto-playbooks.com
Common questions
Why not just ask ChatGPT?+
ChatGPT gives you a plausible answer. It does not tell you whether that answer makes an interviewer want to hire you. The whole product is the insider read: what they're really testing, how a junior answer sounds versus a senior one, and the follow-up they'll throw next.
Are these real interview questions?+
Yes. These are the questions that come up in AI engineering interviews at OpenAI, Anthropic, Google DeepMind, Meta AI, Cohere, Scale AI, and similar companies, covering LLMs, RAG, prompt engineering, fine-tuning, infrastructure, and system design.
What's different from free question lists?+
Free lists give you questions. This gives you the model answer plus what the interviewer is actually scoring, the junior vs. senior tell, and the follow-up coming next.
What if it doesn't help?+
14-day, no-questions-asked refund. Email support@howto-playbooks.com with your order number and we refund in full.
What format is it?+
A single web page, bookmarkable, works on any device. All 100 questions expandable with answers and insider reads. Lifetime access.
How do I get access after paying?+
Instantly. The moment payment clears, your private link opens with all 100 questions and answers. Your receipt email contains the same permanent link, so you can come back anytime, on any device. If you ever lose it, email support@howto-playbooks.com and we resend it.
Is the payment secure?+
Yes. Checkout is handled by Lemon Squeezy, our merchant of record, with payments processed by Stripe, the same infrastructure used by Amazon and Shopify. Card, Apple Pay, Google Pay and PayPal are supported. Your card details never touch our servers.
// more playbooks: 100 questions each
$19 one-time
// 100 questions · insider reads · 14-day refund
Unlock all 100