最新的Anthropic Claude Certified Architect - Foundations - CCAR-F免費考試真題

問題1
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.
Your automated review jobs take 18 seconds to initialize before Claude begins analyzing code.
Profiling reveals that the delay results from automatically discovering hooks, MCP servers, plugins, skills, and multiple nested CLAUDE.md files throughout the monorepo.
You need to reduce startup time while ensuring reviews still enforce the coding standards documented in the root-level CLAUDE.md file.
What is the most effective approach?

正確答案: B
說明:(僅 VCESoft 成員可見)
問題2
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, Glob) and integrates with Model Context Protocol (MCP) servers.
Your agent has spent 25 minutes exploring a game engine's rendering subsystem -reading shader code, buffer management, and frame synchronization logic. An engineer now asks it to understand how the physics engine integrates with rendering for collision debug overlays. You notice recent responses reference "typical rendering patterns" rather than the specific VulkanPipeline and FrameGraph classes it discovered earlier.
What's the most effective approach?

正確答案: B
說明:(僅 VCESoft 成員可見)
問題3
Anthropic's tool use documentation states: "Write instructive error messages. Instead of generic errors like 'failed', include what went wrong and what Claude should try next." A billing dispute agent uses lookup_order, which catches all exceptions and returns a tool_result with is_error:
true and the message "Tool execution failed". Monitoring shows two failure modes: the agent retries the identical call until hitting the turn limit, or it immediately calls escalate_to_human without trying alternative tools. Which change follows the documented recommendation and gives Claude the information it needs to select the correct recovery action for each error type?

正確答案: D
說明:(僅 VCESoft 成員可見)
問題4
During initial testing of the automated review pipeline, you notice that reviews of large pull requests containing more than 50 changed files sometimes take over 20 minutes and cost $8-$12 per run because of extensive agentic loops--Claude reads files, runs analysis tools, and iterates many times. Your team needs each invocation to abort after reaching either a fixed iteration count or a fixed dollar amount. Both limits must be enforced by Claude Code itself rather than by the surrounding job runner. Which configuration change directly enforces both per-invocation limits?

正確答案: D
說明:(僅 VCESoft 成員可見)
問題5
You've configured the system so that all four subagents have access to the complete set of
18 tools. During testing, agents frequently call tools outside their specialization - the synthesis agent attempts web searches, and the report generator tries to analyze documents. What is the primary cause of this poor tool selection behavior?

正確答案: A
說明:(僅 VCESoft 成員可見)
問題6
You are building a customer support resolution agent using the Claude Agent SDK. The agent handles high-ambiguity requests like returns, billing disputes, and account issues. It has access to your backend systems through custom Model Context Protocol (MCP) tools ( get_customer, lookup_order , process_refund , escalate_to_human ). Your target is 80%+ first-contact resolution while knowing when to escalate.
After expanding the agent's MCP tools with delivery-specific capabilities ( check_delivery_status , contact_driver , issue_credit , apply_promo_code , update_delivery_address , reschedule delivery ), the total tool count has grown from 4 to 10. Your evaluation suite shows tool selection accuracy has dropped from 88% to 71%. Log analysis reveals the majority of errors involve the agent selecting between semantically overlapping tools - calling issue_credit when process_refund was correct, and calling check_delivery_status when lookup_order already returns the needed data. Which approach structurally eliminates the semantic overlap identified in the logs as the error source?

正確答案: B
說明:(僅 VCESoft 成員可見)
問題7
Your agent uses three tools: get_property_details(property_id) returns data including street address, get_price_history(property_id) returns historical pricing, and get_neighborhood_info(address) returns area statistics. You observe that get_neighborhood_info always requires get_property_details first just to extract the address, even when users specify the property by ID. This creates unnecessary latency and failure coupling - if the first call fails, the neighborhood request also fails. What tool design change best addresses this?

正確答案: C
說明:(僅 VCESoft 成員可見)
問題8
An application frequently repeats the same background instructions in every API request. What is a potential downside?

正確答案: B
說明:(僅 VCESoft 成員可見)
問題9
Your test-generation process produces unit tests for new code, but reviews show that 55% are low-value: trivial assertions that verify only that functions do not throw exceptions, tests that duplicate existing coverage, or tests that ignore your team's fixture conventions. How should you reduce the rate of low-value tests being generated in the first place?

正確答案: C
說明:(僅 VCESoft 成員可見)
問題10
Which statement BEST describes Retrieval-Augmented Generation?

正確答案: C
說明:(僅 VCESoft 成員可見)
問題11
You are using Claude Code to accelerate software development. Your team uses it for code generation, refactoring, debugging, and documentation. You need to integrate it into your development workflow with custom slash commands, CLAUDE.md configurations, and understand when to use plan mode vs direct execution.
Your team has three requirements for Claude Code's behavior in your project
1. Claude must never modify files in the db/migrations/ directory
2. Claude should prefer your custom logging module over console.log
3. All TypeScript files must be auto-formatted with Prettier after
every edit
All three are currently written as instructions in your project's CLAUDE.md. During a complex refactoring session, a developer discovers that Claude edited a migration file, violating requirement #1. How should you restructure these requirements across Claude Code's configuration mechanisms?

正確答案: D
說明:(僅 VCESoft 成員可見)
問題12
A chatbot frequently receives greetings, policy questions, and technical support requests. Which architecture improves maintainability?

正確答案: A
說明:(僅 VCESoft 成員可見)
問題13
Your multi-agent research pipeline crashed after processing12 of 28 documents. The web search agent had identified relevant sources, the document analyzer had partially completed extraction, and the synthesizer had begun pattern identification. You need to resume processing without repeating work or losing fidelity of prior findings. What state management approach best balances information fidelity with context efficiency when restoring agent state?

正確答案: C
說明:(僅 VCESoft 成員可見)
問題14
An organization wants predictable outputs for automated invoice classification. Which API parameter should generally be LOWER?

正確答案: D
說明:(僅 VCESoft 成員可見)
問題15
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.
Your extraction pipeline processes restaurant menus and must output structured JSON with fields for item names, descriptions, prices, and dietary tags. Some menus use inconsistent formatting-- prices as "$12" vs "12.00", dietary info as icons vs text.
What's the most reliable approach?

正確答案: B
說明:(僅 VCESoft 成員可見)