Tuning and serving

Fine-tuning interview questions

The fine-tuning questions that keep coming up in AI engineer interviews. The first 3 come with full answers.

Updated 2026-09-05

01

Name the three stages of building a model and what each one teaches.

Three stages, in order. Pretraining: read a massive pile of raw text predicting the next token — the model absorbs language, facts and reasoning, but only learns to continue text. SFT (supervised fine-tuning): imitate curated (instruction → ideal answer) pairs — it gains the behaviour of actually answering, in the right format. RLHF: tune on human rankings so it matches what people prefer — tone, helpfulness, safety. Knowledge, then behaviour, then taste.
02

In RLHF, how do human rankings get turned into something that tunes the model, and what algorithm is often used?

Humans compare several answers and rank them best-to-worst. Those rankings train a reward model — a scorer that predicts how much humans would like a given answer. Then the assistant is optimized to produce answers that score higher on that reward, usually with PPO, a reinforcement-learning method, while a KL-divergence penalty keeps it from drifting too far from the sensible SFT model. Newer pipelines often replace PPO with DPO, which tunes straight from the preference pairs.
03

What behaviour does SFT add that pretraining alone leaves missing?

Pretraining only teaches "what word comes next," so a base model continues your text — ask it a question and it may write more questions. SFT shows it thousands of demonstrations of good assistant behaviour, so it learns to answer the instruction directly, in the right format and tone, and to refuse unsafe requests politely. The knowledge is unchanged; what SFT adds is the behaviour of being helpful.

Also asked in interviews

These 3 run inside the bootcamp as recall drills and voice mock interviews. You answer, the AI grades.

Knowing an answer and saying it under pressure are two different days. Inside Skillumen you answer these out loud and get graded on the spot. Foundations is free.

Try it free →

The open-source companion list, Awesome AI Engineer Interview Questions, curates 105 of these on GitHub.