Question 300
An extraction pipeline uses three examples but systematically fails emails containing quoted replies. What iterative improvement is justified?
Explanation
Correct Answer
The failure mode is specific to emails that contain quoted reply history. Add representative examples where the new message and older quoted messages express different intents, labeling which spans should drive extraction or classification. Contrast with normal single-message examples and test on unseen threads so the model does not memorize one fixture. Inspect whether the prompt rules handle quotation markers, authorship and dates correctly. This is targeted feedback-driven iteration because it repairs the observed missing boundary instead of adding many unrelated examples.
Incorrect Answers
More examples can improve consistency only when they cover the failure mode. The pipeline already succeeds on uncomplicated emails but fails when quoted replies alter message boundaries or speaker attribution. Adding unrelated simple cases may strengthen the existing bias rather than teach the missing distinction. Include representative quoted-thread patterns, expected extraction boundaries and contrasting negative cases so the model learns which text belongs to the current message.
Excluding all quoted emails would hide the reported error by shrinking task scope rather than improving the extraction pipeline. Real customer correspondence often includes reply chains, and ignoring them may discard important user intent or cause the assistant to attribute an older statement to the current sender. Keep quoted-thread handling in scope, annotate representative examples and validate how current versus historical text is segmented. A tool that refuses a common input pattern without authorization has not solved the original requirement.
Adding hundreds of identical simple messages increases prompt length but gives the model almost no new evidence about where quoted replies begin or end. The failure remains systematic because the missing example class is unchanged. Instead, build a small set of contrasting thread examples that vary quotation style, authorship and sentiment, then evaluate on held-out messages. Diverse boundary coverage is more informative than repetition of easy cases, and it avoids consuming context with redundant demonstrations.



Claude Certified Architect - Foundations (CCA-F) Practice Tests