Home / AI Engineer 75
The AI Engineer 75
A Blind-75-style floor for AI engineering loops: 64 questions, 4 system-design mocks and 7 coding challenges. Answer each one cold before opening it. Scoring "Strong" on a question ticks it off here automatically.
0
0 of 75 cleared
75 to go. Each one you tick earns 20 XP.
ML & Deep Learning Foundations
- Explain the bias-variance tradeoff. How do you tell which one is hurting your model?Foundational
- Explain precision, recall, and F1. Give a concrete case where 99% accuracy means the model is useless.Foundational
- Explain backpropagation to me like I'm a strong software engineer who's never done ML. Why is it efficient?Core
- Derive cross-entropy loss from first principles. Why is it "the right" loss for classification and language modeling?Core
LLM & Transformer Fundamentals
- Walk me through what happens inside a single transformer decoder block.Foundational
- Explain self-attention step by step. What exactly are Q, K, and V?Foundational
- Why do LLMs use subword tokenization instead of whole words or raw characters?Foundational
- Compare greedy decoding, top-k sampling, and top-p (nucleus) sampling.Core
- What is the KV cache and why does it make generation fast?Core
- Explain RoPE. What's the rotation intuition and why did it become the default?Core
- Describe the modern LLM training pipeline: pretraining → mid-training → SFT → RL.Foundational
- Compare Kaplan and Chinchilla scaling laws. What did Chinchilla change?Core
- Explain Mixture-of-Experts: the router, top-k experts, total vs active parameters. Why does it win?Advanced
Prompt & Context Engineering
- Explain the system, user, and assistant roles. What belongs in each?Foundational
- What is chain-of-thought prompting? When does it help, and when is it unnecessary or harmful?Foundational
- What is "context engineering," and how is it different from prompt engineering?Core
- How do you design good tool/function definitions for an LLM? What makes tool calling fail?Core
- How do you structure a prompt to be resistant to prompt injection from retrieved or user-supplied content?Core
RAG & Retrieval
- What is RAG, and what problem does it actually solve?Foundational
- Walk me through every stage of a production RAG pipeline, from raw documents to a cited answer.Foundational
- What chunking strategies do you know, and how do you pick one?Core
- How does a bi-encoder embedding model work at retrieval time, and what's the key limitation of that architecture?Core
- What is hybrid search, and why does pure vector search fail on some queries?Core
- What is a reranker, and why add one after vector search?Core
- What retrieval metrics would you track - recall@k, MRR, nDCG - and what does each actually tell you?Core
- What are the top failure modes of production RAG systems?Core
- "Long-context models made RAG obsolete." Argue both sides, then give your actual position.Advanced
Fine-tuning, RLHF & Alignment
- When would you fine-tune a model instead of using prompting or RAG?Foundational
- Explain how LoRA works - the math, and what r and alpha mean.Core
- Walk me through the classic RLHF pipeline end to end.Foundational
- What is reward hacking? Give concrete examples and mitigations.Core
- Explain DPO. What's the key insight that lets it skip the reward model and the RL loop?Core
- Explain GRPO. Why has it displaced PPO for reasoning RL?Advanced
Agents, Tool Use & MCP
- What's the difference between a workflow and an agent?Foundational
- Walk me through the core agent loop. What are the components and stop conditions?Foundational
- How does function/tool calling actually work mechanically, end to end?Foundational
- What is MCP and what problem does it solve?Foundational
- What makes a good tool definition? Give concrete design rules.Core
- When does multi-agent beat single-agent, and when does it make things worse?Core
- How do you evaluate an agent? Compare trajectory evals and final-outcome evals.Core
- How does prompt injection work against agents via tool results, and what actually mitigates it?Advanced
- What is the "lethal trifecta," and how do you design agent systems around it?Advanced
Evals & Observability
- Walk me through the taxonomy of evaluation methods for LLM systems and when you'd use each.Foundational
- What is LLM-as-judge, and when is it the right tool?Foundational
- What are the known biases of LLM judges, and how do you mitigate each?Core
- How do you evaluate a RAG pipeline? Why evaluate components separately from the end-to-end system?Core
- You have 500 production transcripts flagged as failures. Walk me through your error-analysis process.Core
- Your new prompt scores 78% vs the old prompt's 74% on a 100-example eval. Do you ship it?Advanced
- Design the observability stack for a production LLM application. What does a good trace look like?Core
Inference & Production
- Walk me through what happens inside the server when an LLM processes a request. Why are prefill and decode bottlenecked differently?Foundational
- What is the KV cache, why is it needed, and how big does it get? Ballpark it for a 70B-class model at 128K context.Foundational
- Define TTFT, TPOT, and tokens/sec. What drives each one, and what are reasonable targets for a chat product?Foundational
- What's the difference between static and continuous batching, and why did continuous batching become universal?Core
- What is prompt (prefix) caching, and why is it one of the biggest cost levers available?Core
- Self-host an open-weights model or call a provider API - walk me through the decision.Core
- Design the reliability layer for calls to an LLM provider: timeouts, retries, circuit breakers, idempotency.Core
Safety, Security & Responsible AI
- What is prompt injection, and how is it different from a jailbreak?Foundational
- Walk me through the OWASP Top 10 for LLM Applications. Which matter most for an agent?Foundational
- What is the lethal trifecta, and how do you use it to secure an agent?Core
- How do you handle PII in an LLM pipeline end to end?Core
- What do RLHF, DPO, and Constitutional AI/RLAIF actually do for safety, and why can't a system prompt replace them?Core
- Design a secure architecture for an agent that reads untrusted web/email content AND has access to a user's private data. How do you defeat prompt injection by construction?Advanced
Multimodal Models
- Walk me through how a modern VLM gets an image into an LLM.Foundational
- Give me the intuition for how diffusion models generate images.Foundational
System Design
- Design an enterprise RAG assistant with per-document access control and citationsCore
- Design a customer support agent that can take real actions (refunds, cancellations)Core
- Design a content moderation pipeline at 10M+ items/dayCore
- Design a text-to-SQL agent over a large data warehouseCore
Coding Challenges
- Implement scaled dot-product and multi-head attention with a causal maskCore
- Implement byte-level BPE: train, encode, decodeCore
- Implement temperature, top-k, top-p, min-p, and repetition penalty samplingFoundational
- Implement an autoregressive decode loop with and without a KV cacheCore
- Implement embed, index, retrieve, and context assembly for a mini-RAG pipelineCore
- Implement a tool-calling agent loop against a mock LLMCore
- Implement an SSE parser and incremental tool-call argument assemblyAdvanced