Domain 1 of 6

Prompt Engineering Fundamentals

Understand tokens, message roles, prompt structure, examples and sampling. Compare two prompts in a Python evaluation lab.

6
Concepts
~15%
Of the exam
14
Practice questions
Concepts in this domain
01How LLMs Process Prompts: Tokens, Attention and GenerationLearn how LLMs turn prompts into tokens, use attention and generate responses, with practical implications for token budgets and reliable output.02What Is Prompt Engineering? Techniques and ExamplesUnderstand prompt engineering with examples of zero shot and few shot prompting, prompt templates, chain of thought, evaluation and common security risks.03How to Write LLM Prompts: Instructions, Examples and FormatWrite clearer LLM prompts with explicit rules, few shot examples and output requirements. Learn how to handle ambiguity and test prompt structure.04LLM Temperature, Top-p and Deterministic Output ExplainedUnderstand temperature, top p, top k and seeds in LLM generation, including why temperature zero does not guarantee reproducible responses.05LLM Prompt Patterns: System Prompts and Reasoning TechniquesChoose effective system prompts, role prompts, decomposition and self consistency techniques, with examples and clear limits for each pattern.06Prompt Engineering Lab with Python and an Evaluation ReportRun a practical Python prompt engineering lab, compare two prompts by case and segment, then test your own changes with an optional live model.
Try a question from this domain

A collection has 200 policies of 1,500 words each. Using an estimate of 0.75 words per token, how much input capacity is needed before other context is added?

  • AAbout 225,000 tokens.
  • BAbout 400,000 tokens.
  • CAbout 300,000 tokens.
  • DAbout 150,000 tokens.
14 questions on this domain.

One per page, with a worked explanation.

Start the set