Anthropic certification · Exam CCAR-P

CCAR-P Mock Exam

Claude Certified Architect - Professional

Free CCAR-P questions on Evaluation, Testing and Optimization, each with the answer and an explanation.

20 questions · 39 minutes · free, no sign-up

Evaluation, Testing and Optimization questions

1–5 of 5 free
Question 1 Choose 2
You are running a controlled experiment to compare two prompts and must complete the design steps before executing the experiment.
Which two steps must be completed BEFORE running the experiment with random assignment? (Select two.)
Each correct answer presents part of the solution.
Show answerHide answer

Correct answer: A, C Determine the minimum detectable effect size and the sample size needed for power. Define the hypothesis and the primary success metric for the comparison.

Explanation

Explanation

C. Define the hypothesis and primary success metric. Before random assignment, the experiment must pre-specify a clear hypothesis and a single primary metric. Anthropic's official prompt engineering documentation explicitly states that "defining the task and success criteria" is the first and most critical step, with success criteria needing to be specific and measurable to guide subsequent evaluation and optimization. If the metric is chosen after seeing the data, it constitutes post-hoc selection and renders the experiment invalid.

A. Determine the minimum detectable effect size and sample size. Sample size must be calculated before the experiment to ensure sufficient statistical power to distinguish genuine effects from noise. LLM outputs are stochastic, and small prompt differences are often subtle, making insufficient sample sizes likely to produce false conclusions. Experimentation methodology literature points out that running underpowered tests is one of the most common experimental design errors. The sample size formula requires pre-input of the minimum detectable effect size (MDE) and significance level.

Why the Other Options Are Incorrect

B. Decide to promote, reject, or iterate — This is a post-experiment decision that can only be made after analyzing the results, not a pre-experiment step.

D. Analyze results against predefined metrics — This is a post-data collection analysis activity that occurs after the experiment is completed.

E. Document recommendations, trade-offs, and alternatives — This is post-decision documentation work, belonging to the final stage of the experiment lifecycle.

Question 2 Choose 1
You are identifying the highest-impact optimization for a deployment whose token cost is dominated by a long, repeated system prompt and a large retrieved context per request. Which optimization most directly targets the dominant cost driver?
Show answerHide answer

Correct answer: C Move the long, repeated system prompt into a cacheable prefix and trim retrieved context to the spans relevant to each query.

Explanation

Explanation:

The dominant cost drivers identified in the question are the long, repeated system prompt and the large retrieved context per request. Option C directly addresses both: moving the stable system prompt into a cacheable prefix allows subsequent requests to reuse the cached computation, with cache-read tokens billed at a substantially lower rate—Anthropic's own pricing documentation confirms cached reads cost a fraction of standard input pricing. Meanwhile, trimming retrieved context to only query-relevant spans reduces the volume of input tokens per request, which is precisely the variable driving the other half of the cost structure. Research on retrieval depth tradeoffs shows that always using heavy retrieval wastes budget on unnecessary context, while per-query routing can reduce billed tokens by 26% without quality loss.

Why the other options are incorrect:

A increases retrieval depth, which worsens the dominant cost driver by adding more retrieved tokens per request—the opposite of optimization.

B adds more repeated content to the system prompt, increasing the very token volume that needs reduction.

D switches to the heaviest model, raising per-token costs without addressing the structural waste from redundant prompts and excessive retrieval.

References:

- Anthropic prompt caching documentation: cache reads are billed at reduced rates and the cache follows a prefix-matching hierarchy.

Question 3 Choose 1
You are assessing a Claude-based system whose dominant risk is silent quality drift on safety-relevant outputs after a model-version upgrade. Which assessment activity most directly addresses this risk?
Show answerHide answer

Correct answer: D Maintain an adversarial evaluation set with version-attributed scoring so each upgrade is measured against the same set before promotion.

Explanation

Explanation:

The core of this question is "silent quality drift in safety-related outputs"—it is invisible, has serious consequences, and is specifically triggered by model version upgrades. Option D maintains an adversarial evaluation set and performs version-attributed scoring, which directly addresses two key requirements: first, using the same fixed adversarial test set ensures that results are longitudinally comparable across different model versions, rather than the evaluation criteria drifting with each upgrade; second, version attribution ensures that each score can be traced back to a specific model version, making it impossible for degradations to be obscured by "overall metrics look fine." Research shows that silent updates to LLM services can introduce behavioral drift, leading to regressions in safety constraints and other aspects, and deployer-side compatibility gates (blocking updates unless safety/performance standards are met) are an effective governance tool. The Anthropic platform documentation also explicitly states that even if model weights are fixed, serving infrastructure updates (including safety classifiers) may produce observable behavioral differences—this further demonstrates the necessity of fixing the evaluation set and scoring by version.

Why the other options are incorrect:

- A disabling adversarial evaluation entirely eliminates the only means of detecting safety drift; quality regressions will only be discovered after entering production.

- B random rotation of adversarial inputs makes cross-version comparisons impossible (each upgrade is tested with different questions), so degradation cannot be attributed to version changes.

