Anthropic CCAR-F - Claude Certified Architect – Foundations
During testing, when a customer says, “I need a refund for my recent purchase,†the agent immediately invokes process_refund but populates the required order_id parameter with a plausible-looking fabricated value instead of first calling lookup_order. The refund fails because the invented order identifier does not exist. Which change directly addresses the root cause of the fabricated order_id?
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.
After deployment, you find that 12% of extractions contain semantic errors that pass JSON Schema validation—for example, a duration such as “30 minutes†is incorrectly placed in an ingredient-quantity field. Human reviewers have the capacity to check only 20% of extractions.
Which approach most effectively allocates reviewer attention?
You are integrating Claude Code into your Continuous Integration/Continuous Deployment (CI/CD) pipeline. The system runs automated code reviews, generates test cases, and provides feedback on pull requests. You need to design prompts that provide actionable feedback and minimize false positives.
In addition to your CI pipeline, your organization has enabled Claude’s managed Code Review through the Claude GitHub App on this repository, and reviews run automatically on every pull request. Reviews average 18 findings per pull request. Developer feedback reveals three categories of unwanted noise: (1) style and formatting issues already enforced by your linter in CI, (2) findings on automatically generated template code under src/gen/, and (3) rendering-helper patterns that are intentional project conventions but get flagged because they resemble common anti-patterns. Only approximately four findings per pull request are genuine logic bugs.
What is the most effective way to reduce this noise while preserving the detection of genuine issues?
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 developer-productivity tools using the Claude Agent SDK. The agent helps engineers explore unfamiliar codebases, understand legacy systems, generate boilerplate code, and automate repetitive tasks. It uses the built-in tools—Read, Write, Bash, Grep, and Glob—and integrates with Model Context Protocol (MCP) servers.
An engineer asks the agent to understand how the caching layer works before adding a new cache-invalidation trigger. Initial Grep searches show that caching logic spans 15 files containing decorators, middleware, and service classes—approximately 8,000 lines in total.
What is the most effective next step for building understanding while managing context constraints?
