CCAR-F Context and Reliability Practice Question
Exhibit
<system> You are a code reviewer. Use the following format: <thought> [Detailed analysis of the code] </thought> <review> [Final feedback] </review> </system> <user> Review this function: [code snippet] </user> <assistant> <thought>
Refer to the exhibit. This technique, where the assistant's response is started with a specific tag, is known as 'prefilling.' How does this technique primarily improve reliability for structured output?
⚠ Common exam trap
Candidates often view prefilling as a prompt injection risk, failing to recognize it as a legitimate architectural technique to force the model into a specific structural format from the first token.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
It steers the model to follow a specific logical and structural path.
Prefilling the assistant's response is a powerful technique for guiding Claude's behavior. By starting the response with a specific tag like <thought>, you force the model to enter a specific 'mode' of operation immediately. This ensures the model follows the desired format from the first token, which is essential for reliably parsing outputs in automated pipelines.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
It reduces the token cost by skipping the model's initial reasoning.
Why it's wrong here
Prefilling does not skip reasoning; in fact, it often encourages it. By prefilling the <thought> tag, the developer is actually ensuring that the model performs the reasoning step before the review. This does not save tokens, but it significantly increases the quality and structure of the resulting output.
- ✗
It bypasses the system prompt's safety filters for technical code.
Why it's wrong here
Prefilling is not a method for bypassing safety filters. Anthropic's safety systems operate regardless of whether a response is prefilled or not. The technique is purely intended for steering the model's formatting and logical flow to ensure it adheres to the developer's structural requirements for the response.
- ✓
It steers the model to follow a specific logical and structural path.
Why this is correct
By providing the opening tag, you remove the model's opportunity to start the response in an incorrect format or with conversational filler. This 'anchors' the model's attention to the specific task of 'thinking' as defined in the system prompt, making the final output much more predictable and reliable.
- ✗
It allows the model to access external tools without a tool definition.
Why it's wrong here
Prefilling is a prompt engineering technique and is unrelated to the functional implementation of Tool Use (Function Calling). Accessing external tools requires a specific API schema and model capabilities; simply prefilling text does not grant the model the ability to execute code or call external APIs.
About these practice questions
Courseiva writes every CCAR-F question from scratch — 271 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Anthropic exam blueprint
This CCAR-F practice question is part of Courseiva's free Anthropic certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CCAR-F exam.