AI & Technical question
In what situations would you explicitly avoid using RAG and choose prompting or fine-tuning instead?
- OpenAI
- Databricks
- AI & Technical
- Hard
Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.
Start a mock interview on this question · Mock interview from a job description
What this question tests
Technical judgment on selecting the right AI architecture for a problem, showing understanding of RAG's actual tradeoffs versus alternatives.
How to approach it
- State RAG's core strength: grounding answers in external, frequently changing or proprietary knowledge the base model was not trained on.
- Identify cases where RAG is unnecessary: when the required knowledge is well covered in training data and does not change often, prompting alone suffices.
- Identify cases favoring fine tuning: when the need is a consistent style, format, or specialized skill rather than fact lookup.
- Note latency and cost tradeoffs, since RAG adds retrieval latency and infrastructure complexity that prompting avoids for simpler tasks.
- Note a case where fine tuning is required: when the retrieval corpus is too sensitive or small to build reliable retrieval over.
What a strong answer includes
- Correctly distinguishes RAG's purpose from fine tuning's purpose, rather than treating them as interchangeable.
- Names concrete cost and latency tradeoffs, since RAG adds real infrastructure overhead simpler prompting avoids.
- Gives a specific scenario for each alternative rather than a generic it depends answer.
Common mistakes
- Treating RAG as always superior to prompting or fine tuning without naming its overhead and limitations.
- Confusing fine tuning's actual purpose with knowledge injection, which RAG handles better.
Likely follow-up questions
- How would you decide between fine tuning and prompting for a task requiring a strict output format?
- What would make you combine RAG and fine tuning together?
More ai & technical questions
- How would you design an experiment to evaluate a generative AI feature when outputs are non-deterministic?OpenAI · AI & Technical · Hard
- You’re given a new model that improves accuracy by 20% but doubles latency. Would you ship it? Walk me through your decision.OpenAI · AI & Technical · Hard
- How should OpenAI handle hallucinations in ChatGPT for high-stakes use cases like medical or legal questions?OpenAI · AI & Technical · Hard
- How would you design guardrails for OpenAI's Operator (browser agent) to prevent harmful actions?OpenAI · AI & Technical · Hard
- Before launching a new Codex capability that can write code or trigger deployments, what evaluation plan and launch gates would you require to validate permission boundaries, prompt-injection resistance, stale authorization handling, secret protection, partner-dependency failure modes, and audit completeness?OpenAI · AI & Technical · Hard
- Suppose you are scoping a first product for in-house legal teams to review contracts with AI assistance. What requirements would you lock first around target use case, acceptable error rates, human-review steps, citations/provenance, and data handling, and what would have to be true before you let customers use it on real matters?OpenAI · AI & Technical · Hard
More questions from these companies
Learn the skill behind it
Chapters of the AI PM course that teach what this question tests.
- Chapter 1: Foundations: the model and the decisions it forces on you
- Chapter 8: Evals: define good and make the number defensible
- Chapter 6: Agents and agentic architecture