Practice Free CCA-F Exam Online Questions
During a highly complex, multi-phase refactoring task, the context window risks becoming exhausted by verbose discovery output before any code is modified.
What built-in mechanism is designed to mitigate this during the planning phase?
- A . The /compact command run automatically inside a PreToolUse hook.
- B . The Message Batches API.
- C . The Explore subagent, which isolates verbose discovery output and returns summarized findings to the main conversation.
- D . The –json-schema CLI flag, which forces discovery output to be heavily compressed.
What is the required architectural pattern for passing context from a coordinator to a newly spawned subagent?
- A . The subagent automatically inherits the coordinator’s full conversation history.
- B . The coordinator writes its full context to a global state object accessed via an MCP resource.
- C . Explicitly provide only the specific, relevant context needed for the subagent’s assigned task in its prompt.
- D . Provide the coordinator’s full context window inside a Read tool payload.
What is the recommended strategy for an agent to trace function usage across wrapper modules in an unfamiliar codebase?
- A . Read all project files upfront to build a comprehensive context map in memory.
- B . Use the Edit tool to temporarily inject logging statements into every module and observe the output.
- C . Start with Grep to identify all exported names and entry points, search for each name across the codebase, and then use Read to trace specific flows.
- D . Use Glob to find all. js and .ts files and concatenate them using Bash to preserve token sequence.
Your agent achieves a low first-contact resolution rate because it attempts to autonomously handle complex policy exceptions, while simultaneously escalating straightforward tasks.
What is the most effective approach to improve this escalation calibration?
- A . Add explicit escalation criteria to the system prompt with few-shot examples demonstrating when to escalate versus resolve autonomously.
- B . Deploy a separate classifier model to predict which requests need escalation before the main agent begins.
- C . Require the agent to self-report a confidence score (1-10) and route to humans when confidence falls below 7.
- D . Implement sentiment analysis to detect frustration levels and automatically escalate when they are high.
A developer at quicktechie.com wants to configure Claude Code to always use their preferred Vim keybindings, without enforcing this standard on the rest of their team.
Where must this configuration be placed?

- A . Option A
- B . Option B
- C . Option C
- D . Option D
Why is returning an empty array [ ] for a database timeout considered an architectural anti-pattern in error propagation?
- A . It exceeds the context window limits of the coordinator.
- B . It misleads the coordinator into concluding the data does not exist, rather than knowing an access failure occurred.
- C . It automatically triggers an infinite retry loop within the subagent.
- D . It violates strict JSON schema syntax requirements for tool results.
When configuring a JSON extraction schema for document categorization where new or unexpected document types might appear, what is the recommended design pattern?
- A . Use an open-ended string field with no constraints to maximize flexibility.
- B . Use a rigid Enum containing only the currently known document types.
- C . Include an other enum value paired with a document_type_detail string field for extensible categorization.
- D . Use a PreToolUse hook to intercept and reject unknown document types.
When implementing custom subagents to delegate tasks, how do these subagents access and inherit your configured project skills?
- A . Custom subagents automatically inherit all skills loaded by the parent coordinator agent.
- B . Built-in agents (like Explorer) automatically cascade project skills to newly spawned subagents.
- C . Subagents do not automatically see skills; skills must be explicitly listed in the skills : field of the custom subagent’s markdown definition.
- D . Skills are passed to subagents dynamically by declaring them as parameters in the Task tool call.
When building a conversation loop to handle multi-turn tool calling, what is the only reliable signal to determine when Claude has finished requesting tools and the loop should terminate?
- A . The model’s self-reported confidence score reaches 0.9.
- B . The assistant text content includes the phrase ‘task complete’.
- C . The token count reaches the predefined limit.
- D . The stop_reason field of the API response equals end_turn.
A developer implements an escalation rule that triggers human review whenever the customer uses angry language.
Why is this considered an anti-pattern?
- A . Sentiment does not correlate with task complexity; even angry customers may have simple requests that can be handled autonomously.
- B . The sentiment threshold should only apply to explicit profanity to avoid false positives.
- C . The agent should always issue an automatic partial refund to calm the customer before escalating.
- D . The agent lacks a PostToolUse hook to properly process text sentiment scores.
