AI Hints
Home›NLP Tutorial›Quizzes and Interviews
NLP · Lesson 104 of 106

Interview Questions

Explaining NLP clearly.

⏱ 2 min read▶ Video at 3:06:32🎓 Free
Watch this lesson in the NLP courseWatch on YouTube ↗Full NLP course

In an interview, they want to see that you think about the whole system, not just the model. Here are the questions that come up most, with a strong way to answer each one.

Interview Questions
From the video: Interview Questions
  • Think about the system
  • Common questions
  • Practise out loud

How would you build a support bot?

A strong answer starts with the goal, and what mistakes cost. Then describe the pipeline. Redact private data, triage with a cheap classifier, retrieve policies using hybrid search and reranking, and generate a grounded reply with citations. Add tools for live data, guardrails on the output, and a human hand off. Finish with evaluation using a golden set, and launch in shadow mode.

Start with the goaland the cost of mistakes
Pipelineclean, triage, retrieve, generate
Safetyguardrails, human handoff
Evaluationgolden set, shadow mode

Your RAG answers are poor. What do you do?

Show a method. First, separate retrieval from generation. Take failed questions, and see if the right text was found. If not, fix chunking, add keyword search, or a reranker. If it was found, but the answer's wrong, fix the prompt, or tell the model to use only the sources. Measure each change using a golden set. Interviewers love that order.

Separate the partsretrieval or generation?
Retrieval fixeschunks, hybrid, reranker
Generation fixesprompt, grounding
Measuregolden set each time

Fine-tune or use RAG?

Be direct. RAG adds facts, stays up to date, and it can cite sources. Fine tuning changes style, format, and behaviour. I'd try prompting first, then RAG, and fine tune only if I needed a consistent behaviour that prompts couldn't deliver, or I wanted to cut costs with a smaller model. Many systems use both.

RAGfacts, always current
Fine-tuningstyle and behaviour
Orderprompt, RAG, fine-tune
Often boththey work together

How do you control LLM costs?

Give a list. Count tokens. Route easy cases to small models. Cache repeated questions. Keep prompts and retrieved text short. Use batch APIs for offline work. And set budgets and alerts. Mention that you'd estimate costs before launch, which shows real experience.

Estimate firsttokens times volume
Routesmall models for easy tasks
Cacherepeat questions
Trimshort prompts and context

Summary

Think about the system, name the trade-offs, and always mention evaluation. You're ready. Next, the entire course on one page.

Key takeaways
  • Show a method
  • Name the trade-offs
  • Mention evaluation
Next up: Your Cheat Sheet — the whole course on one page