Practice Free CCA-F Exam Online Questions
Which configuration ensures Claude will strictly invoke a specific data extraction tool rather than returning conversational text?

- A . Option A
- B . Option B
- C . Option C
- D . Option D
You need to deterministically block any refund transaction that exceeds $500, escalating it to a human instead.
What is the architecturally correct method to enforce this critical business rule using the Agent SDK?
- A . Add a strong, capitalized warning in the agent’s system prompt forbidding refunds over $500.
- B . Provide 5 negative few-shot examples showing the agent successfully refusing high-value refunds.
- C . Implement a hook (e.g., PostToolUse or PreToolUse) to programmatically intercept and block the tool call execution.
- D . Set the agent’s tool_choice parameter to auto so it can assess the financial risk dynamically.
When re-running an automated PR review after new commits, what is the best practice to avoid posting duplicate comments on existing issues?
- A . Clear the context window completely using /clear before every run.
- B . Include prior review findings in the context and instruct Claude to report only new or still-unaddressed issues.
- C . Use the Message Batches API to automatically deduplicate comments across runs.
- D . Run grep via Bash to parse previous GitHub comments and filter them out programmatically.
You need to create a reusable behavior for complex refactoring.
To prevent the exploration noise from polluting the main session’s context window, which configuration should you use in your SKILL. md?
- A . Set context: fork in the YAML frontmatter.
- B . Set isolation: true in the YAML frontmatter.
- C . Add the /compact command at the end of the skill’s instructions.
- D . Use a standard custom command in. claude/commands/instead of a skill.
Why is it critical to require subagents to include publication or data collection dates in their structured outputs before passing them to a downstream synthesis agent?
- A . To automatically trigger the Message Batches API’s 24-hour processing window logic.
- B . To prevent temporal differences in the underlying data from being misinterpreted by the synthesis agent as direct factual contradictions.
- C . To ensure strict ISO 8601 validation passes when using the tool_choice: " any" parameter.
- D . To sort the JSON keys alphabetically and reduce context window token consumption.
When implementing path-specific rules for conditional convention loading in Claude Code, which of the following statements accurately describe the architecture? Choose 2 correct answers.
- A . Path-specific rules are defined using YAML frontmatter with a paths array containing glob patterns.
- B . Path-specific rule files must be stored exclusively in the user-level ~/. claude/rules/directory to prevent team-wide conflicts.
- C . They are ideal for applying coding conventions to file types (like **/*. test. tsx) that are distributed across many different subdirectories.
- D . Path-specific rules automatically execute a PreToolUse hook to format files before they are loaded into context.
Your project has React components, API handlers, and database models. Test files are spread throughout the codebase next to the code they test.
How can you ensure Claude automatically applies the correct testing conventions when generating code?
- A . Consolidate all conventions in the root CLAUDE .md file and rely on Claude to infer the correct section.
- B . Create rule files in. claude/rules/with YAML frontmatter specifying glob patterns like **/*. test.tsx.
- C . Create an MCP server that injects testing rules into the prompt manually.
- D . Place a separate CLAUDE. md file in each subdirectory containing test-specific conventions.
Which of the following statements correctly describe best practices for few-shot prompting? Choose 2 correct answers.
- A . Few-shot examples are highly effective for demonstrating ambiguous-case handling.
- B . Few-shot examples should be avoided when extracting data from documents with highly varied structures.
- C . Every few-shot example provided should use a completely different output format to show flexibility.
- D . The examples provided should maintain identical formatting to establish a clear pattern for the model to follow.
Which of the following are recommended practices for configuring subagent invocation and prompting? Choose 2 correct answers.
- A . Designing coordinator prompts that specify high-level research goals and quality criteria rather than rigid step-by-step procedural instructions.
- B . Sharing the full coordinator conversation history with every subagent to maximize context visibility across the pipeline.
- C . Configuring the AgentDefinition with specific descriptions, system prompts, and carefully scoped tool restrictions for each subagent type.
- D . Omitting explicit background information in the Task call, relying on automatic context inheritance from the parent.
How can an architect split a massive, monolithic CLAUDE. md file to selectively include external standards files based on the current module?
- A . By utilizing the #include macro inside the file’s YAML frontmatter.
- B . By using the @import syntax to reference and pull in external markdown files.
- C . By compiling a PreToolUse hook to merge files dynamically before generation.
- D . By specifying an allowed-tools array pointing to specific directories.
