02Walk me through the transformer architecture end-to-end, minus the heavy math.▼mediumOpenAIAnthropicGoogle64 views1 repliesunlockedModern LLMs share one architectural skeleton. Learn the five components and you can read almost any model card cold, plus the single distinction that proves to an interviewer you actually understand it rather than the buzzwords.Open full answer →
07Why is the dot product the similarity score in attention and embeddings, and when should you normalize to cosine?▼mediumCohereOpenAIAnthropic1 repliesunlockedThe same operation scores attention and ranks your RAG results. Knowing exactly what the dot product measures, and when its magnitude term quietly breaks your retrieval, is what separates a working pipeline from a mysteriously bad one.Open full answer →
11A customer wants the model to 'know our docs.' Prompting, RAG, or fine-tuning: how do you choose?▼medium★ EssentialOpenAIAnthropicCohere1 replies○ sign inThe single most-reported FDE conceptual question across every AI lab. Interviewers don't want definitions; they want the decision framework, the cost math, and the recommendation order that reads senior.Open full answer →
12Your prompt plus retrieved documents exceed the context window. What are your options and tradeoffs?▼mediumOpenAIAnthropicGlean1 replies○ sign inTruncate? Summarize? Rerank? Map-reduce? A production problem every RAG deployment hits, with a menu of fixes interviewers expect you to weigh, plus the diagnostic question to ask first.Open full answer →
13Why does vector search retrieve 'related but wrong' results, and how do you fix it?▼mediumCohereGleanOpenAI1 replies○ sign inCosine similarity finds topically close, not correct. The failure taxonomy behind most RAG accuracy complaints, and the hybrid-search + reranker fix stack interviewers expect you to know cold.Open full answer →
14Give me three concrete hallucination mitigations, and the cost of each.▼medium★ EssentialAnthropicOpenAIScale1 replies○ sign inAnyone can list mitigations; the question is really about costs: latency, dollars, and lost recall. The three-layer answer with honest price tags that AI-lab interviewers score highest.Open full answer →
15When does fine-tuning beat few-shot prompting? How much data do you need, and how do you prevent regressions?▼mediumOpenAICohereMistral1 replies○ sign inThe data-volume thresholds, the break-even math, and the regression-prevention checklist that turn 'just fine-tune it' into a defensible engineering decision. Includes the crossover rule interviewers listen for.Open full answer →
16What is 'lost in the middle,' and how does it change how you assemble context for a RAG system?▼mediumAnthropicGleanOpenAI1 replies○ sign inModels read the start and end of your context far better than the middle, a measured effect with direct consequences for chunk ordering, k, and prompt layout. What to change and how to prove it.Open full answer →
17What are the failure modes of tool/function calling, and how do you handle them in production?▼mediumOpenAIAnthropicSierra2 replies○ sign inMalformed arguments, wrong tool, hallucinated parameters, retry loops: the full failure taxonomy plus the production defenses (validation, idempotency, capped retries) that separate builders from readers.Open full answer →
18You need guaranteed JSON from the model, but it keeps breaking the schema. What do you do?▼medium★ EssentialOpenAIAnthropicScale1 replies○ sign inJSON mode, strict schemas, constrained decoding, validate-and-retry: the escalation ladder for structured output, plus the catch nobody mentions: schema-valid can still be factually wrong.Open full answer →
19When is an agent the wrong answer? Argue against using agents.▼mediumAnthropicSierraOpenAI1 replies○ sign inArguing against agents is the move that reads senior in AI-lab interviews. The error-compounding math, the decision rule, and the workflow-vs-agent spectrum that wins this contrarian question.Open full answer →
20A customer says your LLM app is too slow. Give me five levers to reduce latency, and their tradeoffs.▼medium★ EssentialOpenAIMicrosoftGoogle1 replies○ sign inTTFT vs tokens-per-second, the output-length lever everyone forgets, and why streaming is the highest-ROI fix that changes no latency at all. The five-lever answer with real numbers.Open full answer →
21How does prompt caching work, and when does it actually pay off?▼mediumAnthropicOpenAIGoogle1 replies◆ premiumThe KV-cache mechanics behind the discount, the prefix rule that silently breaks caching for most teams, and the workloads where caching cuts bills 50-90% versus the ones where it does nothing.Open full answer →
22How do you version, test, and roll out prompt changes like code?▼mediumOpenAIAnthropicScale1 replies◆ premiumPrompts are production code that nobody treats like code, until an innocent one-line tweak tanks accuracy. The version-eval-canary-rollback pipeline that AI-native interviewers expect by default.Open full answer →
23Your provider is deprecating the model you built on. How do you detect and measure regression before migrating?▼mediumOpenAIAnthropicMicrosoft1 replies◆ premiumModel migrations break things that benchmarks never show, format quirks, refusal shifts, tool-calling drift. The eval-replay and shadow-traffic playbook for migrating without surprises.Open full answer →
24A customer refuses to send PII to an LLM API. What are your options?▼mediumMicrosoftMistralAnthropic1 replies◆ premiumZero retention, private endpoints, redaction pipelines, or open weights in their VPC, the four-rung ladder for PII-sensitive deployments, and the discovery questions that pick the right rung.Open full answer →
33What's your experience architecting LLM-based applications?▼mediumCohereOpenAI1 replies◆ premiumThe experience probe that opens half of all applied-AI loops, and the place resumes go to die. The four-beat walkthrough structure interviewers can actually score, plus the two omissions that quietly downgrade you from architect to API caller.Open full answer →
34How did you ensure the LLM didn't answer outside its designed scope?▼mediumSierraCresta1 replies◆ premiumPast tense matters: the interviewer is asking what you actually enforced at runtime, not what you'd design on a whiteboard. The enforcement chain (gate, starve, screen, measure) with the scope-violation metric that proves it worked.Open full answer →
47What is RoPE, why does relative position help, and why does it extend to long context better than learned absolute embeddings?▼mediumMetaGoogleMistral1 replies◆ premiumRotary embeddings encode position as a rotation of the query and key vectors, so attention scores depend only on the gap between two tokens. That relative property is why RoPE generalizes past its training length where learned absolute tables fall off a cliff.Open full answer →
50Prefix caching in a multi-turn chatbot: how do client-side and server-side caching cut redundant compute, and what breaks correctness?▼mediumAnthropicOpenAIGoogle1 replies◆ premiumEach chat turn resends the whole conversation, so the model re-prefills the same prefix every time. Server-side KV caching and client-side cache breakpoints kill that redundant compute, but exact-prefix matching and stale entries are where teams silently get it wrong.Open full answer →
52KV-caching in autoregressive decoding: what does it store, why does it cut latency, and how does its memory cost scale?▼medium★ EssentialNVIDIAOpenAIGoogle1 replies◆ premiumWithout a KV cache, generating token N re-attends over all N-1 prior tokens from scratch every step, turning decoding quadratic. The cache stores each layer's past keys and values so each new token costs one forward step, and its size is what caps your batch and context.Open full answer →
06How would you chunk contracts, Slack threads, and PDFs full of tables: same pipeline or different?▼mediumHarveyGleanScale1 repliesunlockedA reported FDE design question that punishes one-size-fits-all answers. Each corpus has a different 'semantic unit': get the three designs, the parsing tools to name, and the eval that proves the split was worth it.Open full answer →
07Design a hybrid retrieval stack: BM25, vectors, and a reranker. What does each stage rescue?▼medium★ EssentialGleanCohereOpenAI1 repliesunlockedThe retrieval design question with a precise rubric: candidates who can say what each stage rescues, and what it costs in latency, clear it. Includes the RRF detail and the latency budget interviewers ask for.Open full answer →
08A customer's RAG pilot answers only 60% of questions correctly. Diagnose it.▼mediumOpenAIScaleAnthropic1 repliesunlockedThe modal FDE design question of the last two years. There's a scoring trap in the first 60 seconds, and most candidates jump to fixes and fail. Here's the diagnostic tree that wins it.Open full answer →
09Retrieval fails on the customer's internal jargon. Fine-tune embeddings, add a reranker, or rewrite queries?▼mediumGleanCohereDatabricks1 repliesunlockedThree plausible fixes, one decision framework. Interviewers grade the ordering (cheapest-reversible first) and whether you can say what each option costs in data, time, and operational burden.Open full answer →
10Design a customer-support agent with order-status and returns tools. How do you keep it safe and useful?▼medium★ EssentialSierraDecagonOpenAI1 repliesunlockedSierra's signature design exercise. The grading hinges on three things most candidates underweight: tool API shape, the read/write trust boundary, and eval cases written before the agent. Walkthrough inside.Open full answer →
11A brand wants an agent that never gives financial advice, stays on-voice, and never mentions competitors. Design the guardrails.▼medium★ EssentialSierraAnthropicWriter1 replies○ sign inA Sierra-signature scenario where 'put it in the system prompt' scores zero. The winning answer is defense-in-depth with a measured catch-rate per layer, plus an honest number for what still gets through.Open full answer →
12Your agent workflow takes 30 seconds. Design the streaming UX, including what happens when it fails mid-stream.▼mediumVercelOpenAISierra1 replies○ sign inPerceived latency is a design surface, not an infrastructure detail. Covers progressive disclosure, SSE vs WebSockets, resumability, and the mid-stream failure question most candidates have never thought about.Open full answer →
13Build doc-QA for healthcare where a wrong answer is worse than no answer. How do you make it reliably say 'I don't know'?▼mediumAnthropicHarveyOpenAI1 replies○ sign inCalibrated abstention is a system property, not a prompt line. Learn the four abstention signals, the precision-at-coverage framing, and why 'just tell it to say I don't know' fails the interview.Open full answer →
14Every sentence the model writes must link to a source span. Design the citation system.▼mediumHarveyGleanAnthropic1 replies○ sign inCitations are the trust interface of enterprise RAG, and the easiest thing to fake badly. Covers inline citation generation, span verification, and the verification-rate metric that interviewers actually want.Open full answer →
15Design text-to-SQL for executives, where a wrong-but-plausible query must never mislead anyone▼mediumDatabricksSnowflakeOpenAI1 replies○ sign inText-to-SQL's nightmare isn't syntax errors, it's the query that runs, returns a confident number, and is silently wrong. The defense is a semantic layer plus transparency UX. Here's the full design.Open full answer →
16A customer wants to expose internal APIs to a model via MCP. Design it safely: auth, least privilege, versioning.▼mediumAnthropicOpenAIGlean1 replies○ sign inAn Anthropic-signature integration question. The hidden rubric: tools are a curated product surface, not a proxy for your OpenAPI spec, plus the auth model and confused-deputy trap most candidates miss.Open full answer →
17Run an LLM over 10 million records nightly, within budget. Design the batch pipeline.▼mediumDatabricksScaleAnthropic1 replies○ sign inThe unglamorous design question that exposes who has run LLMs in production. Batch APIs at 50% off, idempotency keys, poison records, spend kill-switches: the full checklist interviewers listen for.Open full answer →
18Ingest 40 enterprise sources (SharePoint, Confluence, Jira, drives) with incremental sync and deletion handling▼mediumGleanDatabricksMicrosoft1 replies○ sign inA Glean-signature design question where deletions, not ingestion, are the trap. Covers the connector framework, change detection per source class, tombstones, and the freshness SLO customers actually sign.Open full answer →
32How do you search for an exact word in a vector database?▼mediumGleanCohere1 replies◆ premiumA deceptively short interview question that's really a trap: embeddings cannot do exact match, and the interviewer knows it. What to actually turn on (payload full-text indexes, sparse vectors, metadata filters) in the vector DBs you already run.Open full answer →
34Design a voice-dubbing project tracker to replace the editor's Excel: progress, feedback, and voice-actor collaboration▼mediumElevenLabs1 replies◆ premiumThe verbatim ElevenLabs case-study prompt. It looks like a UI question; it's a workflow-modeling question, and the candidates who pass start by asking what a 'unit of work' is in dubbing. The entity model, the review-state machine, and the v1 cut.Open full answer →
35Explain the RAGAS evaluation dimensions, faithfulness, answer relevance, context precision, context recall, and when to trust them▼mediumOpenAIScale1 replies◆ premiumReciting the four definitions is table stakes; the differentiator is knowing which two need ground truth, what each dimension tells you to fix, and where the judge-model scores quietly lie. The 2x2 that turns RAGAS into a debugging tool.Open full answer →
36LangChain, LlamaIndex, LangGraph, what are the real differences, and when would you use each?▼mediumLangChainOpenAI1 replies◆ premiumAsked constantly in GenAI loops, and most answers are marketing-page recitals. The version that scores: classify by what each actually is, data framework, integration toolkit, graph runtime, then give the selection criteria that outlive all three names.Open full answer →
09Three Sum: find all unique triplets that sum to zero▼mediumMetaxAIScale1 repliesunlockedEveryone knows the sort + two-pointer outline. The interview is actually about duplicate handling: three separate skip conditions that candidates routinely botch live. Here's the clean version and the narration that goes with it.Open full answer →
10Design and implement an LRU cache with O(1) get and put▼medium★ EssentialPalantirMetaxAI1 repliesunlockedThe single most-asked design-a-data-structure question in FDE loops. There's an interview-legal Python shortcut and a from-scratch version, and knowing when to offer which is half the grade.Open full answer →
11Merge K sorted lists into one sorted output▼mediumMetaGleanScale1 replies○ sign inK-way merge is the algorithm behind log aggregation, search-result merging, and LSM trees, which is exactly why FDE loops keep asking it. The heap version is table stakes; the tie-breaking detail is where candidates crash.Open full answer →
12Number of islands: count connected regions in a grid▼medium★ EssentialMetaPalantirxAI1 replies○ sign inThe canonical grid question, and the template for every flood-fill, shortest-path, and region-labeling variant FDE loops throw at you. BFS vs DFS vs union-find: here's which to write and which to merely mention.Open full answer →
13Shortest path in a grid with obstacles▼mediumMetaxAIPalantir1 replies○ sign inThe follow-up to number-of-islands, and the question where candidates reveal whether they understand WHY BFS finds shortest paths. Plus the two variants (weights, eliminating obstacles) that decide hard-screen outcomes at xAI.Open full answer →
14Word search: does a word exist as a path of adjacent cells in a letter grid?▼mediumMetaPalantirxAI1 replies○ sign inThe third member of the grid trilogy, and the one that tests backtracking discipline: marking, unmarking, and the early-exit pruning that turns a timeout into a pass.Open full answer →
15Serialize and deserialize a binary tree▼mediumMetaGleanOpenAI2 replies○ sign inA tree question that's secretly a format-design question, which is why FDE loops love it. The preorder-with-null-markers trick is clean, but the delimiter and malformed-input follow-ups are where offers are decided.Open full answer →
16Flight segments (start, end, seats): find the maximum simultaneous passengers▼mediumPalantirMeta1 replies○ sign inThe Palantir coding-screen classic. It looks like merge-intervals but needs a different weapon, the sweep line, and the boundary-tie detail decides whether your answer is right or off by a planeload.Open full answer →
17Parse server logs and report the top-K users by error count per hour, handling malformed lines▼mediumPalantirAnthropicRetool1 replies○ sign inThe quintessential FDE practical: messy real-world input, grouping, ranking, and a hidden rubric line for how you treat malformed data. Most candidates parse happily and lose the round on the lines that don't parse.Open full answer →
18Sessionize a support-event stream: a gap over 30 minutes starts a new session; dedupe events▼mediumGleanScaleRetool1 replies○ sign inSessionization is the analytics primitive behind every 'how do users actually behave' question, and a favorite practical screen. The algorithm is easy; out-of-order events and duplicates are where the round is actually scored.Open full answer →
19Build a CSV diff tool: report added, removed, and changed rows between two files, with composite keys▼mediumPalantirRetoolScale1 replies○ sign inEvery data migration at every customer site needs this exact tool, which is why Palantir and Retool keep asking it. The diff is a dict comparison; the grade hides in keys, duplicates, and column drift.Open full answer →
20Build a versioned key-value store: put/get, plus get(key, timestamp) for historical reads▼mediumOpenAIGleanScale1 replies○ sign inA multi-part favorite at OpenAI-style screens: simple store, then time travel, then deletes that don't actually delete. The append-only insight plus one bisect call solves the whole thing, if you set up the invariant correctly.Open full answer →
21Build a rate limiter: fixed window, then sliding window, then per-customer tiers▼medium★ EssentialOpenAIAnthropicGlean2 replies◆ premiumA verbatim-reported multi-part at OpenAI and Anthropic. Each level breaks the previous design on purpose: the burst-at-the-boundary flaw is planted, and naming it before the interviewer does is how you win the round.Open full answer →
22You're given a small repo with failing tests and a vague bug report: fix the bugs, then add a feature▼mediumRetoolAnthropicOpenAI1 replies◆ premiumThe format that filters out LeetCode-only candidates: unfamiliar code, failing tests, 45 minutes. There's a repeatable protocol for it, and a reason the first five minutes decide the round.Open full answer →
23Write a document chunker for embeddings: max token budget, sentence boundaries, configurable overlap, with tests▼mediumScaleAnthropicOpenAI1 replies◆ premiumThe coding question that doubles as a RAG-fundamentals check. Greedy packing is easy; the oversized-sentence case, the overlap-progress trap, and the tests you write unprompted are what AI-lab interviewers actually score.Open full answer →
33Implement cd(current_dir, new_dir) returning the absolute path, then add symbolic links▼mediumOpenAI1 replies◆ premiumcd('/foo/bar', 'baz') is easy. cd('/foo/../', './baz') is where the OpenAI screen actually starts, and the symlink follow-up is where it ends. The stack solution plus the loop-guard most candidates forget.Open full answer →
36Serialize a key-value store to disk when keys and values can contain any character, including your delimiter▼mediumOpenAI1 replies◆ premiumNo JSON libraries allowed, and the test data contains commas, newlines, and your escape character itself. Length-prefix encoding solves it in fifteen lines, and knowing why it beats escaping is the actual interview.Open full answer →
40You're handed docs for an API you've never seen: use it to find the shortest path between two nodes▼mediumPalantir1 replies◆ premiumPalantir's signature coding genre isn't an algorithm; it's working from unfamiliar documentation: a graph API, a custom serialization spec, a mini query language. The behaviors graders score, plus the BFS-over-an-opaque-client worked example.Open full answer →
41Given a file-system hierarchy and timestamped permission changes, can user X access file F at time T?▼mediumElevenLabs1 replies◆ premiumThe reported ElevenLabs live round, written in a shared Google Doc, no execution, no autocomplete. Inherited folder permissions plus permission-change timestamps, and the two-axis resolution rule that keeps the code to thirty lines.Open full answer →
42The C3.ai screen pair: Trapping Rain Water and Daily Temperatures▼mediumC3.ai1 replies◆ premiumC3.ai runs the most LeetCode-classic FDE loop, and candidates report the same published set for years: Trapping Rain Water on the phone screen, Daily Temperatures in the tech screen. Both optimal solutions, plus the one-line insight that unlocks each.Open full answer →
55Refactor a tangled 200-line function so it's testable. Walk through your approach.▼mediumAnthropicOpenAIRetool1 replies◆ premiumThe function reads a file, parses it, computes a metric, and prints, all tangled together. The move interviewers want is not prettier code, it's pulling pure logic out from side effects so each piece can be tested in isolation.Open full answer →
57Build a CLI that ingests a folder of documents and outputs a JSON index of extracted entities.▼mediumPalantirHarveyHebbia1 replies◆ premiumA classic FDE take-home shape: messy real documents in, structured index out. The grade is in the seams between reader, extractor, and writer, and in what happens when one file is garbage.Open full answer →
63Given ground-truth and predicted labels, compute precision, recall, and F1 from scratch.▼medium★ EssentialOpenAIAnthropicScale AI1 replies◆ premiumEvery classifier and every LLM-as-judge eval reduces to a confusion matrix, but the screen is whether you handle the zero-denominator cases without crashing and can say which metric matters for the problem at hand.Open full answer →
64Implement top-p (nucleus) sampling from a list of logits in pure Python.▼mediumOpenAIAnthropicHugging Face1 replies◆ premiumEvery chat model decodes with top-p, but few candidates can build it from logits: softmax, sort, take the smallest set of tokens whose cumulative probability crosses p, renormalize, sample. The screen for whether you understand decoding, not just call an API.Open full answer →
65Compute cross-entropy loss manually from logits and a target index, no framework.▼mediumOpenAIAnthropicHugging Face1 replies◆ premiumThe loss every language model trains on, built from logits with no torch in sight. The screen for whether you understand log-softmax and the numerical-stability trick, not just import nn.CrossEntropyLoss.Open full answer →
68Implement k-means clustering from scratch.▼medium★ EssentialMetaGoogleAmazon1 replies◆ premiumThe assign-then-update loop is ten lines; the signal is whether you handle the three things that bite in production: initialization, an empty cluster, and a real convergence test instead of a fixed iteration count.Open full answer →
69Implement a k-nearest-neighbors classifier from scratch.▼mediumAmazonAppleMeta2 replies◆ premiumThere is no training, just storage; the work is at query time. The signal is whether you vectorize the distance computation, break ties sensibly, and know when O(n) per query forces you onto an ANN index instead.Open full answer →
71Compute the dot product of two sparse vectors.▼mediumMetaGoogle1 replies◆ premiumThe whole question is the representation: store only the nonzeros as index→value, then either two-pointer over sorted indices or hash-join. The follow-up that decides the design is what happens when one vector is dense.Open full answer →
72Implement linear regression with gradient descent from scratch.▼mediumAmazonGoogleMeta1 replies◆ premiumAn ML coding screen that doubles as a calculus check. Interviewers watch whether you can write the MSE gradient without looking it up, explain what the learning rate actually does, and say out loud when you'd just solve the normal equation instead.Open full answer →
74Find the length of the longest increasing subsequence.▼mediumGoogleMicrosoft2 replies◆ premiumAlmost everyone reaches the O(n²) DP. The signal interviewers want is the O(n log n) patience-sorting trick, plus the honesty to say the array you build along the way is not itself the answer subsequence.Open full answer →
75Coin change: fewest coins to make an amount.▼mediumAmazonAdobeGoogle1 replies◆ premiumThe question that punishes greedy. Interviewers pick denominations where taking the biggest coin first gives the wrong answer, and they watch whether you reach for DP and handle the impossible-amount case cleanly.Open full answer →
76House robber: max sum you can take from a row of houses without hitting two adjacent ones▼mediumAmazonGoogle2 replies◆ premiumThe classic linear DP. At each house you either skip it and keep the best so far, or take it and add the best from two back. The signal is collapsing the table to two rolling variables and then handling the circular follow-up cleanly.Open full answer →
77Longest substring without repeating characters▼medium★ EssentialAmazonMetaMicrosoft1 replies◆ premiumA sliding window with a last-seen index map, O(n) in one pass. The whole interview turns on one subtlety: when you hit a repeat, the window's left edge must jump forward and never slide backward, which is exactly the bug most candidates ship.Open full answer →
78Product of array except self, without using division▼mediumMetaAmazon1 replies◆ premiumBuild the output from prefix products on a left-to-right pass, then fold in suffix products on a right-to-left pass using the output array itself as scratch. O(n) time, O(1) extra space. The interesting part is why division is banned and what it costs when the input has zeros.Open full answer →
80Search in a rotated sorted array▼mediumMetaAmazonMicrosoft1 replies◆ premiumA sorted array got rotated at an unknown pivot and you still have to find a target in O(log n). The trick is deciding which half is sorted at every step. Here's the clean invariant, and the duplicates follow-up that quietly breaks the log-n promise.Open full answer →
81Validate a binary search tree▼medium★ EssentialAmazonMetaGoogle2 replies◆ premiumAlmost everyone writes the version that only compares each node to its immediate children, and almost every interviewer has a counterexample ready. The fix is to carry a valid (low, high) range down the recursion, or to check that an inorder traversal is strictly increasing.Open full answer →
82Compute the diameter of a binary tree▼mediumMetaGoogle1 replies◆ premiumThe longest path between any two nodes need not pass through the root, which is what trips people up. The clean answer is one DFS that returns each node's height while updating a global best as it goes. First, nail down whether diameter counts edges or nodes.Open full answer →
84Construct a binary tree from its preorder and inorder traversals▼mediumAmazonMicrosoftGoogle2 replies◆ premiumThe clean answer hinges on one insight: preorder names the root, inorder splits left from right. The trap is the O(n squared) version that slices arrays and scans for the root; the O(n) version uses a hashmap of inorder indices and passes bounds instead.Open full answer →
85Find the k closest points to the origin▼mediumMetaAmazon2 replies◆ premiumThe tell is whether you avoid the trap of sorting all n points when you only need k. Two real answers: a max-heap of size k at O(n log k), or quickselect at O(n) average. Knowing which one the interviewer wants is the actual question.Open full answer →
86Sort a k-sorted array, where each element is at most k positions from its final place▼mediumAmazonGoogle2 replies◆ premiumA full sort throws away the structure you were handed. Because no element moves more than k slots, a min-heap of size k+1 always has the next smallest element on top, sorting in O(n log k) and one pass.Open full answer →
87Valid parentheses, then generate all valid combinations▼mediumMetaAmazonMicrosoft2 replies◆ premiumA two-part screen that looks like a warm-up and isn't. Part one is the classic stack validator with three bracket types; part two flips to generating every valid string of n pairs, and the Catalan count is the detail that catches people off guard.Open full answer →
88Given a biased coin, produce a fair coin flip▼mediumGoogleMetaTwo Sigma2 replies◆ premiumYou have a coin that lands heads with some unknown probability p. Build a fair 50/50 flip from it without knowing p. The von Neumann trick is two lines; the part that scores is explaining why the bias cancels and how many flips it costs.Open full answer →
89A streaming chat UI in React drops tokens, shows garbled characters, and lags on long replies. Find the three bugs and fix them.▼mediumNewSierraDecagonHarvey2 replies◆ premiumThis is the shape of the TypeScript debugging round at the agent companies: a forty-line stream handler that mostly works. Each bug has a one-line demonstration, and none of them is in the model. One is a stale closure, one is a decoder splitting a multibyte character, and one is a render per token.Open full answer →
90Simulate an infection spreading across a grid over time▼mediumOpenAIGoogleAmazon1 replies◆ premiumA grid where some cells start infected, and each step every infected cell infects its orthogonal neighbors. How many steps until everything is infected, or -1 if some cell is unreachable? This is rotting oranges in disguise, and the multi-source BFS framing is what they want to hear.Open full answer →
93From a stream of badge scans, find the employees whose movements are impossible.▼mediumNewPalantirScale2 replies◆ premiumA stateful pass over sorted events, which most candidates get working in ten minutes. The reason it is asked is the next ten: in this domain a false positive is a person accused of something.Open full answer →
94Design a parking garage (or an elevator bank, or chess). The low-level design round.▼medium★ EssentialNewPalantir2 replies◆ premiumThe round that punishes fluency. Candidates who can draw a class diagram in ninety seconds usually score worst, because they modeled the nouns in the prompt instead of the operations the system has to support.Open full answer →
05The customer's dataset is 99.5% negatives. Their model shows 99.5% accuracy. Walk me through what you'd do.▼mediumScaleGoogleMicrosoft2 repliesunlockedThe accuracy trap is the easy part. Interviewers keep pushing: resample or reweight? Does SMOTE survive contact with production? What happens to your probabilities? Here's the full chain.Open full answer →
06Your model scored 95% in the pilot and 70% in production. What happened?▼medium★ EssentialGoogleDatabricksScale1 repliesunlockedThis exact gap kills more customer pilots than any modeling choice. There's a ranked list of culprits, and one of them hides inside innocent-looking feature pipelines at almost every enterprise.Open full answer →
08A customer says 'we want the model to be accurate.' How do you turn that into the metric you'll optimize?▼mediumGoogleDatabricksSnowflake2 repliesunlockedThis is a discovery question wearing an ML costume. The strongest candidates run a four-step translation from business pain to loss function, and put a number on each error before choosing anything.Open full answer →
10Tree ensembles vs linear models vs neural networks, how do you choose for a customer's tabular problem?▼medium★ EssentialDatabricksGoogleSnowflake2 repliesunlockedThe empirical answer for tabular data hasn't changed in a decade, but interviewers want the why, and the two situations where the default is wrong. A decision table you can defend under panel Q&A.Open full answer →
11The customer wants to try a fancier model. You think the win is in feature engineering. Make your case, with examples.▼mediumDatabricksSnowflakeGoogle1 replies○ sign inOn enterprise data, the feature pipeline routinely buys 2-5x the lift of a model swap. Here's the worked churn example, and the leakage rule every engineered feature must pass, that makes the argument stick.Open full answer →
15A regulated customer asks: 'Why did the model deny this application?' Explain SHAP and how you'd deploy explainability.▼mediumGoogleMicrosoftDatabricks2 replies○ sign inExplainability is where ML deals in banking, insurance and healthcare live or die. What SHAP actually computes, the per-decision worked example reviewers expect, and the trap of reading it as causality.Open full answer →
16A customer wants to forecast weekly demand. What's different about time-series ML, and how do you avoid embarrassing yourself?▼mediumDatabricksGoogleSnowflake1 replies○ sign inTime-series is where standard ML habits, random splits, fancy models first, single-number forecasts, fail loudest in front of customers. The baseline discipline and backtesting setup that keep you credible.Open full answer →
19Design an A/B test for a customer's new recommendation model. How long do you run it, and on how many users?▼medium★ EssentialMetaGoogleDatabricks1 replies○ sign in"Run it two weeks and see" fails this question. Strong answers work the power calculation backwards from a minimum detectable effect, and know the duration rules that protect against lying-by-novelty.Open full answer →
20The customer checked the A/B dashboard daily and stopped the test the day it hit significance. What's wrong, and what do you tell them?▼mediumMetaGoogleSnowflake1 replies○ sign inDaily peeking can quietly triple your false-positive rate, and almost every customer does it. The math of why, the multiple-comparisons cousin, and how to deliver the bad news without losing the room.Open full answer →
22Six months after deployment, the CFO asks: 'What has this model actually earned us?' How do you answer?▼mediumDatabricksGoogleSnowflake1 replies◆ premiumAccuracy metrics don't survive contact with a CFO. The holdout pattern that turns a model into a permanent revenue receipt, and what to do when nobody set one up six months ago.Open full answer →
23Your model is live at a customer. What do you monitor, and how do you catch drift before the customer does?▼mediumDatabricksGoogleMicrosoft1 replies◆ premiumModels don't crash, they decay quietly while dashboards stay green. The four-layer monitoring stack, data vs concept drift with PSI numbers, and the label-lag problem that makes naive accuracy monitoring useless.Open full answer →
25The customer's platform team wants to buy a feature store. What problem does it solve, and when would you tell them not to?▼mediumDatabricksGoogleSnowflake1 replies◆ premiumHalf the value of this question is the second clause. Feature stores solve three specific problems, and FDEs earn trust by naming the team sizes and model counts below which they're expensive overkill.Open full answer →
27How often should the customer retrain their model, and what has to be true before you automate it?▼mediumDatabricksGoogleMicrosoft2 replies◆ premium"It depends" is correct and unhelpful. The decay-curve method that replaces guesswork with measurement, trigger-based vs scheduled retraining, and the safety rails without which auto-retraining is an outage generator.Open full answer →
28You're replacing a customer's live scoring model with a better one. Design the rollout so nothing blows up.▼mediumGoogleDatabricksMicrosoft3 replies◆ premiumOffline wins don't justify big-bang swaps, models fail in ways staging never shows. The shadow → canary → ramp playbook, what to compare at each stage, and the rollback discipline that keeps customer trust.Open full answer →
31Estimate the number of gas stations in the United States, then tell me how you'd verify it with data.▼mediumPalantir1 replies◆ premiumThe classic market-sizing question with Palantir's twist: the estimate is the warm-up, and the scored move is the verification plan. Two independent decompositions, a cross-check, and the datasets that settle it.Open full answer →
32What are the assumptions of linear regression, and how does a random forest actually work?▼mediumC3.ai1 replies◆ premiumC3.ai's reported classical-ML screen pair. Textbook recitation passes; what scores is one practical consequence per assumption, and knowing the random-forest failure mode that bites industrial deployments: no extrapolation.Open full answer →
40Walk me through SGD vs mini-batch vs Adam, learning-rate schedules, and what vanishing or exploding gradients look like in practice.▼mediumGoogleDatabricksScale1 replies◆ premiumMost candidates recite the Adam update equation and stop. The interviewer wants the decision: when plain SGD with momentum still wins, why Adam is the safe default for new architectures, and how you diagnose a training run that is silently dying from a gradient that shrank to zero.Open full answer →
41Explain backpropagation and why deep networks can be trained at all, without writing a wall of calculus.▼medium★ EssentialGoogleScaleMeta1 replies◆ premiumBackprop is just the chain rule run efficiently in reverse, but the question that separates levels is why a hundred-layer network trains when a naive one wouldn't. The credit-assignment intuition plus the three tricks that keep gradients alive.Open full answer →
42Why did attention and transformers replace RNNs for sequence modeling? Explain it conceptually.▼mediumGoogleScaleMeta1 replies◆ premiumThe answer is not just 'transformers are better.' It is two specific wins: every position can attend to every other in one step (long-range dependencies) and the whole sequence trains in parallel instead of one token at a time. Plus the cost that buys, and where RNNs still make sense.Open full answer →
43Explain CNN fundamentals (convolution, pooling, parameter sharing). When does classical computer vision still matter?▼mediumGoogleScaleMeta1 replies◆ premiumConvolution and parameter sharing are why a CNN needs a tiny fraction of the weights a dense net would, and why it generalizes across position. The conceptual answer, the feature-hierarchy picture, and the honest take on when a fine-tuned CNN still beats reaching for a giant vision-language model.Open full answer →
45Explain SVMs and the kernel trick: what is the margin, when do kernels actually help, and why did SVMs fade for large datasets?▼mediumGoogleDatabricksScale1 replies◆ premiumThe margin idea is elegant and worth understanding, and the kernel trick is a clever move. But the question that separates levels is why a model that dominated the 2000s is now a niche pick. The scaling math that killed it for big data, and where it still wins.Open full answer →
46Walk me through Bayes' theorem on a real diagnostic problem: why can a 99%-accurate test still be wrong most of the time it fires?▼mediumGoogleDatabricksScale2 replies◆ premiumThe base-rate trap is the classic, and it is not academic: it is exactly how a high-accuracy fraud or disease classifier drowns ops in false alarms. The worked numbers, the tree you draw on the whiteboard, and the two levers that actually fix it in production.Open full answer →
47MLE vs MAP: what exactly does the prior buy you, and when does it matter in an applied model?▼mediumGoogleDatabricksScale1 replies◆ premiumMAP is MLE plus a prior, and that prior is not academic decoration: it is the same thing as regularization, and it is what stops a model from making confident nonsense out of three data points. The connection that makes this an applied answer, not a stats-class recitation.Open full answer →
48How do you choose and interpret a distribution for a quantity? When is it Bernoulli vs Poisson vs Normal?▼mediumGoogleDatabricksScale1 replies◆ premiumPicking the wrong distribution silently breaks your model: counts are not Gaussian, and treating them that way predicts negative events and underestimates the variance of busy periods. The decision tree by data type, the variance gotcha, and what each choice implies for the model you reach for.Open full answer →
51Handed a messy new customer dataset: your first exploratory steps, and how do you handle missing values?▼mediumDatabricksScalePalantir1 replies◆ premiumProfile before you model: shape, types, target balance, leakage check. Then the part most candidates botch, that a missing value is often the most predictive feature in the table, so you flag it before you fill it. The first-hour playbook and the imputation decisions that survive production.Open full answer →
52Contrastive loss vs triplet loss for training embedding models: when would you reach for each?▼mediumCohereScaleGlean1 replies◆ premiumTriplet loss contrasts an anchor against one negative; modern contrastive losses like InfoNCE contrast against a whole batch at once, which is why CLIP-style training scales and old triplet pipelines stalled. The mining problem, the batch-size lever, and the call interviewers want.Open full answer →
53L1 vs L2 regularization: what does each do to the weights, why does L1 induce sparsity, and when would you prefer L1?▼mediumGoogleDatabricksScale1 replies◆ premiumL2 shrinks every weight smoothly toward zero; L1 drives many weights to exactly zero, which is automatic feature selection. The geometric reason L1 hits the corners is the part interviewers actually want, plus the call on when sparsity beats smooth shrinkage.Open full answer →
56Explain gradient descent intuitively, and how do you decide when to stop training?▼mediumGoogleDatabricksOpenAI1 replies◆ premiumGradient descent is walking downhill on the loss surface, one step proportional to the slope. Knowing when to stop is the part that separates people who have trained models from people who have read about them: it is the validation curve, not the training curve, that tells you.Open full answer →
61How do you evaluate an LLM's output quality?▼mediumOpenAIAnthropicScale AI2 replies◆ premiumThere's no single number. The trap is reaching for perplexity or BLEU because they're easy to compute, then optimizing a score that has nothing to do with whether the output is good. The move is to match the metric to the task and name where each one lies to you.Open full answer →
63Which metric do you use to evaluate a ranking system, and why?▼medium★ EssentialGoogleMetaAmazon2 replies◆ premiumAccuracy is meaningless for ranking, the whole point is the order. The real question behind the question is whether your relevance is graded or binary and whether one good result is enough, because that picks the metric. Then the trap: your offline NDCG can climb while online engagement falls.Open full answer →
66How do you tune hyperparameters efficiently?▼mediumGoogleAmazonDatabricks1 replies◆ premiumGrid search is the answer that signals you have never paid for compute. The efficient answer is random or Bayesian over a small set of parameters that actually move the metric, with Hyperband killing bad runs early, on a validation set you never let leak.Open full answer →
67You have 2,000 candidate features. How do you decide which ones to keep?▼mediumAmazonCapital OneGoogle1 replies◆ premiumMore features is not more signal, it is more variance, more leakage surface, and a thinner data manifold. The disciplined answer ranks filter, embedded, and wrapper methods by cost, leans on L1, and screens every survivor for leakage and stability.Open full answer →
70Two annotators labeled 500 support tickets and disagree on 30%. The customer wants to train on these labels next week. What do you do?▼mediumNewScalePalantirDatabricks2 replies◆ premiumThirty percent disagreement is not a fact about the annotators. It is a fact about the task definition, and on a skewed label set it can mean the labels are worse than chance. The week is spent on the guideline and the gold set, not on the model, because no model trains past the noise in its labels.Open full answer →
03Write SQL for the top 3 products by revenue in each region, per month.▼medium★ EssentialSnowflakeDatabricksPalantir2 repliesunlockedThe single most-reported live-SQL question in data-platform FDE screens. The pattern is standard, the points are in tie handling, the QUALIFY shortcut, and one aggregation trap most candidates miss.Open full answer →
06Find users who logged in on 3 or more consecutive days (gaps-and-islands).▼medium★ EssentialMetaPalantirDatabricks2 repliesunlockedThe hardest 'standard' SQL interview pattern, asked everywhere from Meta to Palantir. There's a three-line trick that turns consecutive runs into a GROUP BY key, once you've seen it, you can't unsee it.Open full answer →
07Sessionize a raw event stream in SQL: a gap of more than 30 minutes starts a new session.▼mediumDatabricksMetaSnowflake1 repliesunlockedSessionization is gaps-and-islands with a twist, and it shows up in both SQL screens and Spark rounds at Databricks. The LAG-plus-running-SUM pattern here solves a whole family of interview questions.Open full answer →
08Write SQL for a signup → activation → purchase funnel, broken down by weekly signup cohort.▼mediumMetaSnowflakeRetool1 repliesunlockedThe product-analytics staple that quietly tests event ordering, conditional aggregation, and cohort logic at once. Most candidates compute a funnel that double-counts, here's the version that survives interviewer scrutiny.Open full answer →
09Build a cohort retention matrix in SQL: % of each monthly signup cohort still active N months later.▼mediumMetaDatabricksSnowflake1 repliesunlockedThe triangle-shaped retention table every PM asks for, and a two-join SQL pattern interviewers love because it exposes grain mistakes instantly. Includes the right-censoring caveat that separates analysts from engineers.Open full answer →
12You're handed raw JSON events in a Snowflake VARIANT column. How do you query and model them?▼mediumSnowflakeDatabricksPalantir1 replies○ sign inSnowflake's signature semi-structured question. Dot-notation, LATERAL FLATTEN for nested arrays, the casting traps, and the schema-on-read vs flattened-model judgment call interviewers really want to hear.Open full answer →
16How do you size Snowflake warehouses, when do you scale up vs scale out, and how do you keep the bill sane?▼mediumSnowflakeMicrosoftRetool1 replies○ sign inThe question that simulates the actual FDE job: a customer's Snowflake bill just doubled. Scale-up vs scale-out is the easy half, the scoring is on workload isolation, auto-suspend, and proving which knob to turn.Open full answer →
17Spark: what's the difference between wide and narrow transformations, and why are shuffles expensive?▼mediumDatabricksPalantirMicrosoft1 replies○ sign inThe Databricks screen opener that decides whether the rest of the interview goes deep or stays remedial. Definitions are table stakes, the points are in explaining what a shuffle physically does and how to see one in the Spark UI.Open full answer →
19A customer's Delta table has 4 million small files and every query crawls. What happened, and how do you fix it?▼mediumDatabricksPalantirSnowflake1 replies○ sign inThe small-files problem is the #1 self-inflicted lakehouse wound FDEs find in the field. The causes are always the same three things, and the fix has a prevention half most candidates forget.Open full answer →
20Design a star schema for a ride-sharing company's analytics.▼mediumDatabricksSnowflakePalantir1 replies○ sign inThe dimensional-modeling staple. The trip fact table is the easy part, interviewers score grain declaration, the surrogate-key rationale, and how you handle the rider who changes cities. Here's the full shape.Open full answer →
22Lakehouse vs data warehouse, and what does ACID on a data lake actually buy you?▼medium★ EssentialDatabricksSnowflakeMicrosoft1 replies◆ premiumThe architecture question both Databricks and Snowflake ask, for opposite reasons. A vendor-neutral framework, what the Delta transaction log really does, and the honest convergence story that scores with both panels.Open full answer →
23A customer says they need 'real-time dashboards.' How do you respond, batch or streaming?▼mediumDatabricksSnowflakeRetool1 replies◆ premiumA requirements-interrogation question disguised as an architecture question. The first move isn't Kafka, it's a freshness-SLA conversation that usually deletes 90% of the cost. Here's the script strong FDEs run.Open full answer →
26You must ingest from a customer source that ships nulls, duplicates, and surprise schema changes. Design defensive ingestion.▼mediumPalantirDatabricksRetool1 replies◆ premiumPure FDE territory: the customer's data is always dirtier than scoped. The layered defense, contracts, quarantine, drift handling, and the alert-severity matrix that keeps you from crying wolf.Open full answer →
29Design the data model for AI-agent conversation logs, for product analytics AND eval mining.▼mediumDatabricksSnowflakeRetool1 replies◆ premiumThe question where data engineering meets the AI-native FDE job. Conversations, turns, LLM calls and tool calls each have their own grain, model them wrong and neither the cost dashboard nor the eval set can be built.Open full answer →
31From user activity logs, find the top 3 most active users for each day, handling ties appropriately.▼mediumDatabricks1 replies◆ premiumA reported Databricks Solutions Architect screen question where the phrase 'handling ties appropriately' is the actual test. The SQL is six lines; the points are in interrogating 'appropriately' and the PySpark follow-up.Open full answer →
32Write a query for the top 5 product pairs bought together by the same user in the same transaction.▼mediumDatabricks1 replies◆ premiumThe Databricks Data Engineer self-join classic. One inequality predicate does all the work, get it wrong and you double-count every pair and match products with themselves. Here's the clean version and the fan-out trap.Open full answer →
33Write PySpark to read a directory of JSON files, flatten the nested schema, and write a Delta table partitioned by date.▼mediumDatabricks1 replies◆ premiumThe reported Databricks Solutions Architect live-coding staple. Working code is table stakes, the differentiators are explicit schemas, corrupt-record handling, idempotent re-runs, and knowing when explode_outer beats explode.Open full answer →
45Find the users who were active in January but not in February.▼medium★ EssentialNewPalantirDatabricksScale2 replies◆ premiumFour lines of SQL, and one of the three obvious ways to write it returns an empty result set instead of an answer. Not wrong rows. Zero rows, silently, on production data that looks fine.Open full answer →
46Find the customers whose return rate exceeded 30% last quarter.▼mediumNewPalantirDatabricksScale2 replies◆ premiumEveryone writes the join and the ratio. Then the result comes back dominated by people who bought one thing and sent it back, and the list is useless to the person who asked for it.Open full answer →
06Estimate the capacity and cost of an app with 50k DAU making 10 LLM calls each. What do you provision for?▼medium★ EssentialOpenAIAnthropicMicrosoft2 repliesunlockedA Fermi estimate with a paycheck attached. The interviewers' favorite filter: candidates who jump to a dollar figure miss the two numbers that actually break deployments, peak QPS and tokens-per-minute limits.Open full answer →
07It's 9am Monday and p99 latency is 10x normal. Walk me through your first 30 minutes.▼mediumOpenAIVercelMicrosoft1 repliesunlockedA signature FDE triage question with a hidden rubric: interviewers score the *order* of your moves, not just the list. There's a reason 'what changed?' beats 'check the dashboards', and a reason mitigation beats diagnosis.Open full answer →
08A customer's app calling your API times out intermittently. You can't see their code. Debug it.▼medium★ EssentialOpenAIAnthropicRetool1 repliesunlockedThe signature FDE debugging genre: a moving fault, an opaque client, and a customer who's sure it's your fault. The winning method splits the problem at the boundary, and knows the four classic culprits hiding on their side.Open full answer →
09A Python service starts double-processing messages under load. Why does this happen, and how do you fix it?▼medium★ EssentialOpenAIRetoolDatabricks2 repliesunlockedThe bug only appears under load, the code 'hasn't changed,' and the customer just got charged twice. There's one root-cause pattern behind almost every version of this incident, and a fix with a subtle race most candidates miss.Open full answer →
10A customer's Next.js site has a 3-second TTFB. Diagnose it and walk me through fixes, and how you'd prove each one worked.▼mediumVercelRetool1 repliesunlockedVercel's signature triage question. 3s TTFB is almost never 'the server is slow', it's a rendering-strategy problem with four classic causes, and the rubric rewards proving each fix with a measurement, not vibes.Open full answer →
11Design observability for an LLM application. What do you log, trace, and alert on, and how is it different from normal services?▼mediumOpenAIAnthropicGlean1 replies○ sign inStandard observability tells you the request returned 200 in 800ms. It cannot tell you the answer was wrong. The strong answer names the new failure plane LLMs introduce, and takes a real position on the prompts-and-PII question.Open full answer →
12How do you version and roll out prompt changes like code, review, canary, rollback, audit?▼mediumAnthropicOpenAIGlean1 replies○ sign inPrompts are production code with a worse failure mode: the regression returns 200 OK. The answer interviewers reward treats a one-word prompt edit with the same machinery as a schema migration, with one LLM-specific twist at every stage.Open full answer →
13Design a job queue for long-running LLM tasks, priorities, cancellation, progress, and poison messages.▼mediumOpenAIAnthropicRetool1 replies○ sign inA 'simple' queue question with four traps wired in: minutes-long tasks break every default timeout, cancellation has to actually stop spend, progress needs a contract, and one bad job must never wedge the lane.Open full answer →
14Your product deploys into dozens of customer environments. Design secrets management across all of them.▼mediumPalantirRetoolMicrosoft1 replies○ sign inAPI keys for systems you don't own, in environments you can't always reach, audited by security teams who don't trust you. The strong answer has one organizing principle, and a concrete story for rotation and the air-gapped case.Open full answer →
15You get a vague prompt like 'design a system to detect fraud.' What do you do in the first ten minutes?▼medium★ EssentialPalantirOpenAIMicrosoft1 replies○ sign inThe Palantir decomposition round has no right answer, it has a right METHOD, and it's the most-failed interview in the FDE loop. Here is the four-move rubric interviewers actually score: clarify, model, spine, iterate.Open full answer →
21Design a webhook delivery system: retries, ordering, and debugging your customers can do themselves.▼mediumRetoolVercelOpenAI2 replies◆ premiumYou control the sender; thousands of customer endpoints you've never seen control your fate. The rubric hides in three places: what 'ordering' really costs, why retries need the receiver's cooperation, and the debugging surface most designs forget.Open full answer →
22Design rate limiting and quotas for an API with free, pro, and enterprise tiers.▼mediumOpenAIAnthropicVercel1 replies◆ premiumRate limits protect your servers; quotas protect your business model, and most candidates design one and think they've designed both. The strong answer also covers the part customers actually feel: what hitting the limit looks like.Open full answer →
23Your product embeds inside a customer's app. Design auth: SSO, SAML/OIDC, and row-level security.▼mediumGleanRetoolMicrosoft1 replies◆ premiumEnterprise deals die in this design review. The answer has three layers most candidates blur together: who you are, what you can see, and how an embedded product proves both, plus the permission-staleness trap that fails Glean loops.Open full answer →
25Run a schema migration on a customer's live production database, zero downtime. Walk me through it.▼mediumPalantirRetoolDatabricks1 replies◆ premiumThe pattern is expand-contract; the interview is everything around it: the backfill that locks the table, the rollback nobody rehearsed, and the fact that it's the customer's database, not yours. One named technique carries the whole answer.Open full answer →
33The OpenAI FDE take-home: build something real on the API in ~5 hours, record a walkthrough, how do you stand out?▼mediumOpenAI1 replies◆ premiumReported loop detail: roughly 5 hours to build a RAG system, agent, or eval harness on OpenAI's APIs, a recorded video walkthrough, then a 60-minute defense. The hour-by-hour allocation, why the eval section is the differentiator, and what the video is actually screening for.Open full answer →
34The ElevenLabs case study: a customer wants to automate a process with voice AI, run discovery, then diagram it live▼mediumElevenLabs1 replies◆ premiumThe round is conversational discovery plus live Excalidraw diagramming, and it's graded on sequence: candidates who draw before asking fail. The discovery battery, the voice-pipeline boxes worth drawing, and the latency budget that anchors the whole design.Open full answer →
45Design the integration API a customer's engineers can adopt without it breaking on them: REST vs GraphQL, versioning, pagination.▼medium★ EssentialStripeRetoolVercel1 replies◆ premiumThe customer's team has to live with this API for years, on a schedule you don't control. The interview is about how you ship changes without a 2 a.m. page on their side.Open full answer →
46How do you design a customer deployment so their team can run it without you, and you make yourself obsolete?▼mediumPalantirAnthropicOpenAI1 replies◆ premiumThe best FDE deployment is the one that doesn't need the FDE anymore. This question screens for whether you build for handoff from day one or quietly make yourself indispensable, which is the failure mode that looks like success.Open full answer →
69A customer runs 50 notebooks by hand every morning and wants it automated. IT will not approve any new cloud service.▼mediumNewPalantirDatabricks2 replies◆ premiumThe obvious engineering answer is to rewrite the notebooks properly and schedule them. Do that and you will have built something correct that the people who own the work can no longer maintain.Open full answer →
01Tell me about the most ambiguous project you've owned end-to-end. What did you do in week one?▼medium★ EssentialPalantirOpenAIScale AI2 repliesunlockedThe single most common FDE behavioral question, and the 'week one' follow-up is where most candidates collapse. Here's the structure that signals you can be dropped into chaos and produce order.Open full answer →
04Tell me about a time you shipped in days something that 'should' have taken months. Which corners did you cut, and how did you choose?▼mediumOpenAIScale AIxAI1 repliesunlockedAI-native companies ask this to separate engineers who move fast with judgment from those who just move fast. The scored part isn't the speed, it's the corner-selection logic. Here's the framework.Open full answer →
06Describe your worst production incident at a customer. What did you tell them, and when?▼mediumPalantirOpenAIMicrosoft2 repliesunlockedThe incident is the setup; the disclosure timeline is the test. Interviewers are timing the gap between 'you knew' and 'they knew', here's the answer that builds trust instead of torching it.Open full answer →
08Tell me about a project that failed. Whose fault was it?▼medium★ EssentialPalantirOpenAIGoogle1 repliesunlocked'The customer was dumb' is an instant fail, but so is theatrical self-flagellation. There's a narrow honest lane between the two, and this is what driving down it sounds like.Open full answer →
09Estimate: how many LLM tokens per day would a Fortune-500 customer-support org consume?▼mediumGooglePalantirMicrosoft1 repliesunlockedNobody cares about your final number, they're grading the decomposition, the sanity checks, and whether you convert tokens into dollars unprompted. Here's a clean worked path.Open full answer →
10Tell me about turning a skeptical stakeholder into a champion.▼medium★ EssentialDatabricksMicrosoftPalantir1 repliesunlockedEvery deployment has a skeptic, and 'I showed them data and they came around' is the answer everyone gives. The scored version starts with why they were right to be skeptical.Open full answer →
11Role-play: I'm a VP at a regional bank and I want 'a chatbot.' Run the discovery call.▼medium★ EssentialSierraOpenAIAnthropic2 replies○ sign inThe modal opener for FDE customer rounds, and most engineers fail it in the first 90 seconds by pitching architecture. Here's the question sequence that scores, and the trap hidden in the word 'chatbot.'Open full answer →
13Role-play: a CTO tells you 'we tried GPT last year, it hallucinated all over our data, AI doesn't work.' Respond.▼mediumOpenAIAnthropicScale AI3 replies○ sign inThe most common objection in enterprise AI, and arguing back is the fastest way to fail it. The winning sequence is validate, diagnose, reframe, de-risk. Here's the script.Open full answer →
15Your customer says the pilot 'should just be good.' Define success metrics with them, live.▼medium★ EssentialOpenAIScale AIDatabricks1 replies○ sign inUndefined success is how pilots die in 'one more month' purgatory. Here's the facilitation script that converts 'it should just be good' into numbers, baselines, and a decision date the customer owns.Open full answer →
16A customer arrives with 30 AI use cases. Design the workshop that picks the first one.▼mediumPalantirMicrosoftScale AI1 replies○ sign inThe first use case decides the whole account, pick a flashy-but-doomed one and there's no second. Here's the value × feasibility × data-readiness workshop that strong FDEs run, hour by hour.Open full answer →
18Your demo breaks in front of the customer, mid-demo. What do you do in the room?▼medium★ EssentialSnowflakeVercelGoogle1 replies○ sign inInterviewers sometimes sabotage demos on purpose to ask exactly this. The recovery has a 60-second protocol, and done well, a broken demo can close harder than a perfect one.Open full answer →
19The customer insists on fine-tuning when RAG clearly fits. They won't budge. Trusted advisor or vendor, what do you do?▼mediumOpenAICohereDatabricks1 replies○ sign inThe defining trusted-advisor dilemma, and both pure compliance and pure stubbornness fail it. The strong move is a sequence: diagnose, recommend in writing, then a test that lets the evidence decide.Open full answer →
20You're alone on-site. The customer asks for something out of scope, and your team is asleep in another timezone. Decide now.▼mediumPalantirScale AIOpenAI1 replies○ sign inThe pure autonomy test: no one to ask, a customer waiting, and a scope line in front of you. Strong candidates reveal a decision rule, not a guess. Here's the rule.Open full answer →
29Why Palantir? And what are your views on our government work?▼mediumPalantirScale AI2 replies◆ premiumA genuine filter, not small talk, Palantir interviewers have heard every dodge. The answer that works engages the controversy directly, with a position you can defend under two rounds of pushback.Open full answer →
30Pick a project you built. We'll spend 30 minutes drilling every decision you made.▼mediumxAIScale AIAnthropic1 replies◆ premiumThe xAI signature round, 30 minutes of 'why?' aimed at one project, designed to expose orchestrators posing as builders. Here's how to choose the project and survive the drill.Open full answer →
32What specific generative AI projects have you done?▼mediumSalesforceScale AICohere1 replies◆ premiumThe portfolio probe that opens Salesforce's Agentforce FDE loop and most 2026 screens. Interviewers are smelling for weekend wrappers, the scoring is on evals, users, and production scars, not project count.Open full answer →
33What's your experience with gen AI versus agentic AI?▼mediumSalesforceSierraDecagon1 replies◆ premiumA definition question wearing an experience question's clothes. Most candidates answer the resume half and flunk the hidden half: proving they know the operational difference between generation and agency. Here's the two-part frame.Open full answer →
34What LLM is your current team building with, and why that one?▼mediumOpenAIAnthropicCohere2 replies◆ premiumA double-layered probe: your model-selection reasoning, and, quietly, how you handle your employer's confidential information in front of a stranger. Overshare and you fail a test you didn't know was running.Open full answer →
36Every round opens with 5–10 minutes of behavioral: 'tell me about a project you owned end to end.' Go.▼mediumElevenLabs1 replies◆ premiumElevenLabs has no behavioral round, it has five. A short behavioral opener starts every technical interview, which quietly turns consistency into the test. Here's how to prep for the distributed format.Open full answer →
47Tell me about a time you persuaded a resistant team to adopt an engineering practice you believed in.▼mediumPalantirOpenAIDatabricks1 replies◆ premiumA research team that owns its own way of working does not adopt your process because you're right. The candidates who win this question don't argue, they run a small proof that makes the practice obviously cheaper than the status quo, then let the team claim it.Open full answer →
51Tell me about a time you optimized the wrong metric and had to course-correct.▼mediumMetaAmazonStripe1 replies◆ premiumEvery ML person has chased a proxy that diverged from the thing that mattered. The screen is whether you noticed it yourself, why the proxy fooled you, and how you realigned without just swapping one number for another.Open full answer →
53Tell me about a time you disagreed with your manager.▼mediumAmazonGoogleMeta2 replies◆ premiumThe trap is picking a disagreement you won, with a manager who looks foolish in hindsight. The screen is whether you can disagree with data, commit cleanly once decided, and know the one kind of issue worth escalating past a 'no'.Open full answer →
54Tell me about a time you disagreed with someone and later realized they were right.▼mediumAnthropicMetaGoogle1 replies◆ premiumThe trap is picking a disagreement so trivial that being wrong cost nothing. They want a real call you fought for, the specific evidence that flipped you, and the operating change you carry now so the same blind spot doesn't bite twice.Open full answer →
55Tell me about a decision you made and later reversed.▼mediumAmazonMeta2 replies◆ premiumReversing a decision you championed is a trust test, not a smarts test. The skill is killing your own bet on data before it kills the project, and announcing the reversal in a way that makes the team trust your judgment more, not less.Open full answer →
57Tell me about a time you mentored or grew other engineers.▼mediumGoogleMetaHP2 replies◆ premiumThe tell of real mentorship is that you made yourself unnecessary. They want a named person, the specific gap you closed, the moment you handed them something scary, and the measurable way they grew, not 'I'm always happy to help juniors.'Open full answer →
58Tell me about a time you drove a project forward without the team's support or a clear mandate.▼mediumMetaNvidiaAmazon1 replies◆ premiumNobody assigned it, nobody asked for it, and the people you needed had their own roadmaps. The winning answer isn't 'I pushed through the resistance,' it's a small undeniable proof that turned skeptics into a coalition before you ever asked for headcount.Open full answer →
59Tell me about a short-term sacrifice you made for a long-term gain.▼mediumAmazonStripe2 replies◆ premiumEvery engineer can name a time they 'invested in quality.' The graded version names what you gave up, who you had to talk out of the quick win, and the specific payoff that arrived later, with a number.Open full answer →
60Tell me about hard negative feedback you received and how you handled it.▼mediumAmazonGoogle1 replies◆ premiumThe safe-but-failing move is feedback that's secretly a humblebrag ('I cared too much'). The graded version is feedback that stung because it was true, a non-defensive intake, and a specific behavior you changed that someone later noticed.Open full answer →
61Tell me about a technical disagreement with a partner team and how you resolved it.▼mediumOpenAIGoogleMeta2 replies◆ premiumThe losing answer is a personality clash you won by being right. The graded one treats it as an organizational conflict, finds the shared metric both teams actually optimize for, and keeps escalation as a last resort you used cleanly, not a weapon.Open full answer →
62Tell me about your greatest professional success.▼mediumAmazonGoogleAdobe2 replies◆ premium'Proud of' is not a metric. The answer that lands names the business number that moved, your specific hands on it, and how you'd defend the attribution to a skeptic who assumes you're rounding up.Open full answer →
63Walk me through your depth in your ML specialty, and the hard problems in it.▼mediumGoogleMetaScale AI1 replies◆ premiumSurface knowledge recites the SOTA model name. Depth names the failure mode that bites you in production and the open problem nobody has cleanly solved. This is how to sound like you've actually shipped in your area.Open full answer →
66You're leaving a customer site after a multi-month build. How do you hand off the AI system so they don't call you every week?▼mediumPalantirOpenAIAnthropic2 replies◆ premiumThe screen is whether you build for your own replaceability or your own indispensability. Strong answers treat the handoff as a deliverable with a graduation criterion, not a final week of doc-dumping. Here is what to leave behind, how to transfer it, and the trap that sounds generous.Open full answer →
70A customer emails: 'the AI platform is giving incorrect answers.' No logs, no screenshots, no examples. Go.▼mediumNewPalantirOpenAIAnthropic2 replies◆ premiumThe most common real ticket in applied AI, and it contains almost no information. What you do in the first hour decides whether you spend a day on this or three weeks.Open full answer →
74Tell me about a pattern you spotted across customers that changed how your team worked.▼mediumNewPalantirDatabricksOpenAI2 replies◆ premiumThe question that separates a forward deployed engineer from a very good consultant. One delivers each engagement. The other notices that the third engagement looked like the first two and does something about it.Open full answer →
75In the learning round you get a topic you have never seen, some time with the material, and then you teach it back. How do you use the time?▼mediumNewPalantir1 replies◆ premiumCandidate reports describe a Palantir round where you are handed unfamiliar material, given time with it, and asked to explain it. It is the job in miniature: an FDE learns a customer's domain in a week and has to be useful by Thursday. The scoring is on what you chose to teach, and on what you admitted you did not learn.Open full answer →
08How did you ensure quality and testing on top of your MLOps pipeline?▼mediumAmazonGoogleDatabricks1 repliesunlocked'We checked accuracy' is the answer that ends interviews. The five-layer test pyramid for ML pipelines, data contracts, transform unit tests, behavioral checks, serving tests, shadow validation, with the gates that actually block promotion.Open full answer →
09How do you ensure reproducibility in ML workflows?▼mediumAmazonJPMorganDatabricks1 repliesunlockedThe honest answer includes an admission most candidates are afraid to make: bit-exact GPU reproducibility is mostly a myth. The five things you version, the audit question banks actually ask, and why 'statistically reproducible' is the senior answer.Open full answer →
10Walk me through promoting a model from staging to production with the MLflow Model Registry.▼mediumDatabricksJPMorganCapital One1 repliesunlockedDatabricks-stack interviewers use this to date your knowledge: describing Staging→Production stage transitions marks you as two years behind. The alias-based promotion flow (@champion/@challenger), gate by gate, with the access-control detail most answers miss.Open full answer →
11How would you implement an MLOps pipeline on AWS using SageMaker, CodePipeline, and Lambda?▼mediumAmazonCapital OneJPMorgan1 replies○ sign inThe AWS ML Engineer staple. The answer that scores is a clean division of labor, CodePipeline owns code, SageMaker Pipelines owns the ML DAG, the Model Registry is the handoff point, plus the cross-account detail that separates real builds from doc reading.Open full answer →
12Explain MLOps on Azure, how do Azure DevOps and Azure ML Pipelines fit together?▼mediumMicrosoftJPMorgan1 replies○ sign inMicrosoft's scenario rounds reward one specific framing: two pipeline systems, two jobs, one handoff point. Which tool owns triggers and approvals, which owns compute and lineage, and the managed-endpoint detail that makes blue-green trivial.Open full answer →
13Your pipeline retrains automatically. How do you decide whether the new model replaces the old one?▼mediumAmazonUberCapital One2 replies○ sign inAuto-retrain is easy; auto-promote is where teams ship incidents. The champion/challenger gate design, two eval sets, segment floors, guardrail metrics, and the defensible line on when a human stays in the loop.Open full answer →
14Design an automated retraining pipeline. What should trigger retraining?▼medium★ EssentialUberCapital OneAmazon1 replies○ sign in'Retrain weekly' is the answer interviewers let you finish before dismantling it. The four trigger types, how to stop a drift alarm from causing a retraining storm, and why the trigger question is really a cost-and-staleness trade.Open full answer →
15What is point-in-time correctness, and how do you avoid leakage in continuous retraining?▼mediumCapital OneJPMorganUber1 replies○ sign inThe bug that makes offline metrics a lie: training on information that didn't exist at prediction time. A concrete fraud example with timestamps, the as-of join that fixes it, and the label-maturity trap automated retraining adds on top.Open full answer →
16What is training-serving skew, and how do you keep online and offline features consistent?▼mediumGoogleUberMicrosoft2 replies○ sign inThe bug class with no stack trace: the model is fine, the pipelines are green, and production quietly underperforms offline by five points. Why skew survives even feature-store adoption, and the log-and-wait pattern Google-style answers center on.Open full answer →
18Which statistical tests would you use to detect drift, and what thresholds should trigger action?▼medium★ EssentialMicrosoftJPMorganAmazon1 replies○ sign inEveryone names PSI and KS; almost nobody knows why the KS p-value betrays you at production scale. The thresholds that are actually industry convention, the response ladder behind them, and the trap answer interviewers bait on purpose.Open full answer →
20Would you choose blue-green or canary deployment for a new model version, and why?▼medium★ EssentialCapital OneAmazonNetflix1 replies○ sign inReported from Capital One ML loops, and the symmetric 'both have pros and cons' answer fails it. Why model failures being statistical makes canary the default, the two cases where blue-green wins, and the entity-randomization detail that survives follow-ups.Open full answer →
21How do you roll back a bad model in production?▼mediumJPMorganAmazonCapital One1 replies◆ premiumReported from JPMorgan's MLE loop, and graded on one distinction most candidates miss: rollback is a capability you build before the incident, not an action you improvise during it. The pointer-flip mechanics, the auto-trigger debate, and when rollback itself is unsafe.Open full answer →
22Do you have experience deploying ML models on Kubernetes for inference? Walk me through the process and your role.▼mediumMicrosoftNVIDIAUber1 replies◆ premiumAn experience probe with a depth gauge: 'we used Kubernetes' fails, and so does reciting the KServe README. The stack-process-role-warstory structure, the resource and probe details that prove hands-on work, and where KServe earns its complexity.Open full answer →
23What metrics do you autoscale inference pods on, and how do you handle cold starts?▼medium★ EssentialGoogleNVIDIAAmazon1 replies◆ premiumCPU-based HPA on GPU inference never fires, the trap half of all candidates fall into within a minute. The signals that actually track load, the anatomy of a five-minute cold start, and which mitigations are worth their cost at each layer.Open full answer →
28How have you implemented CI/CD pipelines for ML models? Tools, process, and the hardest problems.▼medium★ EssentialAmazonMicrosoftJPMorgan1 replies◆ premiumThe experience probe where tool soup fails and one well-told pipeline wins. The context-stack-hardest-problem-outcome structure, the two challenges every real implementation hits, and the before/after numbers that make the story land.Open full answer →
37Containerize a GPU ML pipeline with Docker. How do you match CUDA to drivers and keep it reproducible?▼mediumNVIDIAAWSDatabricks2 replies◆ premiumThe 'works on my GPU box, CUDA error 803 in prod' bug, solved at the source. What the host driver actually pins, why the toolkit version is fungible, and the multi-stage build that ships a lean reproducible image.Open full answer →
38Build a data loader that streams training data from S3/GCS with on-the-fly transforms. What are the components and failure modes?▼mediumAWSGoogleDatabricks1 replies◆ premiumThe dataset is too big to fit on disk, so you stream it. The components that keep the GPU fed, the throughput math that says whether you'll be I/O-bound, and the failure handling that makes a multi-day run resumable.Open full answer →
04Explain memory coalescing and shared-memory bank conflicts. How would you fix a kernel that has both?▼mediumNVIDIAMetaxAI2 repliesunlockedThe two access-pattern killers behind most 'my kernel is 10x slower than cuBLAS' mysteries. The matrix transpose walks straight into both, which is why NVIDIA loves asking about it.Open full answer →
05What is occupancy, and how do you balance it against register and shared-memory usage when choosing block size?▼mediumNVIDIAGoogleCoreWeave1 repliesunlockedEveryone says 'maximize occupancy.' The candidates who get hired at NVIDIA know when 25% occupancy beats 75%, and can explain the resource math that decides it.Open full answer →
06How do you determine whether a kernel is memory-bound or compute-bound?▼mediumNVIDIAGoogleTogether AI3 repliesunlockedThe roofline model in one ratio: FLOPs per byte against the hardware's ridge point. Get the H100 arithmetic right and you can classify any kernel, including why LLM decode will never be compute-bound at batch 1.Open full answer →
08Compare data, tensor, and pipeline parallelism, when do you use each, and how do they combine into 3D parallelism?▼medium★ EssentialOpenAIAnthropicMeta1 repliesunlockedThe backbone question of every frontier-lab infra loop. The answer that scores is organized around what each strategy communicates and how often, not just what it splits.Open full answer →
09Explain how ring all-reduce works and derive its communication cost.▼mediumNVIDIAOpenAIMeta1 repliesunlockedThe one derivation every GPU-infra loop expects on a whiteboard: scatter-reduce plus all-gather, 2(N−1)K/N per GPU, and why that's provably near-optimal. Plus the latency catch that motivates tree algorithms.Open full answer →
10What do ZeRO and FSDP actually shard, and how much memory does each stage save? Where does gradient checkpointing fit?▼mediumMetaOpenAIAnthropic2 repliesunlockedThe 16-bytes-per-parameter breakdown that makes ZeRO's three stages obvious instead of memorized, and the communication bill each stage runs up in exchange.Open full answer →
13What does NCCL actually do, and why can GPU utilization read 100% while the job is communication-bound?▼mediumNVIDIACoreWeavexAI1 replies○ sign inNCCL's topology tricks, GPUDirect RDMA, and the single most misleading metric in distributed training. If you've ever trusted nvidia-smi on a slow run, this question was written for you.Open full answer →
14InfiniBand vs RoCE for a GPU training cluster, how do you choose?▼mediumxAIMetaCoreWeave1 replies○ sign inBoth carry RDMA at 400Gb/s; the decision is about loss behavior, tuning burden, and who operates it. A defensible recommendation with the conditions that flip it, the format this question is scored on.Open full answer →
19What is the KV cache, why does it dominate serving memory, and how do you size it? Do the math for a 70B model.▼medium★ EssentialOpenAIAnthropicNVIDIA1 replies○ sign inOne formula, 2 × layers × KV heads × head_dim × bytes, unlocks every LLM serving capacity question. Worked through for Llama-70B, plus the mitigation stack from GQA to paging.Open full answer →
20How does vLLM's PagedAttention work, and what problem does it actually solve?▼mediumTogether AINVIDIAAnthropic1 replies○ sign inThe OS virtual-memory trick that made vLLM the default serving stack. The answer interviewers want quantifies the fragmentation it killed, and knows what it cost in exchange.Open full answer →
22Prefill vs decode, why are the two phases bottlenecked differently, and why disaggregate them?▼mediumNVIDIAOpenAITogether AI1 replies◆ premiumOne forward pass, two opposite performance regimes. The arithmetic-intensity argument that explains TTFT vs TPOT, GPU pool design, and why the big serving stacks split the phases onto different hardware.Open full answer →
23What is speculative decoding, and when does it actually help?▼mediumOpenAITogether AIApple1 replies◆ premiumFree tokens from idle FLOPs, losslessly, which surprises most candidates. The mechanism, the acceptance-rate math, and the high-batch regime where speculation quietly stops paying.Open full answer →
26How would you migrate a PyTorch workload to TPU?▼mediumGoogleAnthropicApple1 replies◆ premiumtorch_xla makes the demo run in an afternoon; making it fast is where migrations die. The lazy-tensor mental model, the recompilation traps, and the honest fork between porting and rewriting in JAX.Open full answer →
29Implement a GPU credit calculator.▼mediumOpenAICoreWeave1 replies◆ premiumA reported OpenAI phone-screen exercise that looks trivial and is graded on edge cases: money-safe arithmetic, billing increments, unknown SKUs, and the clarifying questions you ask before typing.Open full answer →
37vLLM vs TensorRT-LLM vs TGI: how do they differ and when do you pick each?▼medium★ EssentialNVIDIAHugging FaceTogether AI1 replies◆ premiumThree serving runtimes that look interchangeable on a benchmark slide and aren't. The axes that actually separate them (scheduler, kernels, operability) and the one-line rule for which to reach for.Open full answer →
38A 70B model won't fit on one 80GB GPU. Give three ways to serve it and the trade-offs.▼medium★ EssentialNVIDIATogether AIHugging Face1 replies◆ premiumDo the weight math first, then choose your poison: shrink the weights, split them across GPUs, or spill to host memory. Each buys you the fit at a different cost, and one of them is almost always wrong for production.Open full answer →
04Walk me through the OWASP LLM Top 10, which two risks would you prioritize for an enterprise agent deployment?▼medium★ EssentialMicrosoftPalantirScale2 repliesunlockedReciting all ten gets you a pass on memory and a fail on judgment. The question is really a prioritization exercise, here's the two-risk answer that maps to how agents actually get breached, and the trap hiding in 'walk me through.'Open full answer →
06What is data/model poisoning, and how would you detect a backdoor introduced through fine-tuning or embedding data?▼mediumMicrosoftScaleOpenAI2 repliesunlockedPoisoning questions sort candidates who've read about backdoors from those who can name where poison enters a real pipeline, and why the embedding store is the soft target nobody audits.Open full answer →
07Explain MITRE ATLAS. How would you map an observed attack on an AI system to its tactics and techniques?▼mediumMicrosoftPalantirScale1 repliesunlockedATLAS questions filter candidates who can name the framework from those who can run an incident through it. The mapping exercise, one concrete attack, kill-chain stage by stage, is what the interviewer actually wants to hear.Open full answer →
08Your LLM agent is vulnerable to prompt injection that reveals the system prompt. How do you defend it?▼medium★ EssentialOpenAIAnthropicSalesforce1 repliesunlockedA verbatim AI-security interview question with a built-in trap: candidates who promise to stop extraction fail, and candidates who shrug 'it's unpreventable' also fail. The winning answer is a layered containment design.Open full answer →
09How would you defend a RAG system against poisoned retrieved context and vector/embedding attacks?▼mediumGleanMicrosoftAnthropic1 repliesunlockedEveryone hardens the chat box; almost nobody hardens the index. This question checks whether you've realized the RAG corpus is a write path into your model's behavior, and what you'd do about it this sprint.Open full answer →
10How do tool poisoning and prompt injection apply to MCP servers and agentic AI, and how do you defend them?▼mediumAnthropicOpenAISalesforce2 repliesunlockedMCP turned 'install a plugin' into 'inject text into every conversation.' Interviewers ask this to see if you understand why tool descriptions are an attack surface, and what a least-privilege agent runtime looks like.Open full answer →
11Walk me through how you would red-team a customer-facing GenAI chatbot.▼mediumMicrosoftScaleOpenAI1 replies○ sign inA reported AI-security interview staple with a known grading rubric: recon, bypass, leakage, tool abuse, multi-turn drift. Candidates who free-associate attack ideas fail; candidates who run a structured campaign pass.Open full answer →
15Should PII redaction live at the AI gateway or in the application layer? Argue the trade-offs.▼mediumMicrosoftSalesforceGlean1 replies○ sign inAn architecture question with a defensible right answer, and interviewers are tired of 'it depends.' Here's the split that survives both the platform team's consistency argument and the app team's context argument.Open full answer →
17Prompts and outputs contain personal data. What does GDPR mean for each call to an external LLM endpoint?▼mediumOpenAIAnthropicMicrosoft1 replies○ sign inEvery EU enterprise deal hits this question, and the FDE in the room is expected to carry it without legal on the call. The processor/controller split, the transfer mechanics, and the one GDPR right that's hard for LLMs.Open full answer →
19The customer says 'our data can't leave our environment.' Walk me through the deployment options and what each really buys.▼mediumAnthropicPalantirMicrosoft2 replies○ sign in'Can't leave our environment' means four different things to four different stakeholders. The FDE skill is decomposing the demand into the actual requirement, and knowing which deployment tier each requirement really needs.Open full answer →
20A hospital wants an LLM feature over patient records. What does HIPAA actually require of your design?▼mediumMicrosoftPalantirSalesforce1 replies○ sign inHIPAA-with-LLMs questions test whether you know the three things that gate the deal: the BAA, the minimum-necessary standard, and audit controls. Engineers who can name 45 CFR obligations in design terms win these rooms.Open full answer →
22Explain the EU AI Act's risk tiers and what they mean for a customer deploying your AI system in Europe.▼mediumMicrosoftSalesforcePalantir1 replies◆ premiumThe AI Act question is a classification exercise in disguise: interviewers give you a use case and watch whether you can tier it, name the obligations, and know whose job each one is, provider or deployer.Open full answer →
23How do ISO 42001, SOC 2, GDPR, and the EU AI Act overlap for an LLM product, and what evidence satisfies each?▼medium★ EssentialMicrosoftAnthropicSalesforce1 replies◆ premiumFour frameworks, one product, mostly one set of evidence, the answer interviewers want is the deduplication map. Plus the one thing ISO 42001 covers that nothing else does, and why the labs raced to get it.Open full answer →
24Design data governance for a regulated customer: RBAC, dynamic masking, and row access policies, from day one, not bolted on.▼mediumSnowflakePalantirSalesforce1 replies◆ premiumA Snowflake solutions-loop classic that generalizes to every AI deployment: why masking retrofits fail, what a role hierarchy actually looks like, and the policy-attachment model that makes governance survive schema growth.Open full answer →