System Prompt Diagnosis and Revision: Practice Questions — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)

Practice Questions: System Prompt Diagnosis and Revision This set of multiple-choice questions is designed to help candidates prepare for Exam Domain...

Practice Questions: System Prompt Diagnosis and Revision

This set of multiple-choice questions is designed to help candidates prepare for Exam Domain 2 of the Claude Certified Architect - Professional certification. The focus is on diagnosing underspecification in system prompts and selecting revisions that improve output consistency without over-constraining legitimate variation.

  1. Question 1

    A system prompt for a customer support chatbot returns inconsistent tone and occasionally irrelevant answers. The prompt currently reads: "You are a helpful assistant." Which revision best addresses the underspecification?

    • A) Change to "You are a helpful assistant who answers all questions in a friendly and concise manner."
    • B) Change to "You are a helpful assistant." Add no further constraints.
    • C) Change to "You are a helpful assistant who answers questions only about billing issues."
    • D) Change to "You are a helpful assistant who answers questions in any style the user prefers."

    Correct answer: A

    Explanation: Option A constrains tone and style to friendly and concise, reducing output variability without over-constraining the domain. Option C over-constrains by limiting the scope to billing only, which may exclude legitimate queries. Option B leaves underspecification unaddressed. Option D increases variability by allowing any style.

  2. Question 2

    A system prompt for a financial report summarization agent is too verbose and sometimes includes irrelevant sections. The prompt is: "Summarize the report." Which revision best improves output consistency while preserving flexibility?

    • A) "Summarize the report in three concise paragraphs focusing on key financial metrics."
    • B) "Summarize the report in any length and format you prefer."
    • C) "Summarize only the introduction and conclusion sections."
    • D) "Summarize the report with no constraints."

    Correct answer: A

    Explanation: Option A adds scope and format constraints that guide the model to produce concise, relevant summaries while allowing some flexibility. Option B and D leave the prompt underspecified. Option C over-constrains by limiting content to only two sections, potentially missing important data.

  3. Question 3

    During evaluation, a system prompt for a legal assistant produces inconsistent formatting of citations. The prompt is: "Provide legal advice with citations." What revision best addresses this issue?

    • A) "Provide legal advice with citations formatted as [Case Name, Year]."
    • B) "Provide legal advice with citations in any format."
    • C) "Provide legal advice without citations."
    • D) "Provide legal advice with citations formatted as footnotes."

    Correct answer: A

    Explanation: Option A explicitly constrains citation format, reducing variability and improving consistency. Option D may be correct but is less precise if the system cannot reliably produce footnotes. Option B leaves formatting underspecified. Option C removes citations, which may not meet requirements.

  4. Question 4

    A system prompt for a creative writing assistant produces outputs that are too formulaic. The current prompt is: "Write a story." Which prompt revision best balances creativity with some guidance?

    • A) "Write a story with a beginning, middle, and end, including dialogue and vivid descriptions."
    • B) "Write a story exactly 500 words long."
    • C) "Write a story about any topic in any style."
    • D) "Write a story following strict genre conventions."

    Correct answer: A

    Explanation: Option A provides structural guidance that encourages richer storytelling without over-constraining style or topic. Option B constrains length but not content quality. Option C leaves the prompt underspecified, and option D may overly restrict creativity.

  5. Question 5

    A system prompt for a data extraction agent returns inconsistent field labels. The prompt is: "Extract data fields from the text." Which revision best reduces underspecification?

    • A) "Extract the following data fields with exact labels: Name, Date of Birth, Address."
    • B) "Extract any data fields you find relevant."
    • C) "Extract data fields but do not label them."
    • D) "Extract data fields in any format you prefer."

    Correct answer: A

    Explanation: Option A explicitly specifies which fields and labels to extract, reducing variability and improving consistency. Options B, C, and D leave labeling underspecified or inconsistent.

More in this topic

Model Tier Selection: Worked Example — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Prompting Technique Selection — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Context Composition and Token Economics: Practice Questions — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Cache Breakpoints and Reusable Packaging: Practice Questions — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Cache Breakpoints and Reusable Packaging: Quick Reference — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Reasoning Effort and Context Lifecycle: Worked Example — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Reasoning Effort and Context Lifecycle: Practice Questions — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Model Tier Selection: Practice Questions — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Context Composition and Token Economics: Common Mistakes — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)System Prompt Diagnosis and Revision: Common Mistakes — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)System Prompt Diagnosis and Revision — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Reasoning Effort and Context Lifecycle — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Context Composition and Token Economics: Worked Example — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Model Tier Selection: Quick Reference — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Context Composition and Token Economics: Quick Reference — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Reasoning Effort and Context Lifecycle: Common Mistakes — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Model Tier Selection — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)System Prompt Diagnosis and Revision: Quick Reference — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Cache Breakpoints and Reusable Packaging: Worked Example — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Context Composition and Token Economics — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Model Tier Selection: Common Mistakes — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Cache Breakpoints and Reusable Packaging — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Cache Breakpoints and Reusable Packaging: Common Mistakes — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Claude Models, Prompting, and Context Engineering — Claude Certified Architect - ProfessionalPrompting Technique Selection: Quick Reference — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Prompting Technique Selection: Common Mistakes — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Prompting Technique Selection: Practice Questions — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)System Prompt Diagnosis and Revision: Worked Example — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Reasoning Effort and Context Lifecycle: Quick Reference — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)Prompting Technique Selection: Worked Example — Claude Models, Prompting, and Context Engineering (Claude Certified Architect - Professional)

Related topics:

#ClaudeCertifiedArchitect #promptengineering #systemprompt #AIarchitecture #AnthropicClaude

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 →