ai-engineering-interview-questions-company-wise

pallavi-shekharApache-2.0活跃维护

按公司分类整理的 AI 工程面试题库,覆盖 LLM 推理等方向的问题与答案,适合面试前按目标公司集中刷题准备。

Your Cheat Sheet For AI Engineering Interviews at Top AI Companies - Questions and Answers.

暂无版本2,047star +17 / 7 天208fork同步于 2026-11-11 05:43 UTC

怎么上手

由 README 提炼,执行前请确认
README 未说明
硬件要求按 README 说明

README 未说明

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

按公司整理的 AI 工程面试真题库,覆盖 35 家顶级 AI 公司,帮你按目标公司定向复习

按公司分类整理的 AI 工程面试题库,覆盖 LLM 推理等方向的问题与答案,适合面试前按目标公司集中刷题准备。

核心能力

  • 按公司分节收录 35 家公司的真实面试题
  • 先汇总跨公司通用高频题,避免重复
  • 按 LLM 内部结构、推理服务、RAG、Agent 等主题分组
  • 部分题目下方直接链接到对应答案文章
  • 覆盖 AI Engineer、LLM Engineer、MLOps 等岗位

容易踩的坑

README 未说明

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    AI Engineering Interview Questions Company Wise

    AI Engineering Interview Questions Company Wise - Your Cheat Sheet For AI Engineering Interviews at Top AI Companies

    Real interview questions asked in AI Engineering interviews at 35 companies, organized company by company, with answers linked wherever we have them.

    These interview questions and answers are helpful for roles such as:

    • AI Engineer
    • Gen AI Engineer
    • LLM Engineer
    • Agentic AI Engineer
    • AI Agent Engineer
    • Machine Learning Engineer
    • Research Engineer
    • Applied Scientist
    • Forward Deployed Engineer
    • AI Solutions Architect
    • AI Platform Engineer
    • Applied AI Engineer
    • LLM Inference and Performance Engineer
    • MLOps Engineer
    • LLMOps Engineer

    Table of Contents

    Prepared and maintained by Outcome School

    AI and Machine Learning Program by Outcome School: AI and Machine Learning Program

    Follow Outcome School


    Note: We will keep updating this with new questions and answers.

    For topic-wise questions and answers, see AI Engineering Interview Questions and Answers.


    How to use this

    • Questions are compiled from publicly reported interview experiences. Nothing here is confidential. Interview loops change constantly and vary by team, level, and region, so treat each company section as a map of what that company cares about, not a script of what you will be asked.
    • Start with Common Questions Asked Across Companies. These are the questions that recur across many companies. Each one is listed once, with the companies that ask it, so nothing is repeated in the company sections.
    • Then go to your target companies. Each company section has the roles it covers, the interview loop as publicly reported, and the company-specific questions grouped by topic.
    • Wherever we have an answer, it is linked right below the question. We will keep adding answers.

    Common Questions Asked Across Companies

    These questions come up in AI Engineering interviews at many companies. Each question is listed once here, with the companies where it (or a company-specific version of it) is asked. Work through these first.

    LLM Internals and Architecture

    Inference, Serving and GPU Performance

    RAG and Retrieval

    Agents and Tool Use

    Fine-Tuning, Post-Training and Alignment

    Evaluation and Observability

    • Design an LLM-as-judge evaluation. What are its known biases and how do you correct for them?
    • How do you build an eval set when there is no labelled ground truth and experts are expensive?
    • How do you detect and measure hallucinations in a production RAG system?
    • Design the regression gate that decides whether a prompt or model change ships.
    • Why do benchmark scores improve while users say the system got worse? Enumerate the reasons.
    • What is benchmark contamination and how do you guard against it?
    • What observability does a production LLM system need: traces, spans, costs, feedback?
    • How do you manage prompt versioning and rollbacks in production?
    • Design online evaluation: what do you log, what do you sample, and what do you A/B?
    • How would you evaluate an agent, as opposed to a single model response?

    Safety, Security and Responsible AI

    • What is prompt injection (direct and indirect), and what is your layered defence?
    • Walk me through the OWASP Top 10 for LLM applications and which ones actually bite in practice.
    • What is the difference between jailbreaking and adversarial prompting?
    • Design guardrails for a consumer-facing assistant. Input filters, output filters, or both?
    • What is Constitutional AI and how does it differ from RLHF? What is RLAIF?
    • How do you prevent an agent with tool access from exfiltrating data via a malicious web page?
    • How do you handle PII in prompts, logs and training data?
    • What is mechanistic interpretability and why do labs invest in it?
    • How would you audit a deployed model for differential performance across user groups?
    • Design a red-teaming programme for a model you are about to release.

    Multimodal, Speech and Voice AI

    AI System Design

    Coding and Data Structures

    Frontier AI Labs

    Anthropic

    Roles this covers: Member of Technical Staff (MTS), Software Engineer (product / infra / API-serving), Research Engineer, Research Scientist, Applied AI Engineer, Forward Deployed Engineer (Applied AI), Performance Engineer (inference & kernels), Product Engineer (Claude Code / Claude.ai).

    Interview loop, as publicly reported: Recruiter screen (~30 min, substantive and failable) → CodeSignal-style or live coding assessment (~70–90 min, one practical problem in ~4 progressive levels) → virtual onsite of roughly five rounds: project deep-dive, one or two coding rounds, system design, and a dedicated values/culture round. Reported end-to-end: 3 weeks to ~2 months. Some MLE loops now include an AI-collaboration round where Claude is provided and you are graded on how you direct and verify it.

    Also prepare: the common questions tagged Anthropic under LLM Internals and Architecture, Inference, Serving and GPU Performance, Agents and Tool Use, Evaluation and Observability, Safety, Security and Responsible AI, AI System Design, Coding and Data Structures.

    Coding and Data Structures
    • Build core business logic for a toy banking application: a spec that grows in four progressive levels against a black-box evaluator.
    • Build an in-memory database: SET/GET/DELETE first, then filtered scans, then TTL with timestamps, then file compaction.
    • Create a task scheduler.
    • Build an OOP system for managing courses, grades and students.
    • Given a helper method that crawls a URL, write a crawler over a domain: first synchronous, then make it async.
    • Convert nested stack traces into discrete start and end events.
    • Build a rate limiter. Every ten minutes I add a requirement: per-tenant limits, burst allowances, then a sliding window. How do you keep the code from collapsing?
    • You need to run an LLM call over 50,000 documents. The API allows ~100 concurrent requests and occasionally returns 429s and timeouts. Write the Python.
    • How would you parallelise this task? (Concurrency and data mutation come up repeatedly across rounds.)
    • SQL: write a query to find the top five pairs of products most frequently purchased together.
    • SQL: determine whether any user has overlapping subscription date ranges.
    • SQL: return each employee's current salary after an ETL error inserted a new salary row every year.
    LLM Internals and Architecture
    Inference, Serving and GPU Performance
    Agents and Tool Use
    Fine-Tuning, Post-Training and Alignment
    • Explain Constitutional AI. What does it buy you over vanilla RLHF, and what doesn't it solve?
    • How do scaling laws influence the safety evaluation of large models?
    AI System Design
    • Design the Claude chat service.
    • Design a system that enables a large language model to handle multiple questions in a single thread.
    • Design a distributed search system for 1 billion documents at 1 million QPS.
    • Design APIs for developers to access Anthropic's models securely and efficiently.
    • Design a file-sharing / distribution system.
    Evaluation and Observability
    • How would you design an experiment to test for a specific emergent capability or bias in a large language model?
    Safety, Security and Responsible AI
    • Your agent reads inbound email and can send replies and search internal docs. Walk me through the prompt-injection attack surface and your defences.
    • What do you see as the most pressing unsolved problem in AI alignment?
    • How would you balance performance optimisation with model interpretability?
    • How would you approach designing a system to ensure the safe deployment of AI models in production?
    Applied and Forward-Deployed Scenarios
    • An enterprise customer says “Claude hallucinates too much” in their RAG-based knowledge assistant. You're the applied engineer on the account. What happens in the first 48 hours?
    • How would you make complex AI research findings accessible to a non-technical audience?
    Behavioral and Culture
    • Walk me through a project you owned end to end. What were the key technical decisions?
    • Why Anthropic specifically, and where do you disagree with Anthropic?
    • Tell me about a technical misjudgement that delayed a project.
    • What are your thoughts on AI safety and the risks of advanced AI systems?

    OpenAI

    Roles this covers: Member of Technical Staff, Software Engineer, Machine Learning Engineer, Research Engineer, Research Scientist, Applied AI Engineer, Forward Deployed Engineer, Solutions Architect, Data Scientist.

    Interview loop, as publicly reported: Recruiter screen → technical screen (practical coding, often a build-something-real task rather than LeetCode) → onsite: two or three coding/practical rounds, a domain-depth or ML round, a system design round, and behavioural/mission-fit. Applied AI and FDE loops add a customer-scenario and solution-design round.

    Also prepare: the common questions tagged OpenAI under LLM Internals and Architecture, Inference, Serving and GPU Performance, Agents and Tool Use, Fine-Tuning, Post-Training and Alignment, Evaluation and Observability, Safety, Security and Responsible AI, AI System Design, Coding and Data Structures.

    Coding and Data Structures
    • Design and implement an in-memory key-value store supporting set, transactional begin, commit and abort.
    • Create a database ORM, step by step.
    • Code a trivial web crawler using Go.
    • Implement a UI from a mockup with provided CSS and API.
    • Refactor bad code: here are ~120 lines of working but messy code with passing tests. Improve the architecture without breaking them. What do you change first?
    • Write a Python function that displays the first n Fibonacci numbers.
    • Infection-spread simulation.
    ML and DL Fundamentals
    LLM Internals and Architecture
    Agents and Tool Use
    AI System Design
    • How would you build an LLM-powered enterprise search system?
    • Design the serving stack for a ChatGPT-scale consumer assistant: hundreds of millions of weekly users, streaming chat, multiple model tiers.
    • Design and build a webhook delivery system that reliably delivers events to customer-registered URLs.
    • Design a system to schedule jobs in a distributed environment.
    • Design an in-memory database. / Design Slack.
    Evaluation and Observability
    • A customer says “the model got worse” after you upgraded model versions in their deployment. How do you verify and respond?
    • An enterprise customer reports that responses from your deployed system have gotten slow. Walk me through the diagnosis.
    Safety, Security and Responsible AI
    • How do you approach GenAI safety in consumer products?
    • How would you design safeguards for an AI system that can take actions on behalf of a user?
    Applied and Forward-Deployed Scenarios
    • An enterprise customer says: “We want AI to automate our claims processing.” You're the engineer in the room. What do the first two weeks look like?
    • Do you have experience working with APIs? Are you used to working with C-suite executives?
    Behavioral and Culture
    • What is your favourite product and why?
    • Tell me about a time you made a mistake.
    • Tell me about a time you had a conflict with someone. How did you resolve it and what did you learn?
    • Tell me about a time you had conflicting priorities with stakeholders and how you secured alignment.
    • What is the project you are most proud of?

    Google DeepMind and Google AI

    Roles this covers: Research Engineer, Research Scientist, Machine Learning Engineer, Software Engineer (ML), Forward Deployed Engineer, Applied AI Engineer (Google Cloud / Vertex AI), Data Scientist.

    Interview loop, as publicly reported: Recruiter screen → technical phone screen (coding, sometimes ML fundamentals) → onsite: two coding rounds, an ML domain/breadth round, an ML system design round, and Googleyness/leadership. DeepMind Research Engineer loops add a research deep-dive plus maths/probability and a from-scratch implementation round; hiring committee and team matching follow.

    Also prepare: the common questions tagged Google DeepMind under LLM Internals and Architecture, Inference, Serving and GPU Performance, AI System Design, Coding and Data Structures.

    Coding and Data Structures
    • You are receiving an unbounded stream of event IDs. Return the k most frequent IDs seen so far, at any point, with bounded memory.
    • Closest key: given a dictionary with letter keys and lists of letters as values, find the closest key.
    • Write a function to compute root-mean-square error given y_pred and y_true lists.
    • Parse bigrams: extract two-word phrases from strings for NLP feature engineering.
    ML and DL Fundamentals
    • Define the bias-variance trade-off and discuss the relationship between the two.
    • What are the assumptions of linear regression?
    • Distinguish regularization from validation: when is each the right tool?
    • Derive the gradient of cross-entropy loss with softmax inputs, and explain why we fuse them numerically.
    • Explain the SVD and give two places it shows up in modern deep learning.
    • On average, how many fair coin flips until you see two heads in a row? Walk me through it.
    • When would you choose Q-learning over policy gradients, and vice versa?
    • You have a binary loan-approval classifier and limited access to feature weights. How do you explain a rejection?
    Fine-Tuning, Post-Training and Alignment
    • Your pretraining loss suddenly diverges at step 300k of a long run. Diagnose and fix it.
    • Design the training setup for a model that doesn't fit on one accelerator, say 70B parameters on a pod.
    AI System Design
    • Design the serving system for a multimodal assistant (text + image in, streaming text out) at hundreds of millions of users.
    • Design a personalised recommendation system for rental listings using demographics, property metadata, amenities, price, reviews and location.
    • Design a classifier that predicts the optimal moment to insert a commercial break in a video.
    • How would you improve product search results, focusing on the fraction of relevant documents retrieved (recall)?
    • Justify using a neural network for a given problem: what do you need to know about the network, dataset, timeline and business context?
    Evaluation and Observability
    • Build the evaluation harness for a new frontier model release. What does it need to do?
    • Do 1 million Seattle ride trips suffice to build an accurate ETA prediction model? How would you decide?
    Behavioral and Culture
    • Tell me about a time you disagreed with a researcher or tech lead about priorities, and what happened.

    Meta (Superintelligence Labs, FAIR, Llama)

    Roles this covers: Machine Learning Engineer (E4–E7), Research Engineer, Research Scientist, AI Infrastructure Engineer, Software Engineer (ML), Applied Research Scientist.

    Interview loop, as publicly reported: Recruiter screen → technical screen (2 coding problems in 45 min) → onsite: two coding rounds, one ML system design round, one ML domain/breadth round, and a behavioural (“Jedi”) round. Some 2026 loops now include an AI-assisted coding round in three stages: explore and fix issues, implement new functionality, extend and improve the system.

    Also prepare: the common questions tagged Meta under LLM Internals and Architecture, Inference, Serving and GPU Performance, Multimodal, Speech and Voice AI, AI System Design.

    Coding and Data Structures
    • Given an array nums of n integers where n > 1, return an output array (product of array except self).
    • Find the minimum window in S which will contain all the characters in T.
    • Serialize and deserialize a binary tree.
    • Convert a binary tree to a circular doubly linked list.
    • Alien dictionary: determine character ordering from a sorted word list.
    • K closest points to origin; top-k frequent elements; minimum number of conference rooms.
    • Regular expression matching with '.' and '*'.
    • Two-part warm-up: given a stream of user actions, return the k most engaged-with items. Then: why might your heap solution be the wrong choice in production?
    ML and DL Fundamentals
    • Your ads CTR model shows a 2% offline AUC gain, but the online A/B is revenue-neutral with worse calibration. What is going on, and what do you do?
    LLM Internals and Architecture
    Inference, Serving and GPU Performance
    • You need to serve a Llama-class 70B+ model to hundreds of millions of assistant users. What does the serving stack look like and where does the money go?
    Agents and Tool Use
    • You're dropped into an unfamiliar multi-file codebase with a failing behaviour and an LLM assistant available. Walk me through how you'd fix it.
    Fine-Tuning, Post-Training and Alignment
    AI System Design
    • Design the recommendation system for Instagram Reels.
    • Design a personalised news-feed ranking system / the “next post” logic for Facebook's feed.
    • Design a recommendation system for Facebook Ads, and an evaluation framework for ads ranking.
    • Design the ML components behind an Instagram Story feature.
    • Design an end-to-end classification pipeline for Marketplace listings.
    • Design a language translation model / service.
    Evaluation and Observability
    • How would you build the evaluation system for a Meta AI assistant before and after each model release?
    Safety, Security and Responsible AI
    • Design the harmful-content detection system for Facebook and Instagram uploads.
    Multimodal, Speech and Voice AI
    • How do modern multimodal models get image and video understanding into an LLM, and what changes for video specifically?
    Behavioral and Culture
    • Give me an example of a project where you used data and machine learning. What obstacles did you hit?
    • Tell me about a time you drove a significant result through ambiguity, and a time you were wrong.
    • Tell me about maintaining a production ML pipeline. Why Meta?

    xAI

    Roles this covers: Member of Technical Staff, AI Engineer, Infrastructure Engineer, Research Engineer, Product Engineer (Grok), Data / RL environments engineer.

    Interview loop, as publicly reported: Fast, low-process loops. Typically a recruiter or hiring-manager screen → one or two live coding rounds heavy on data structures and systems → a practical build-something round (often a timed four-hour product build or a stubbed-out module in a real codebase) → founder/leadership conversation. Speed and raw shipping ability are weighted heavily.

    Also prepare: the common questions tagged xAI under LLM Internals and Architecture, Inference, Serving and GPU Performance, AI System Design, Coding and Data Structures.

    Coding and Data Structures
    • Build an in-memory key-value store with SET/GET/DELETE, then add transactions with BEGIN/COMMIT/ROLLBACK, including nested transactions.
    • Write an iterator class that lazily flattens an arbitrarily nested list of lists/integers: no generators, explicit state.
    • Here is a scheduler class from a small LLM inference engine. One method, _admit_requests, is a stub: no spec, no docstring, no tests. Walk me through your first thirty minutes.
    Inference, Serving and GPU Performance
    • Estimate the KV-cache memory to serve a 70B-class model at 128k context. What do you do when it doesn't fit?
    • Design a rate limiter for an LLM API where cost scales with tokens, not requests.
    Fine-Tuning, Post-Training and Alignment
    • You're training on tens of thousands of GPUs and hardware fails constantly. How do you keep goodput high?
    • Loss spikes mid-run on a large pretraining job. Walk me through your debugging process.
    • Design a deduplication pipeline for a web-scale pretraining corpus. It has to run as a streaming process.
    AI System Design
    • Design the serving stack for a consumer chatbot with real-time search over a social-media firehose.
    Behavioral and Culture
    • You have four hours to build and demo a working AI-powered product. How do you spend them?

    Mistral AI

    Roles this covers: Research Engineer, ML Engineer, Applied AI Engineer, Solutions Architect / Forward Deployed Engineer, Inference Engineer, Platform Engineer.

    Interview loop, as publicly reported: Recruiter screen → technical screen (Python + ML fundamentals) → pair-programming round building a small LLM-backed service → deep-dive on transformer/serving internals → customer-scenario round for applied roles → culture/founders round. European enterprise and on-prem deployment context shows up throughout.

    Also prepare: the common questions tagged Mistral AI under LLM Internals and Architecture, Inference, Serving and GPU Performance, Agents and Tool Use, Fine-Tuning, Post-Training and Alignment, Coding and Data Structures.

    Coding and Data Structures
    • Pair-programming: build a service that takes a user question, enriches it with data from a third-party API, and answers via a chat-model API. How do you structure it?
    LLM Internals and Architecture
    • Mistral 7B shipped with grouped-query attention and sliding-window attention. What does each buy you, and what does each cost?
      • Ans