- C skipping evaluation and relying on user complaints essentially makes production the testing ground; by the time problems are discovered, safety-related harm has already occurred.

References:

- arXiv (2026): deployer-side governance framework proposes "risk-category-based testing suite" and "compatibility gates" to address silent updates and safety regressions.

Question 4 Choose 1
A Claude Architect is reviewing a post-deployment performance report for an AI-assisted legal-document summarization system. The report includes these observations:
Average summarization time decreased from 47 minutes to 6 minutes per document.
Associates spend less time on summaries, but overall billable output has not measurably changed.
Infrastructure costs increased by 22% because redundant retry logic generated additional API calls
. Some summaries require attorney correction, adding an average of 8 minutes of review per document.
Which analysis correctly attributes each observation to the appropriate business-value pillar?
Show answerHide answer

Correct answer: D Observation 1 indicates an efficiency gain; Observation 2 shows that productivity has not yet been realized; Observation 3 is a solution-cost issue; Observation 4 is an efficiency loss that partially offsets Observation 1.

Explanation

Explanation:

This question requires mapping the four observations to the CCAR-P business value pillars (Efficiency, Productivity, Solution Cost, Performance SLA).

- Observation 1 (summarization time decreased from 47 to 6 minutes): This is a direct efficiency gain. Efficiency measures the speed or resource cost to complete a specific task.

- Observation 2 (associates spend less time, but billable output has not changed): This shows that productivity has not yet been realized. Productivity means increasing total output (revenue, billables) with the same resources. Saving time is only an efficiency gain unless that saved time is redeployed to generate more value.

- Observation 3 (infrastructure costs increased by 22% due to retry logic): This is a solution-cost issue. The technological solution is consuming more budget than planned due to inefficiencies (redundant retries).

- Observation 4 (attorney correction adds 8 minutes per document): This is an efficiency loss (rework) that partially offsets the gains from Observation 1. The net time saved is actually 33 minutes (47 - 6 - 8), not 41 minutes.

Why the other options are incorrect:

- A misclassifies Observation 4 as a performance-SLA issue. SLA refers to system latency or uptime contracts, not human rework time.

- B misclassifies Observation 3 as SLA degradation. Increased API costs do not inherently violate a latency/uptime SLA. It also misclassifies Observation 2, which is a productivity gap, not an efficiency gain.

- C incorrectly states Observation 4 is an SLA improvement (it is a loss) and misclassifies the other pillars.

References:

- CCAR-P Domain 1: Business value pillars. Efficiency (doing the same task faster), Productivity (increasing business output), Solution Cost (financial cost of the tech), and Performance SLA (system reliability/latency).

Question 5 Choose 2
A pilot AI assistant for procurement specialists shows 89 percent first-response acceptance, but follow-up surveys reveal that specialists frequently override the assistant’s vendor recommendations after considering criteria the assistant did not evaluate. The pilot owner wants to ship the assistant unchanged because of the strong acceptance rate.
Which two Discernment-competency observations should you raise BEFORE approving the launch? (Select two.)
Show answerHide answer

Correct answer: C, D The unconsidered criteria represent a scope gap in the assistant’s input space. Acceptance does not establish whether recommendations remain correct after specialist review.

Explanation

Explanation:

The core of the Discernment competency is critically evaluating the quality of AI outputs, rather than merely counting how often outputs are accepted. In this scenario, the "89% first-response acceptance rate" only shows that specialists initially accepted the recommendations; it does not prove that the recommendations were correct.

Option C (scope gap in the input space) directly addresses the root cause revealed by the follow-up surveys: specialists frequently override the recommendations "after considering criteria the assistant did not evaluate." This means that the assistant's input space lacks the key evaluation dimensions that specialists actually use. This is a Discernment judgment about the completeness of the problem definition—the output may "look reasonable," but it does not cover the decision factors that truly matter.

Option D (acceptance does not establish correctness after review) directly targets the misleading nature of the acceptance rate. Discernment requires judging the "Product" quality of the output, not the initial reaction. If the recommendations are overturned at a high rate during specialist review, then the high acceptance rate is merely a superficial metric and cannot support launch readiness.

Why the other options are incorrect:

- A contradicts the core of Discernment: acceptance rate is a process metric and cannot replace judgment about output quality.

- B concerns statistical representativeness, which pertains to survey methodology, not to the Discernment competency's critical evaluation of AI output quality.

- E concerns the adequacy of the pilot duration, which is an empirical sufficiency issue for reliability and does not directly address the substantive problem that recommendations are frequently overturned due to omitted evaluation criteria.

References:

- Discernment competency definition: evaluating AI outputs critically, including Product (output quality) and Process (reasoning) dimensions.

That's the last free question in Evaluation, Testing and Optimization

You've seen the free 30% (5 of 19 questions). Full access unlocks every question and full-length CCAR-P mock exams (63 questions, 120 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the CCAR-P exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real CCAR-P exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full CCAR-P mock exam
  • 63questions per mock
  • 120 mintime limit
  • 129questions in the bank
  • Newmock on every attempt