CCA-F 练习题库· Prompt Engineering & Structured Output
Which technique is most effective for identifying which part of a long system prompt is causing unexpected Claude behaviour?
- ARewrite the entire prompt from scratch
- BAdd more detailed instructions to every section
- CIncrease the temperature to see more diverse outputs
- DAblation testing: systematically remove or modify individual sections and measure output changes
正确答案:D
解析
- Dcorrect — ablation testing is the most effective technique here: systematically removing or modifying individual sections of the system prompt one at a time and measuring the resulting change in Claude's output isolates the specific section causally responsible for the unexpected behavior.
- Arewriting the entire prompt from scratch may coincidentally suppress the symptom but destroys the information needed to localize the root cause.
- Cincreasing temperature adds sampling noise that obscures rather than reveals the offending section.
- Badding more instructions everywhere increases prompt complexity and confounders, making the source harder — not easier — to pinpoint.
延伸阅读
本题为本站自有原创练习题,非任何官方考试内容;解析对照 Anthropic 公开文档撰写, 如与最新文档不符请以官方为准。想在限时环境下检验水平,可参加 模拟考(题目与本页题库不重叠)。