ML Interview Prep
๐Ÿ“š PracticeMediumML ConceptKnowledge Ready

When would you use fine-tuning vs RAG vs prompt engineering? How do you decide?

ML Concept: 5-7 minutes to answer

llm-engineeringfine-tuningragpromptingmust-knowcategory:ai_llm_tools
Updated Jan 18, 2026

Question

Question

When would you use fine-tuning vs RAG vs prompt engineering? How do you decide?

Expected time to answer: 5-7 minutes

Difficulty: intermediate

Why This Is Asked: Tests ability to choose the right LLM customization strategy for different scenarios

Tags: llm-engineering fine-tuning rag prompting must-know


Your Solution

python
Auto-saves every 30s

Try solving the problem first before viewing the solution


0:00time spent