AI Engineer: interview prep

Interview prep for engineers who build products on LLMs and machine learning. Curated by the hone.sh team.

AI engineering interviews usually test machine learning basics, how you build on large language models (prompts, tools, retrieval and evaluation) and how you keep an AI feature safe, plus behavioural questions. Here you practise explaining those choices out loud under follow-up questions, the way an interviewer probes them. It doesn't replace a coding round or training models hands-on, and it skips ML maths beyond the basics.

32 challenges

6 free · sign in to track your progress
  • Machine learning basics: 8
  • Building with LLMs: 8
  • Retrieval and RAG: 6
  • Safe AI features: 6
  • Behavioural: 4

Machine learning basics

Splits, overfitting, metrics, features and leakage: the ground every AI interview checks.

  1. 01

    Supervised and Unsupervised Learning

    • easy
  2. 02

    Train, Validation and Test Sets

    • easy
    • Pro
  3. 03

    Overfitting and Underfitting

    • medium
    • Pro
  4. 04

    Precision and Recall

    • medium
    • Pro
  5. 05

    Prepare Features

    • medium
    • Pro
  6. 06

    How Gradient Descent Learns

    • medium
    • Pro
  7. 07

    Spot Data Leakage

    • hard
    • Pro
  8. 08

    Monitor Models in Production

    • hard
    • Pro

Building with LLMs

Tokens, prompts, sampling, structured output and tools, then measuring whether it works.

  1. 09

    How LLMs Generate Text

    • easy
  2. 10

    Tokens and Context Windows

    • easy
    • Pro
  3. 11

    Write a Good Prompt

    • easy
    • Pro
  4. 12

    Temperature and Sampling

    • medium
    • Pro
  5. 13

    Reduce Hallucinations

    • medium
    • Pro
  6. 14

    Get Structured Output

    • medium
    • Pro
  7. 15

    Let a Model Call Tools

    • medium
    • Pro
  8. 16

    Evaluate an LLM Feature

    • hard
    • Pro

Retrieval and RAG

Embeddings, chunking, vector search and reranking, and how to tell if retrieval helps.

  1. 17

    What Embeddings Are

    • easy
  2. 18

    Retrieval-Augmented Generation

    • medium
    • Pro
  3. 19

    Chunk Documents Well

    • medium
    • Pro
  4. 20

    Vector Search at Scale

    • medium
    • Pro
  5. 21

    Hybrid Search and Reranking

    • hard
    • Pro
  6. 22

    Evaluate a RAG System

    • hard
    • Pro

Safe AI features

Wrong answers, bias, privacy, prompt injection and red-teaming before launch.

  1. 23

    Design for Wrong Answers

    • easy
  2. 24

    Where Bias Comes From

    • easy
    • Pro
  3. 25

    Privacy and AI Features

    • medium
    • Pro
  4. 26

    Keep a Human in the Loop

    • medium
    • Pro
  5. 27

    Defend Against Prompt Injection

    • hard
    • Pro
  6. 28

    Red-Team an AI Feature

    • hard
    • Pro

Behavioural

Projects you built, explaining them simply and the trade-offs you made. Answer with a real example: the situation, what you did, and the result.

  1. 29

    Walk Me Through a Project You Built

    • easy
  2. 30

    Explaining Something Technical to a Non-Engineer

    • easy
  3. 31

    A Technical Trade-off You Made

    • medium
    • Pro
  4. 32

    A Design Decision You'd Make Differently

    • hard
    • Pro