prompting
Applied AI interview questions tagged prompting, across every topic.
11 questions · 1 unlocked for you
Concepts behind "prompting"
The curriculum that explains the ideas these questions test.
Foundational
Prompt EngineeringPrompting is the cheapest, fastest way to steer an LLM: clear instructions, few-shot examples, explicit output format, and the right context. It is the first technique to try before reaching for RAG or fine-tuning, and in production it means versioned, tested prompt templates with separated instructions and untrusted data, not ad-hoc strings. Applied-AI interviews probe it because most LLM features ship on prompting alone, and because sloppy prompts are a top source of unreliability and injection risk.🧠 Foundations of LLMs & GenAI
Foundational
Chain-of-Thought and In-Context LearningIn-context learning is the ability to perform a task from instructions or a few examples in the prompt, with no weight updates. Chain-of-thought prompting asks the model to reason step by step before answering, which markedly improves multi-step problems (math, logic, multi-hop questions). The catch is that the stated reasoning is not guaranteed to reflect the model's actual computation. Applied-AI interviews probe it because it is the cheapest accuracy boost on hard tasks, and because over-trusting the visible reasoning is a real pitfall.🧠 Foundations of LLMs & GenAI
Core
Prompting vs RAG vs Fine-TuningGiven an LLM use case, the senior move is matching the technique to what is missing rather than defaulting to one. Need external or changing knowledge? RAG. Need a specific behavior, format, or skill? Fine-tuning. Need to take actions or use live systems? Tools/agents. Just need better instructions? Prompting. They combine, and you escalate from cheapest (prompting) to most involved (fine-tuning). Applied-AI interviews probe it because choosing wrong wastes months, fine-tuning to inject changing facts is the classic mistake.🧠 Foundations of LLMs & GenAISign in
