Flashcardsfor IT Certifications

2.4 Optimizing Context Windows & Token Usage

Claude Certified Architect – Professional (CCAR-P) exam practice questions · 10 flashcards

Question
What consumes the context window?
1 / 10

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

Last updated: · Report an error on this page

Show all 10 2.4 Optimizing Context Windows & Token Usage practice questions and answers
  1. What consumes the context window?
    System prompt, tool definitions, conversation history, retrieved content and output.
  2. How do you reduce token usage?
    Retrieve only relevant content, trim history, prune tool outputs and use concise formats.
  3. Why is more context not always better?
    Irrelevant content adds cost, latency and can degrade quality.
  4. What is compaction?
    Summarizing earlier context to stay within limits.
  5. What is context rot or degradation?
    Quality drops as long contexts accumulate noise.
  6. How do you prioritize context?
    Put critical instructions and key facts where they're clearly visible; drop low-value content.
  7. Why truncate the policy document is a bad fix for cost?
    It removes required information; cache it instead.
  8. How do you track token usage?
    Log usage per request and aggregate by feature/user.
  9. How does output length affect cost?
    Output tokens are pricier; request concise outputs and set max_tokens.
  10. How do subagents help token management?
    They keep verbose work out of the main context.