Prompting Technique Selection: Practice Questions — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)
Prompting Technique Selection — Practice Questions Below are multiple-choice questions designed to help candidates prepare for the Claude Certified...
Prompting Technique Selection — Practice Questions
Below are multiple-choice questions designed to help candidates prepare for the Claude Certified Architect - Professional exam domain covering prompting technique selection. Each question focuses on selecting the appropriate prompting approach to address specific failures or constraints in Claude model deployments.
Question 1
A deployed Claude model frequently produces inconsistent output formatting, despite a system prompt specifying the desired format. Which prompting technique is most appropriate to fix this issue without increasing token cost unnecessarily?
- A) Use a zero-shot prompt with a detailed format description
- B) Add a few-shot example demonstrating the desired format
- C) Switch to native extended thinking prompting to generate structured output
- D) Use prompted reasoning with step-by-step instructions
Correct Answer: B
Explanation: Adding a few-shot example constrains output format by demonstration, reducing underspecification without excessive token use. Zero-shot may be too vague, and native extended thinking or prompted reasoning often increase token cost unnecessarily.
Question 2
In a scenario where a Claude model must generate structured JSON output for downstream processing, but current outputs are missing required fields, which prompting technique best addresses this failure?
- A) Zero-shot prompting with a plain-text request
- B) Few-shot prompting with examples of complete JSON outputs
- C) Native extended thinking prompting to allow the model to reason about JSON structure
- D) Prompted reasoning with explicit instructions for each JSON field
Correct Answer: B
Explanation: Few-shot prompting with examples of the correct JSON structure guides the model to produce complete and valid JSON. Native extended thinking or prompted reasoning may be more costly and complex, while zero-shot is insufficiently constrained.
Question 3
A Claude model is deployed with a strict token budget and high call volume. The current prompting approach uses prompted reasoning with multiple intermediate steps, causing latency issues. What is the best prompting technique to reduce token cost while maintaining output quality?
- A) Replace prompted reasoning with zero-shot prompting
- B) Use few-shot prompting with minimal examples
- C) Switch to native extended thinking prompting
- D) Use structured output prompting with concise instructions
Correct Answer: D
Explanation: Structured output prompting provides clear, concise instructions that reduce token usage and reasoning steps, balancing quality and cost. Zero-shot may reduce cost but risks quality loss; few-shot may increase tokens; native extended thinking often increases token consumption.
Question 4
Which prompting technique is most suitable when a model's failure mode is vague or underspecified behavior in response to ambiguous queries?
- A) Zero-shot prompting with a broad system prompt
- B) Few-shot prompting with diverse examples covering edge cases
- C) Prompted reasoning with detailed stepwise instructions
- D) Native extended thinking prompting to allow model self-guidance
Correct Answer: B
Explanation: Few-shot prompting with diverse examples helps constrain the model's behavior by illustrating expected responses, reducing ambiguity. Zero-shot is too broad; prompted reasoning and native extended thinking may not directly address underspecification.
Question 5
When a workload requires rapid responses with minimal latency and the model currently uses few-shot prompting with many examples, which prompting technique adjustment is advisable?
- A) Increase the number of few-shot examples to improve accuracy
- B) Switch to zero-shot prompting with a detailed system prompt
- C) Use native extended thinking prompting to optimize reasoning
- D) Employ prompted reasoning with stepwise decomposition
Correct Answer: B
Explanation: Zero-shot prompting reduces token usage and latency by eliminating example tokens, suitable when latency is critical. Increasing few-shot examples or using prompted reasoning/native extended thinking increases token cost and latency.
Question 6
A system prompt is causing the Claude model to over-constrain output, eliminating legitimate variation needed for user engagement. Which prompting technique adjustment should be made?
- A) Add more detailed instructions to the system prompt
- B) Use few-shot prompting with examples showing acceptable variation
- C) Switch to zero-shot prompting with a minimal system prompt
- D) Employ prompted reasoning to enforce strict output rules
Correct Answer: B
Explanation: Few-shot prompting with examples illustrating acceptable variation balances constraint and flexibility. Overly detailed system prompts or prompted reasoning can over-constrain outputs, while zero-shot may be too loose.
Question 7
To fix a failure where the model's output is inconsistent in behavior across calls but token cost must remain low, which prompting technique is most effective?
- A) Use zero-shot prompting with a stable system prompt
- B) Add few-shot examples targeting the inconsistent behaviors
- C) Employ native extended thinking prompting for deeper reasoning
- D) Use prompted reasoning with explicit behavioral constraints
Correct Answer: B
Explanation: Few-shot examples help stabilize model behavior by demonstrating consistent patterns without excessive token cost. Zero-shot may not sufficiently constrain behavior; native extended thinking and prompted reasoning increase token usage.
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 →