Claude Certified Architect – Foundations Practice Question 27: Positive Instructions with Reasons

Claude Certified Architect, Foundations · Test 3 · question 7 of 10

Prompt Engineering & Structured Outputeasy

A support chatbot's prompt says: "Never use markdown. Don't write long answers. Don't mention competitors." The replies still contain bullet lists and occasional competitor names. Which revision is most likely to improve adherence?

Select one answer
Show answer and explanation

Answer:

  • B. Rewrite as positive instructions with reasons, such as "Reply in short plain-text paragraphs because the widget cannot render markdown"

Anthropic's guidance is to tell Claude what to do rather than what not to do, and to explain the motivation behind an instruction. A stated reason lets Claude generalize to cases the rule did not list, such as new formatting that would also fail to render.

- A is wrong: emphasis and repetition on negatives do not supply the intent, and shouting can cause over-application. - C is wrong: a vague instruction removes the specific constraints that the application needs. - D is wrong: moving text between turns does not fix how the instruction is phrased, and the system prompt is the right place for standing rules.

Reference: Prompting best practices

Practice Test 3 ›

Study guides for Claude Certified Architect, Foundations