Flashcardsfor IT Certifications

D5: LLM Fundamentals

Claude Certified Developer – Foundations exam practice questions · 10 flashcards

Question
How does an LLM generate text?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 LLM Fundamentals practice questions and answers
  1. How does an LLM generate text?
    By predicting the next token repeatedly, each based on everything before it.
  2. In LLM terms, what is a token?
    A chunk of text (roughly 3–4 characters of English) that models read and generate; billing and limits use tokens.
  3. What is the context window?
    The total tokens the model can consider at once: system prompt, messages, tool definitions and output.
  4. What is sampling?
    Choosing each next token from the probability distribution, influenced by temperature.
  5. Why are LLM outputs non-deterministic?
    Sampling introduces randomness; even low temperature doesn't guarantee identical outputs.
  6. How do you make outputs more consistent?
    Lower temperature, clear instructions, examples, structured outputs and validation.
  7. Do models know events after their training cutoff?
    No, unless given via context, retrieval or tools like web search.
  8. Why can LLMs hallucinate?
    They generate plausible text from patterns, not verified lookup.
  9. Why does input length affect cost and latency?
    More tokens mean more processing and higher input charges.
  10. What happens when the context window is exceeded?
    The request fails or context must be trimmed/compacted.