Context Composition and Token Economics: Practice Questions β Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)
Practice Questions: Context Composition and Token Economics This set of multiple-choice questions is designed to help candidates prepare for Exam...
Practice Questions: Context Composition and Token Economics
This set of multiple-choice questions is designed to help candidates prepare for Exam Domain 2 of the Claude Certified Architect - Professional exam, focusing on context composition and token economics. Each question tests your ability to evaluate and select optimal design decisions under constraints related to token budgets, prompt caching, and context lifecycle management.
Question 1
You have a workload with a strict token budget and high call volume. Which strategy best reduces token usage while maintaining prompt relevance?
- A. Include all dynamic content at the start of the prompt to maximize context.
- B. Use modular prompt packaging with stable content cached ahead of dynamic content.
- C. Repeat the entire prompt for every call to ensure consistency.
- D. Avoid prompt caching and rely on zero-shot prompting each time.
Correct Answer: B
Explanation: Modular packaging with stable content cached before dynamic content reduces repeated tokens and optimizes cache hit rates, lowering token usage without sacrificing prompt relevance.
Question 2
When analyzing prompt caching behavior, you observe frequent cache misses due to minor changes in dynamic content. What is the best approach to improve cache efficiency?
- A. Increase the token budget to accommodate larger prompts.
- B. Place cache breakpoints to separate stable and dynamic prompt sections.
- C. Use few-shot prompting to reduce prompt length.
- D. Switch to zero-shot prompting to avoid caching issues.
Correct Answer: B
Explanation: Cache breakpoints allow stable content to be cached separately from dynamic content, reducing cache misses caused by small dynamic changes.
Question 3
Which context lifecycle strategy is most appropriate for sustaining a long-running agent with strict latency and accuracy requirements?
- A. Continuously append all new interactions to context without editing.
- B. Use context editing and compaction to maintain relevant information within token limits.
- C. Reset context after every interaction to minimize token usage.
- D. Rely solely on the memory tool without context management.
Correct Answer: B
Explanation: Context editing and compaction help maintain a concise, relevant context that meets latency and accuracy constraints for long-running agents.
Question 4
In a scenario where token cost is a critical constraint, which prompting technique should you choose to fix an observed failure without unnecessary token expenditure?
- A. Few-shot prompting with multiple examples.
- B. Zero-shot prompting with a detailed system prompt.
- C. Prompted reasoning with structured output.
- D. Native extended thinking without additional prompt tokens.
Correct Answer: D
Explanation: Native extended thinking leverages the modelβs internal capabilities to reason without adding extra tokens, reducing token cost while addressing failures.
Question 5
Which factor is most important when selecting a Claude model tier to satisfy binding latency, cost, and quality constraints?
- A. Always select the highest-quality model regardless of cost.
- B. Choose the model tier that meets all constraints and reject tiers that fail any constraint.
- C. Select the lowest-cost model to minimize expenses.
- D. Use multiple model tiers simultaneously to balance constraints.
Correct Answer: B
Explanation: The correct approach is to select the model tier that satisfies all binding constraints; tiers failing any constraint must be rejected to ensure workload requirements are met.
Question 6
When diagnosing underspecification in a system prompt causing inconsistent output, what revision approach best constrains behaviour without over-constraining legitimate variation?
- A. Remove all open-ended instructions to force deterministic output.
- B. Add scope, format, and behaviour constraints carefully to reduce ambiguity.
- C. Use minimal instructions to allow maximum model creativity.
- D. Replace the system prompt with a few-shot example prompt.
Correct Answer: B
Explanation: Carefully constraining scope, format, and behaviour reduces underspecification while preserving legitimate output variation.
Question 7
How should an architect allocate reasoning effort in a prompt to optimize token economics and maintain accuracy?
- A. Maximize reasoning tokens regardless of cost.
- B. Balance reasoning tokens with token budget and latency constraints.
- C. Minimize reasoning tokens to reduce latency at all costs.
- D. Use static reasoning tokens without adjustment.
Correct Answer: B
Explanation: Allocating reasoning effort requires balancing token cost and latency with accuracy needs to optimize overall performance.
These questions reflect the scenario-based evaluation style of the Claude Certified Architect - Professional exam and emphasize practical decision-making under token and context constraints using Anthropic Claude platform features.
More in this topic
Preparing for the Claude Certified Architect Professional exam?
Start free with 5 practice quizzes a day and track your progress.
Practise Claude Certified Architect Professional questions free →