Prompt Engineering
10 questions drawn from the 5 chapters in this section. If most land on the first try, you are ready for the next section. If not, the explanation after each answer says which idea to revisit.
Checkpoint
10 questions · first-try answers earn the most XP
What this checkpoint covers
What is Prompt Engineering?
Instruction, context, examples, output contract.
Anatomy of an Effective Prompt
Role, task, constraints, format — template you can reuse.
Advanced Prompting: CoT, Few-shot, ReAct
Chain-of-thought, self-consistency, ReAct loop.
Defending Against Prompt Injection
System vs user, delimiters, least-privilege tools.
Guardrails & Content Moderation
Input/output filters, moderation APIs, and jailbreak-resistant system prompts.
Next section: Embeddings, Vector Search & RAG