Single logo
  • Courses
  • Blog
  • About
Join on SkoolJoin on Skool
  1. Blog
  2. /
  3. AI Engineer, ML Engineer & FDE Concepts Masterclass

Free posts for the course · 81

AI Engineer, ML Engineer & FDE Concepts Masterclass

The concepts behind AI engineer, ML engineer and forward deployed engineer interviews: system design, RAG, agents, evals and MLOps. Each post below stands on its own and is free to read, in the order the course teaches it.

Start with step 1: AI Engineer, ML Engineer, FDE

Posts in course order

  1. 1
    Step 1: AI Engineer, ML Engineer, FDE: What Each Interview Tests, and the Trap of Answering for the Wrong Room

    A support bot gives a wrong answer: the AI engineer opens the trace, the ML engineer checks for drift, the FDE asks which customer was hit. Three jobs, three first moves, two levels of questions, and one trap: a strong technical answer to a bank that only asked where the data may live.

  2. 2
    Step 2: The Answer Framework for Technical Interviews: Five Moves, Scored Out of 24

    Good interview answers share one shape: a 30-second answer, the mechanism, the trade-off, the metric and the failure test. Worked on one question about a batch job starving everyone else, with a 24-point example rubric.

  3. 3
    Step 3: From Symptom to Pattern: How to Answer "Which Pattern Would You Use?" in an Interview

    Start from what you can see, not from the pattern you know. A four-step rule (symptom, cost, metric and failure test, ship first), a symptom table, one worked answer for 429s at peak, and the trap of using a prompt as a lock.

  4. 4
    Step 4: How AI Questions Show Up in an ML Engineer Interview: Your Angle, the Rounds and a Good Answer

    AI questions reach an ML engineer from their own side of the table: retrieval quality, evals, serving cost and latency. Which rounds they show up in, what your first move should be, and why a simulated answer that skips the steps scores 2 of 10 while one short sentence per step scores 10.

  5. 5
    Step 5: What a Forward Deployed Engineer Does: One Customer, Their Systems, and a Week From Discovery to Roll-Out

    A company loved your Support Copilot and asks: can it run on our CRM and our SSO by next month? The person who makes that happen is the forward deployed engineer. Here is the role, a typical week from discovery to roll-out, how it differs from three similar jobs, and the loop that makes the product better with every customer.

  6. 6
    Step 6: The RAG Pipeline Explained: 7 Stages From Documents to a Cited Answer

    Ingest, chunk, embed, store, retrieve, rerank and generate, in one Python file. Follow one question through a 26-chunk employee handbook to an answer that cites its source.

  7. 7
    Step 7: Authentication and Authorization for Claude Agents: Find the Gaps Hop by Hop

    A SupportDesk design has four hops and four credentials. A six-rule review finds six gaps, and a tool that checks the signed-in user's rights stops Ana from reading Bob's account, with an audit line for the deny.

  8. 8
    Step 8: Prompt Injection, Jailbreaks and Untrusted Input: Label What Comes In, Gate What Goes Out

    Three texts reach a support agent in one week: an injected ticket, a poisoned help article and a jailbreak. A naive agent turns all three into leaks; three small checks in plain code take that to zero.

  9. 9
    Step 9: Semantic Caching: Why a Similarity Threshold Can't Stop Confident Wrong Answers

    A semantic cache answers a question that sounds like an old one with the old answer. On 32 synthetic questions, "monthly plans" matched "annual plans" at 0.91, right and wrong scores overlapped, and the only threshold with zero false hits answered nothing on fresh questions.

  10. 10
    Step 10: Observability and Tracing for LLM Apps: A Span per Stage, Redaction First, Bad Traces Become Tests

    "The agent booked the wrong meeting room yesterday. Explain why." A span for every stage shows the bug sat in retrieval, a simulated request shows a 900 ms tool span hiding inside 2,462 ms, redaction runs before storage, tail sampling keeps the 6 slow requests in 200, and an incident trace becomes a test that takes the eval set from 9/9 to 9/10.

  11. 11
    Step 11: Design a Multi-Tenant RAG Assistant, Part 2: Tenant Isolation, a Scoped Cache and Walking an Outage

    A shared cache gave one company's answer to another. In a small synthetic example with two tenants and four documents: filter before ranking, put tenant, user and version in the cache key, write negative tests (with the tenant check removed, 4 of 6 fail), pick pool or silo per segment, and refuse when scope is unavailable.

  12. 12
    Step 12: A 500 MB PDF From 50 s to 2 s, the Fast Path: Queue, Status, Streaming and an Acceptance Test That Fails

    The fast path for a slow PDF assistant, in a small simulation: 20 chunks on a queue finish at 38.3 s with one worker and 7.9 s with eight, a status shows progress, streaming brings the first word to 0.9 s, and an acceptance test at 1.8 and 2.5 requests a second fails every rescue we tried.

  13. 13
    Step 13: Design a Multi-Tenant RAG Assistant, Part 1: Requirements, Rough Numbers and a Contract

    A support assistant for 500 small businesses and 3 banks. Requirements first, then the arithmetic in the open (38,000 tickets a day, 528,000 tokens a minute at an assumed peak), a first diagram where the tenant travels with every request, and a contract written before the test set is opened.

  14. 14
    Step 14: A 500 MB PDF Takes 50 s to Answer, Get It to 2 s: Measure First, Then Promise Per Path

    Interview question: a 500 MB PDF takes 50 seconds to answer, get it to 2. In a small simulation the 50 s splits into 46 s of one-time prep and 4 s per question, so a faster model can't fix it. Two paths, two promises, a first-word budget with 1.1 s spare, and a target that names its load.

  15. 15
    Step 15: Custom Agent Loops and Harnesses: A Dispatch Table, an Approval Hold, Error Results and a Turn Budget

    Write the agent loop yourself and own the checks around it: a dispatch table for tool names, an approval rule that holds big refunds, failures sent back as is_error results, and a turn budget that ends a runaway loop.

  16. 16
    Step 16: One Request Through Every Pattern: a Map of 25 AI System Design Patterns, Stop by Stop

    Follow one support question through five stops (front door, gateway, retrieval, model, way back) and meet 17 patterns on the way, then four more on the slower PDF and agent routes and four in the data layer. The interview move: draw the map, walk one failure, name the box that catches it.

  17. 17
    Step 17: Attention Explained Without the Maths: Query, Key, Value and the Word "it"

    Attention without matrices: query, key and value as what a word looks for, offers and passes on, a 10-line NumPy toy where "it" gives 0.62 of its attention to "animal", and why many heads and all-at-once reading made attention win.

  18. 18
    Step 18: Streaming LLM Answers From FastAPI: Sources First, Token Events Over SSE, and the Same Events Over a WebSocket

    The whole answer shows nothing for 2.67 s; the stream shows its first words after 0.60 s. Build the server side: a generator of sources, token and done events, an SSE endpoint with two no-buffering headers and a disconnect check, a fetch reader in the page, and a WebSocket that sends the same events.

  19. 19
    Step 19: Cost Tracking and Budget Guards for an LLM App: Count the Tokens, Log Every Call, Check Before You Spend

    A retry bug loops a ticket summariser 3,000 times overnight and the invoice is how you find out. Count tokens with tiktoken, price input and output separately, log one JSON line per call, and check a per-user daily budget before every call: in 40 simulated calls the nightly job is blocked at call 24, with 31 calls made and 9 blocked.

  20. 20
    Step 20: Choosing a Vector Index: Flat, HNSW or IVF-PQ, a Memory Estimate, and Filters That Starve Small Customers

    Millions of vectors, a filter per customer and a tight latency budget: which index? Estimate memory (15,360 MB flat, 16,640 MB HNSW, about 240 MB IVF-PQ for 10 M x 384 dims, arithmetic), turn the IVF dial (recall 0.55, 0.892, 0.994, simulated), and see why filtering after the search gives the smallest customer a recall of 0.052.

  21. 21
    Step 21: Hybrid Search: BM25 Plus Dense Embeddings, Merged With Reciprocal Rank Fusion

    One customer types an error code, another describes the problem. BM25 nails the code and misses the meaning; dense search does the opposite. Run both over 12 help articles, see why adding scores fails, and merge the ranks with Reciprocal Rank Fusion so all three test searches come out right.

  22. 22
    Step 22: Citations and Abstention in RAG: What a Citation Proves, and When the Right Answer Is "It's Not in the Documents"

    In a small simulation, 6 of 7 wrong answers carried a neat citation. A floor at 0.30 makes the bot refuse "Who founded the company?" (top score 0.13), but a made-up code ERR-4141 scores 0.39 and gets a wrong, cited answer until an evidence check refuses it. Plus format, registry and support checks, and a human-labelled set with slices.

  23. 23
    Step 23: Embedding Migration With Zero Downtime: Two Indexes, a Dual-Write Backfill, a Shadow Check and a Flag

    300 million chunks on an old embedding model, and a new one with a different dimension. Mixing models in one index drops the right document on top from 0.83 to 0.46 with no error (simulated). Size the job, backfill a second index while writes go to both, shadow-compare 18 of 23 agreeing, and flip a flag that a failed id check can refuse.

  24. 24
    Step 24: Testing a RAG Bot Before It Ships: Slices, a Release Gate per Slice, and the Week After

    In a simulated 210-case eval, a new model lifts the average from 0.895 to 0.929 and leaks 4 restricted documents. A gate per slice blocks it where the average says release. Plus why 20 of 20 can mean 0.88, and why the gate must also run when the index changes.

  25. 25
    Step 25: Retries With Limits for LLM Calls: Jitter Under a Capped Ceiling, a Retry Budget, a Circuit Breaker and a Graceful Reply

    The model is overloaded and nine tickets arrive. A naive handler retries at once, six calls each: 41 calls, 3 answered. A limited handler waits with jitter, honours retry-after, spends a shared retry budget, opens a circuit breaker and degrades to a cached or queued reply: 13 calls, 8 answered.

  26. 26
    Step 26: Fallback Models for an LLM App: A Chain That Checks Region and Fit, Flags Degraded Answers and Gets Rehearsed

    When the main model goes down, the backup has to be allowed to take the data, able to read the whole request and tested before the bad day. A simulated four-model chain for an EU customer: a 6,000-token request lands on mid-eu, flagged degraded; a 10,000-token request is served by nobody, on purpose.

  27. 27
    Step 27: Multi-Tenant Quotas for One Shared LLM: a Bounded Line per Tenant, Fair Turns and a Pause When the Model Says Wait

    Three tenants share one model. Acme sends 24 tickets at once, and on one shared line Bolt waits 7 s and Cora 6 s while 8 calls are refused. A gateway with a 12-ticket line per tenant, fair turns and a pause on 429 brings Bolt to 0 s and Cora to 2 s, tells 12 of Acme's tickets to retry later, and sees 1 refusal.

  28. 28
    Step 28: Token Rate Limits: One Bucket per Team, Reserve Input Plus Max Output, Refund the Rest

    One bank's team pastes whole contracts every morning and by nine the shared quota is gone, so 500 small businesses get 429s. Give each of 40 teams a 40,000-token share of a 2 million TPM pool plus a 400,000 burst pool, reserve input plus max output before each call, and refund the rest after (synthetic numbers).

  29. 29
    Step 29: Back Pressure for LLM Traffic: Bound the Queue, Give Chat Its Own Lane, Count Tokens, Cancel When the Caller Leaves

    A bulk upload buries the chat. In a small simulation, one shared queue grows to 199 waiting and the middle chat answer takes 80.2 s. A bound plus a chat lane brings it to 0.35 s while 178 bulk jobs are told to retry in 10 s, and cancelling abandoned calls saves 21,000 wasted tokens.

  30. 30
    Step 30: Load Balancing LLM Traffic: Count the Work, Weigh the Prefix Cache, Check Real Health, Drain Before Deploys

    Six GPU replicas, two at 95% and four at 30%: round robin counts requests, and requests aren't equal. In a small simulation, least outstanding requests cuts p95 from 6.52 s to 3.05 s, prefix affinity lifts cache hits to 95% but pushes p95 to 11.45 s, a real health check takes errors from 48 to 2, and draining cuts 0 answers instead of 4.

  31. 31
    Step 31: Database Index for an AI App: Read the Query Plan, Pick the Column Order, Name the Write Cost

    The chat history page of a support assistant goes from 80 ms to 900 ms once the messages table passes 40 million rows (synthetic). Read the plan, add one composite index on tenant, conversation and time in that order, cover the hot query, and remember the index for deleting a document.

  32. 32
    Step 32: Replication and Replica Lag: Why a Revoked User Still Sees the Folder, and Which Reads Go to the Primary

    An admin revokes a user's access to the Payroll folder, but the permission check reads from a replica that is 30 seconds behind (synthetic), so the assistant keeps quoting it. Route the reads that must be fresh to the primary, fail closed past a lag bound, and remember that replication copies mistakes too.

  33. 33
    Step 33: Sharding a Vector Store: Tenant Key, Split Only the Giants, Merge a Full Top-k, Grow With Fixed Buckets

    A vector store holds 800 million chunks for 3,000 tenants and five of them hold 60 percent, all on one shard with 4x the p99 (synthetic). Shard by tenant, split only the giants, merge a full top-k from each shard, and grow with 1,024 fixed buckets so a ninth shard moves 11 percent instead of 89.

  34. 34
    Step 34: A Message Queue for Document Ingestion: At Least Once, Leases, an Idempotent Consumer and a Dead Letter Queue

    A queue doesn't lose a document, but it can hand one out twice. In a small simulation, a worker crash makes document two go from 3 to 6 chunks and the index holds 11 when the documents hold 8. An idempotent consumer brings it back to 8 with the same two deliveries, and a limit of three tries moves a poison file to a dead letter queue.

  35. 35
    Step 35: Caching for AI Apps: Four Layers, What Goes in Each Key, and How a Delete Travels

    A support bot's cache can hit 97% of requests and still answer only 52% correctly. Four cache layers, the key each one needs, how a document delete has to travel through all of them, and a 200-request simulation that puts hit rate next to correct answers.

  36. 36
    Step 36: LLM Model Routing: Rules, a Classifier or a Cascade, Judged on Cost per Win and Every Topic

    Send easy tickets to a small model and the bill drops from 21.39 to 4.31 units per solved ticket, while refund disputes fall from 0.93 to 0.64. A 1,200-ticket simulation compares rules, a classifier and a cascade on cost per win, the confidence dial, and a per-topic gate.

  37. 37
    Step 37: One Gateway, One Platform Table: Route a Model Alias to the Claude API, Bedrock or Google Cloud and Check Parity Before the Call

    Three tenants on three platforms, and a model id copied from the Claude API to Bedrock fails. A gateway turns the alias support-main into the right platform and id, keeps all 6 keys, counts a quota per tenant, refuses a Files API request on Bedrock and a 31 MB request over a 30 MB limit before any call, and logs every request.

  38. 38
    Step 38: Cutting p95 and Cost in Half for an LLM App: Read the Bill, Match the Lever, Guard Success

    Asked to halve p95 and cost without hurting success, read the bill first. In a 200-request simulation, streaming the answer was 84% of the slowest request, a cheap router dropped success to 95.5%, and the careful router plus a cache cut cost to 31.6% while p95 fell only about 8%.

  39. 39
    Step 39: Durable Agent Runs: Save a Checkpoint After Every Tool Turn, Resume After a Kill, and Key the Email So It Goes Out Once

    A worker sends ticket T-103's invoice email and is killed before it saves. Without saved state the restart sends a second email. Save a checkpoint after every tool turn, resume from step 1, and let an idempotency key turn the repeated send into duplicate_skipped: two runs, one email.

  40. 40
    Step 40: Guardrails for an LLM Agent: Check What Comes In, What It Wants to Do, and What Goes Out

    An agent that reads customer emails and can refund up to $200. In a small simulation, a phrase filter still lets 6 of 8 written attacks do harm and blocks 2 honest users; plain checks outside the model take harm to 0 of 8, at a cost of 1 honest request failed and 2 held.

  41. 41
    Step 41: Sandbox Execution for Agent-Written Code: Isolate Every Run, Cut the Reach, Check What Comes Out

    A refund agent writes Python to total a customer's CSV, and one line calls the cloud metadata address and gets back the worker's keys. Run every piece of generated code in a fresh microVM with no network, no secrets and capped resources, validate what comes out, and prove it with an escape test.

  42. 42
    Step 42: Building a Golden Dataset for LLM Evals: Cases, a Schema, a Coverage Table and a Seeded Split

    The answer key for a support bot: 24 cases in one JSONL file, from 12 past tickets, 8 edge cases and 4 attacks. A Pydantic schema catches 4 problems in a broken file, a stats table finds that payments and account have no hard case, and a seeded split gives the same 16 dev and 8 test cases every time.

  43. 43
    Step 43: LLM-as-Judge: Write a Rubric, Check Every Verdict, and Trust the Grader Only After Kappa Says So

    A judge is a model plus a rubric, and you trust it only after it agrees with people. On 12 human-scored Cartly answers, a vague rubric gets 67% agreement and kappa 0.33; a rubric that defines every score gets 92% and 0.83. Plus a Pydantic gate that retries broken replies, and a both-orders check for position bias.

  44. 44
    Step 44: Agentic Evals: Grade the Outcome, the Trajectory and the Side Effects, Then Gate the Release

    A refund agent's reply is correct, but it also set the customer's tier to VIP, and no test looked. Grading 200 golden tasks on the answer alone gives 95 percent; adding trajectory and side-effect checks gives 89, and injected emails pass only 65 percent (synthetic). Then a CI gate blocks a prompt whose average went up.

  45. 45
    Step 45: Regression Testing an LLM Bot in CI: A Golden Set, Two pytest Gates and GitHub Actions

    A teammate changes one prompt line to make answers shorter, and four of ten golden questions lose their facts. A pytest eval on saved answers catches it: 12 passed for the old prompt, 2 failed gates and 4 xfailed cases for the new one, exit code 1, and the pull request check turns red.

  46. 46
    Step 46: The User Feedback Loop: Why Thumbs Up Isn't the Truth, and What a Small Random Review Adds

    Support agents give the ticket model a thumbs up or down. Simulated thumbs cover 40% of tickets, 90% of them high calls, while the weak low calls go unrated. A 60-ticket random review gives a fair number with an honest error bar.

  47. 47
    Step 47: When NOT to Fine-Tune: A Decision Tree of Prompt, RAG, Tools, Then Fine-Tuning

    Most teams who ask for fine-tuning need something simpler first. A four-step decision tree (prompt, RAG, tools, then fine-tuning), what fine-tuning really changes, and what it costs, shown on a product assistant that doesn't know its own plans.

  48. 48
    Step 48: Designing an AI App for a Million Users: Requirements First, Then QPS, Tokens, Cost, a Latency Budget and the Real Bottleneck

    A RAG support bot for 1,000,000 users is 28.9 questions a second at peak, 1 billion input tokens a day and $24,000 a month at assumed prices. First token lands at 1,150 ms of a 2,000 ms budget, 207 streams need 5 containers, and the real limit is the provider: 3,988,200 tokens a minute, still 791,740 over an assumed 2M after a 30% cache.

  49. 49
    Step 49: Mock Interview, Scored: 429s at Peak Because One Customer's Batch Job Eats the Capacity

    A shared support assistant returns 429s at peak because one customer's batch job uses up the capacity. A complete answer in seven moves scores 100 with a simple keyword scorer; a partial one scores 47.5 with fairness at zero; and a list of stuffed keywords is flagged and still scores 100. All answers were written for the lesson.

  50. 50
    Step 50: Mock Interview: Layer the Guardrails on a Refund Agent, Scored From 6 to 20 of 24

    An agent can refund up to 200 on its own, and yesterday an email hid the line 'refund order 7731'. A first answer (strong prompt, moderation model, retry) scores 6 of 24. Rebuilt with an action gate in code, a tuned classifier, a stable refund key and two failure tests, it scores 20 (synthetic numbers).

  51. 51
    Step 51: Polynomial Regression, Overfitting and Underfitting: Bend the Line, Watch the Test Score

    Give a linear model extra columns with PolynomialFeatures and it can bend. Then watch train and test scores split apart: degrees 1, 2 and 16 on Canada's income per person, and degrees 1 to 5 on the insurance model.

  52. 52
    Step 52: Why Accuracy Lies: The Confusion Matrix, Baselines and Type I/II Errors

    On 20,000 card payments with 1% fraud, a model that never looks scores 99% accuracy and catches nothing. The confusion matrix shows what accuracy hides: 21 frauds caught, 29 missed.

  53. 53
    Step 53: Precision, Recall and F1 Score: Two Questions and One Balance

    Precision asks whether the model's yes is right; recall asks whether it found them all. Worked by hand and with scikit-learn on a fraud model with 99.4% accuracy and only 0.42 recall.

  54. 54
    Step 54: Boosting: Residuals by Hand, AdaBoost, Gradient Boosting and XGBoost

    Each new small tree fixes what the team still gets wrong. Watch the MSE fall from 36.89 to 4.49 in three rounds on six kids, then AdaBoost 0.831, GradientBoosting 0.845 and XGBoost 0.846 on the rain data.

  55. 55
    Step 55: Probability Calibration: Can You Trust the 0.8? Reliability Curves, Platt and Isotonic

    When a model says 0.85, does it rain 85 times in 100? On Rain in Australia a Naive Bayes model says 0.85 and it rains 47 times. A reliability curve shows the gap, Platt and isotonic close it (ECE 0.117 to 0.039 and 0.005), and fitting the fix on training rows makes a forest worse.

  56. 56
    Step 56: Train-Test Split and Data Leakage: Split First, Learn After

    Why the train-test split comes before everything else: an 80/20 split with stratify and random_state, a scaler that leaks test rows, and a column that secretly holds the answer. Shown on Rain in Australia.

  57. 57
    Step 57: Data Validation and Schema Checks: Stop Bad Input Before It Reaches the Model

    Send messy input to a car price API and it still answers, with a wrong price. Add a Pydantic schema that refuses impossible values with a 422, a four-rule batch check before training, and see why a valid value can still be wrong.

  58. 58
    Step 58: Training-Serving Skew: Same Model, Different Inputs, and How to Detect It

    Offline the model is great, live it gets worse, and nothing crashes. What training-serving skew is, the three usual causes, how it differs from drift, and how to detect it, test the alert and roll back.

  59. 59
    Step 59: Full Fine-Tuning vs LoRA vs QLoRA: What Each One Changes and What It Costs

    Three ways to fine-tune a model for a ticket-tagging job on one GPU: full fine-tuning rebuilds every weight, LoRA trains a small add-on A x B next to frozen weights, and QLoRA does LoRA on a 4-bit base. What each changes, what each costs, and which to pick.

  60. 60
    Step 60: Ticket Routing, Part 4: Canary, Automatic Rollback and "Does Your Small Model Reason?"

    Release the int8 ticket router in stages: 10%, 50%, then everyone, with a floor of stable accuracy minus 0.05: int8 goes through, and a simulated 2-bit model scoring 0.179 on its first 28 tickets is rolled back. Then 24 hand-written probes test the claim that it reasons: 8/8, 5/8, 5/8.

  61. 61
    Step 61: MLOps in One Picture: Code, Data, Model and the Lifecycle Loop

    The whole of MLOps in plain words: why notebooks forget, the three things that change in ML (code, data, model), the seven-station lifecycle loop, how MLOps differs from DevOps, and drift shown on a sample of support tickets.

  62. 62
    Step 62: Model Size and Memory: Parameters x Bytes, Quantization, and Where to Run a Model

    Will this model fit on my machine? One rule, parameters x bytes per number, gives a 7B model 14 GB at 16-bit and 3.5 GB at 4-bit. Then a real measurement of SmolLM2-135M (538 MB vs 269 MB) and the three ways to run a model: hosted API, local, or an inference server.

  63. 63
    Step 63: Sizing and Autoscaling an Inference Service: From One Replica to a Replica Count

    How many copies of a model API do you need, and when do you add more? Measure one replica (it flattens at about 64 requests a second here), pick a row with a latency budget, size for a target with headroom, and scale early on the queue, not on CPU.

  64. 64
    Step 64: Demand Forecasting, Part 3: The Nightly Batch Pipeline That Survives a Crash

    Make the shop's forecast a nightly job, then kill it halfway: a plain rerun publishes 35 rows instead of 21 with exit code 0. A run id from the date, one part file per product and a primary key make the resume print scored 1, skipped 2, published 21.

  65. 65
    Step 65: Monitoring Drift and Retraining: When a Model Gets Worse With No Code Change

    A ticket priority model slips while its code stays the same. Compare old and new tickets with PSI and an Evidently report, score the model on fresh labels, retrain with half of the new batch and run the seven-step monitoring loop.

  66. 66
    Step 66: Fraud Scoring, Part 4: Release and Monitoring With Shadow, Drift and Late Labels

    A challenger fraud model runs in shadow beside the champion. Background shadow costs about a millisecond at p50, simulated drift takes PSI from 0.007 to 0.181, and a recall of 1.00 on day 35 turns into 0.41 by day 80 once the chargebacks arrive.

  67. 67
    Step 67: Interview Answer: How Do You Roll Out a New Model Safely When True Labels Come Weeks Later?

    A small invoice-reading model is compressed and gets faster, while field accuracy drops from 96% to 90%, mostly on scanned invoices. The four-step interview answer for a safe rollout when true labels arrive weeks later.

  68. 68
    Step 68: Mock ML Engineer Interview, Scored: A Rollout Question Where the Labels Arrive Weeks Late

    One ML engineer interview question, scored row by row. A first answer (A/B test, watch accuracy for a week) gets 4 of 20; a rebuilt answer along a timeline gets 18 of 20. Plus why a memorised answer and a bare word list fool simple scoring.

  69. 69
    Step 69: Discovery for an AI Project: Running the First Conversation, Five Question Groups and Three Red Flags

    An insurance company says 'we would like an AI assistant'. That one sentence could be three different projects. Five question groups, asked to the right people, turn it into a one-page problem statement, and three red flags show what still blocks the design.

  70. 70
    Step 70: Reading a Business Requirement Like an Architect: Function, Quality, Constraints and Assumptions

    One sentence from an insurer's claims director becomes four buckets (function, quality, constraints, assumptions), two testable targets and five questions back to the business, before any design starts.

  71. 71
    Step 71: Enterprise Integration for an AI App: One Adapter per Edge for SSO, the CRM, a Legacy CSV and Webhooks

    A made-up customer, Acme Retail, has a company login, a CRM with its own field names, old orders in a nightly CSV and order.updated webhooks. Instead of rewiring the Support Copilot, put one small adapter at each edge: a token check, a chained order source and a signature check, with two tests per edge.

  72. 72
    Step 72: Compliance for an LLM System: Tie Every Obligation to a Control, an Owner and Evidence

    A claims assistant touches personal data, health data and a federal client. We turn each obligation into a register row with a control, a named owner and evidence counted from the audit log, then let the register list its own gaps.

  73. 73
    Step 73: Citations in Scanned PDF Tables: Cite the Cell, Gate the Cell, Keep the Proof

    A bank's scanned fee table has one smudged cell, and the assistant answers 9.5 percent, page 47, which is the Plus row, not Premium. Extract cells with headers and boxes, gate on structure and confidence (0.41 under a 0.90 line), abstain, and prove it on a 1,200-cell golden set (synthetic numbers).

  74. 74
    Step 74: Debugging AI at the Customer: Read a Retrieval Log, a Span Tree and an Eval Diff Instead of the Servers

    The app runs on the customer's servers and you can't log in. Three stories, three kinds of evidence: a retrieval log shows two refund policies tied at 0.45 so the old one wins; a span tree shows two timed-out CRM calls taking 93 percent of a 12,900 ms run; an eval diff shows a 5 to 4 score hiding one format change and one real error.

  75. 75
    Step 75: SLIs and SLOs for an LLM Service: Count Good Events, Promise a Level, Page on Burn Rate

    Availability reads 1.00 and customers say answers stop mid-sentence. Measure four SLIs from one event per call, give each an SLO, and the second hour shows complete replies at 0.89 burning their budget 3.7 times too fast and quality at 2.5x: two pages that uptime would never send.

  76. 76
    Step 76: Why You Cannot Ship an LLM Feature Without an Eval: Five Parts, Three Graders, One Tiny Eval

    A friendlier prompt looked better on three questions and broke on others. An eval catches that: a fixed set of cases, a grader, a pass rate and a threshold. A tiny Python eval scores two prompt versions on the same six questions: v1 passes 83% and ships, v2 passes 50% and is blocked.

  77. 77
    Step 77: Communicating AI Decisions, Trade-offs and Risk to Executives: The Decision Card, the Risk Matrix and One Ask

    A week before launch the CEO asks: is it safe to launch? Answer with a decision card that says what each option costs, a risk matrix where controls move a risk but never erase it, a one-page brief that ends with one ask, and an honest answer to 'can you guarantee it?'.

  78. 78
    Step 78: Presenting Your Portfolio: A Six-Section README That Shows Evidence, Not Buzzwords

    A recruiter's first skim of your README is short. Lead with the problem and the evidence: six sections (problem, screen recording, architecture, eval table, run steps, lessons), your trade-offs, and a four-beat story for the interview.

  79. 79
    Step 79: Documenting an AI Architecture for Handoff: One Document per Reader, a Handoff Gate and Rules With a Reason

    On handoff day the platform team asks how to run the clause search at night, and the builders have moved on. Write one document per reader, check the handoff package for five elements before the team takes over, and keep the reasons behind every rejected option.

  80. 80
    Step 80: Capstone: Moving a Support Copilot to a New Customer, Clean Their Data, Add One Read-Only Tool, Test on Their Questions

    Kestrel Fiber, a made-up internet provider with about 9,000 homes and three support staff, sends a messy FAQ export, a CRM export and 14 inbox questions. Four cleaning rules keep 17 of 22 FAQ rows, one read-only crm_lookup tool reads the signed-in customer's record, and the eval goes from 8 to 13 to 14 of 14.

  81. 81
    Step 81: Mock Interview for a Forward Deployed Engineer: a Private RAG Assistant in One Region, Scored From 4 to 30 of 36

    An insurer's RAG pilot works, but three of six data flows leave the region and the business wants cited answers in two seconds. 'Vector database, best model, tune the prompt' scores 4 of 36. Discovery, every flow inside the region, a signed thin slice at 92 percent and an honest two-number SLO score 30 (example numbers).

Community · Free to join
Single logo

StudyEasy AI Community

Hosted onSkool

Learn AI engineering, share what you build, and connect with other learners.

  • Free resources: lesson files, notebooks and code

  • Ask questions and join engineering discussions

  • Meet real people learning and building with AI

Join free on Skool
The full course

AI Engineer, ML Engineer & FDE Concepts Masterclass

The concepts behind AI engineer, ML engineer and forward deployed engineer interviews: system design, RAG, agents, evals and MLOps.

View on Udemy

Single logo

Empowering Education, One Course at a Time

About
About usContact us
Legal
Terms of UsePrivacy Policy

© 2026 StudyEasy Organization. All rights reserved.