Flashcardsfor IT Certifications

D2: Context Engineering

AWS Foundational AI Practitioner exam practice questions · 10 flashcards

Question
What is context engineering?
1 / 10

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

Last updated: · Report an error on this page

Show all 10 Context Engineering practice questions and answers
  1. What is context engineering?
    Designing and managing all information given to a model — instructions, retrieved data, history, tool results, memory — to get reliable outputs.
  2. How does context engineering differ from prompt engineering?
    Prompt engineering focuses on wording an instruction; context engineering manages the whole context window across sources and turns.
  3. Why does context matter for FM applications?
    Models only know what's in their training data plus the context; relevant context improves accuracy.
  4. Techniques in context engineering?
    Retrieval (RAG), summarizing history, selecting relevant tools, structured system prompts, memory, pruning irrelevant content.
  5. Risk of overloading the context?
    Higher cost and latency, and important details may be ignored.
  6. What is a system prompt?
    Persistent instructions defining the model's role, rules and format for a session.
  7. How is memory used in context engineering?
    Storing and retrieving past interactions/facts so the model has continuity across sessions.
  8. Why summarize long conversation history?
    To keep key facts within the context window and reduce tokens.
  9. What is grounding?
    Providing trusted source data in context so responses rely on facts.
  10. How does tool output become context?
    Results from tool calls (e.g. API data) are fed back into the model's context for the next step.