Increase your chances of passing the Anthropic CCAR-F exam questions on your first try. Practice with our free online CCAR-F exam mock test designed to help you prepare effectively and confidently.
You are building a structured data extraction system using Claude. The system extracts information from
unstructured documents, validates the output using JSON schemas, and maintains high accuracy. It must
handle edge cases gracefully and integrate with downstream systems.
Your extraction system uses tool use with a JSON schema containing 12 fields and detailed descriptions,
totaling approximately 2,500 tokens for the complete tool definition. Processing documents under 150,000
tokens yields 98% accuracy. For documents between 175,000 and 190,000 tokens, accuracy drops to 71%,
with information from the final third consistently missed. The model’s context window is 200,000 tokens.
What is the most likely cause?
Your pipeline runs:
PROMPT= " You are a code reviewer. "
PROMPT= " $PROMPT Analyze the provided diff "
PROMPT= " $PROMPT for bugs, security issues, "
PROMPT= " $PROMPT and style violations. "
claude -p \
--dangerously-skip-permissions \
--system-prompt " $PROMPT " < diff.txt
The reviews complete and return feedback, but Claude comments only on the piped diff—it never reads
surrounding files in the checked-out repository to understand broader context, even when the diff modifies a
function called by many other modules. Which change to the invocation will cause Claude to read related
repository files while still applying your custom review instructions?
You are building a structured data extraction system using Claude. The system extracts information from
unstructured documents, validates the output using JavaScript Object Notation (JSON) schemas, and
maintains high accuracy. It must handle edge cases gracefully and integrate with downstream systems.
The system needs to extract candidate information (name, contact details, skills, work experience, education)
from uploaded resumes. The extracted data must strictly conform to a predefined JSON schema, as missing
required fields or incorrect data types will cause downstream validation failures.
What is the most reliable approach to ensure Claude’s output consistently matches the schema?
You built an LLM-powered code-review tool that analyzes pull requests and returns structured findings. Each finding is a JSON object containing file_path, line_number, issue_category—such as security or style—and description. Developers can dismiss findings they consider unhelpful, and currently 35% of findings are dismissed. You want to analyze these dismissals to understand what the system is getting wrong and improve the prompts accordingly. What change to the output structure would best support this analysis?
Your code-review prompts include both implementation changes and the corresponding test file, but the review comments fail to identify untested code paths. The model correctly flags functions that have no tests at all, but it fails to recognize when conditional branches or error-handling paths within tested functions lack coverage. What is the most effective way to improve branch-level gap detection without overcomplicating the pipeline?
© Copyrights FreeMockExams 2026. All Rights Reserved
We use cookies to ensure that we give you the best experience on our website (FreeMockExams). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the FreeMockExams.