ai-engineering-interview-questions

amitshekhariitbhuApache-2.0活跃维护

一份 AI 工程面试速查题库,覆盖 Agent、LLM 推理、微调、量化、MCP 等考点,帮求职者系统准备面试。

Your Cheat Sheet for AI Engineering Interview – Questions and Answers.

暂无版本3,632star +13 / 7 天646fork同步于 2026-11-10 23:41 UTC

怎么上手

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

README 未说明

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

项目说明

由 README 自动翻译提炼

AI 工程面试题库,按主题整理问题与答案链接,帮你系统准备 LLM、RAG、Agent 等岗位面试

一份 AI 工程面试速查题库,覆盖 Agent、LLM 推理、微调、量化、MCP 等考点,帮求职者系统准备面试。

核心能力

  • 按 LLM 基础、RAG、Agent、微调等 15 个主题分章组织
  • 覆盖 AI Engineer、LLM Engineer、MLOps 等十余种岗位
  • 每题附博客、视频或推文链接作为参考答案
  • 包含 KV cache、RoPE、GQA 等底层机制细节题
  • 提供场景类问题,如上下文超限、结构化输出失败

容易踩的坑

这是题库文档而非可运行代码,无需安装;部分题目只给链接、README 内无答案正文;答案分散在博客、YouTube、X 等外部站点,需自行访问

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

最近发版

0 个版本

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

