Claude Certified Architect – Foundations Practice Question 36: Reduce Hallucinations

Claude Certified Architect, Foundations · Test 4 · question 6 of 10

Prompt Engineering & Structured Outputeasy

A legal-research assistant answers questions from long contracts supplied in the prompt. Reviewers find that when the contract is silent on a point, Claude sometimes produces a plausible but unsupported answer. Which prompt change most directly reduces this?

Select one answer
Show answer and explanation

Answer:

  • A. Explicitly allow Claude to say it cannot find the answer in the document, and ask it to first extract word-for-word supporting quotes and answer only from those quotes.

Anthropic's guidance for reducing hallucinations includes letting Claude admit uncertainty ("I don't know") and, for long documents, asking it to extract word-for-word quotes first and base its answer on them. If no quote supports a claim, the claim is retracted or not made.

B pushes toward fabrication. C changes length, not grounding. D removes the source of truth and makes unsupported answers more likely.

Reference: Reduce hallucinations

Practice Test 4 ›

Study guides for Claude Certified Architect, Foundations