用户点评

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

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

    README 原文

    未翻译

    AI Engineering Interview Questions and Answers

    AI Engineering Interview Questions and Answers - Your Cheat Sheet For AI Engineering Interviews

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

    • AI Engineer
    • Gen AI Engineer
    • LLM Engineer
    • Agentic AI Engineer
    • AI Agent Engineer
    • Forward Deployed Engineer
    • AI Solutions Architect
    • AI Platform Engineer
    • Applied AI Engineer
    • MLOps Engineer
    • LLMOps Engineer

    Table of Contents

    Prepared and maintained by the Founder of Outcome School: Amit Shekhar

    Follow Amit Shekhar

    Follow Outcome School

    I teach at Outcome School


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


    Must Know

    • LLM
    • RAG
    • MCP
    • Agent
    • Fine-tuning
    • Quantization

    Learn about the LLM, RAG, MCP, Agent, Fine-tuning & Quantization: AI Engineering Explained: LLM, RAG, MCP, Agent, Fine-Tuning, Quantization

    LLM Fundamentals

    Prompt Engineering

    • What is prompt engineering, and why is it critical for AI applications?
    • Explain zero-shot, one-shot, and few-shot prompting with examples.
    • What is chain-of-thought (CoT) prompting, and when should you use it?
    • Explain self-consistency prompting and how it improves reasoning.
    • What is tree-of-thought prompting?
    • What is ReAct (Reasoning + Acting) prompting, and how does it work?
    • What is a system prompt, and how does it influence model behavior?
    • How do you structure prompts for consistent structured output (JSON, XML)?
    • What is prompt injection, and how do you defend against it?
    • What is jailbreaking in LLMs, and what are common jailbreak techniques?
    • How do you optimize prompts for cost and latency?
    • What is the difference between prompt engineering and prompt tuning?
    • What is a prompt template, and how do you design one for production use?
    • How do you handle multi-turn conversations with LLMs?
    • What is role prompting, and when is it effective?
    • What is prompt chaining, and how do you design a chain of prompts for complex tasks?
    • How do you evaluate and iterate on prompt quality?
    • What are meta-prompts, and how can they be used to generate prompts?
    • What are the common failure modes in prompting, and how do you debug them?
    • How do you handle edge cases and adversarial inputs in prompt design?
    • What is the "lost in the middle" problem in long-context prompting?
    • What are output parsers, and why are they needed for production applications?
    • How do you handle multi-language prompting effectively?
    • Your few-shot prompting gives inconsistent results across similar inputs. How do you stabilize it?
    • Your LLM classification system is too sensitive to prompt wording changes. How do you reduce prompt sensitivity?
    • Your chatbot's system prompt containing proprietary business logic is being leaked by users. How do you prevent it?
    • Your LLM agent is vulnerable to prompt injection that reveals the system prompt. How do you defend it?
    • Your chain-of-thought prompting is not improving LLM accuracy on reasoning tasks. What do you fix?
    • Your AI system works in English but fails for other languages. How do you add multilingual support?
    • Your zero-shot cross-lingual transfer from English fails on other languages. How do you fix it?

    Retrieval-Augmented Generation (RAG)

    AI Agents and Agentic Systems

    Fine-Tuning and Model Adaptation

    Vector Databases and Embeddings

    AI System Design

    • Design a Real-Time Voice AI Agent
    • Design ChatGPT: Training to Serving (End to End)
    • Design a RAG System (Chat with Your Documents)
    • Design an enterprise RAG assistant over 10M documents with per-user permissions.
    • Design Memory for a Personal AI Assistant
    • Design a Deep Research Agent
    • Design a Multi-Agent Customer Support System
    • Design an On-Device AI Assistant
    • Design a Multimodal Search System (Text, Image, Video)
    • Design an LLM Inference Platform (vLLM-as-a-Service)
    • Design an LLM Evaluation Platform
    • Design a Text-to-Image Generation Service (Midjourney-like)
    • Design a Music Generation Service (Suno-like)
    • Design a Video Generation Service (Sora-like)
    • Design an AI Coding Agent.
    • Design a code generation and review system.
    • Design a content moderation system using AI.
    • Design a real-time AI recommendation system.
    • Design an AI-powered email assistant.
    • Design a medical diagnosis assistant using AI.
    • Design a fraud detection system powered by LLMs.
    • Design an AI-powered data extraction pipeline from unstructured documents.
    • Design a Text-to-SQL system over a data warehouse with thousands of tables.
    • Design a personalized learning assistant.
    • Design an AI system for automated code migration.
    • Design an AI-powered legal document review system.
    • Design a conversational AI system with memory across sessions.
    • How do you design for latency vs quality trade-offs in AI systems?
    • How do you implement caching strategies for LLM applications?
    • How do you design rate limiting and cost management for AI APIs?
    • How do you handle failover and fallback strategies for AI systems?
    • How do you design an AI system for high availability and fault tolerance?
    • How do you design an AI system that gracefully degrades when the model is unavailable?
    • What are the key considerations for multi-region deployment of AI systems?
    • Design an AI-powered search engine for an e-commerce platform.
    • Design an AI gateway/proxy for managing LLM access across an organization.
    • How do you design a RAG system that handles conflicting information across sources?
    • How do you approach capacity planning for an AI system?
    • Design a multi-tenant AI chatbot platform where each business gets a custom chatbot.
    • Design an AI meeting summarizer system for thousands of meetings daily.
    • Design an AI notification system that prioritizes instead of broadcasting.
    • Design an AI-powered anomaly detection system for cloud infrastructure.
    • Design an AI-powered document processing pipeline for financial institutions.
    • Design an AI dynamic pricing engine.
    • Design an AI resume screening system that handles 100K applications per week.
    • Design an AI voice assistant architecture.
    • Design a multi-agent workflow system where agents collaborate on complex tasks.
    • Design a real-time AI transcription system for concurrent audio streams.
    • Design an AI-powered live streaming content moderation system.

    LLMOps and Production AI

    Evaluation and Testing

    • AI Agent Evaluation
    • LLM Evaluation
    • AI Agent Observability
    • What is evaluation-driven development for AI applications?
    • Why is AI only as good as our definition of done?
    • How do you evaluate LLM outputs? What metrics do you use?
    • Explain BLEU, ROUGE, and BERTScore. When would you use each?
    • What is G-Eval, and how does it use LLMs for evaluation?
    • What is LLM-as-a-judge evaluation, and what are its limitations?
    • How do you conduct human evaluation for AI systems?
    • What is red teaming, and how do you red team an LLM application?
    • How do you detect and measure hallucinations in LLM outputs?
    • What is adversarial testing for AI systems?
    • How do you build a regression test suite for AI applications?
    • What are benchmark suites (MMLU, HumanEval, GSM8K), and how do you interpret them?
    • What is benchmark contamination, and how do you guard against it?
    • Your new model version scores higher on every benchmark, but users say it got worse. Why does this happen, and how do you find the problem?
    • How do you evaluate a RAG system end-to-end?
    • How do you evaluate the quality of AI agents?
    • How would you evaluate an autonomous coding agent? Why can SWE-bench pass rates be misleading?
    • What is the difference between offline and online evaluation for AI systems?
    • How do you measure factual consistency in LLM outputs?
    • How do you evaluate multi-turn conversation quality?
    • What is the role of golden datasets in AI evaluation?
    • How do you build an eval set when there is no labelled ground truth and domain experts are expensive?
    • How do you implement continuous evaluation for production AI systems?
    • How do you evaluate bias in AI model outputs?
    • How do you compare two models or prompts in a statistically rigorous way?
    • How do you evaluate the robustness of an LLM application across input variations?
    • What are the key differences between evaluating traditional ML vs LLM applications?
    • How do you set up an evaluation framework from scratch for a new LLM application?
    • Your model passes one fairness metric but fails another. How do you handle conflicting audit results?
    • Your model was fair at deployment, but became biased 6 months later. How do you monitor continuously?
    • An external auditor cannot reproduce your model's results. How do you ensure audit reproducibility?
    • How do you structure red teaming for an LLM chatbot before launch?
    • How do you red team a multimodal model where text-only safety tests miss cross-modal attacks?

    AI Safety, Ethics, and Responsible AI