FEFreeExamDumps.in

Claude Certified Architect

Topic 2

Question 16

CCA-F is a newly released exam. These practice questions reflect our best current understanding — the exact wording and question formats may change in the live exam until the certification matures. Use them to learn the concepts, not to memorize.

Scenario: Claude Code for Continuous Integration - Your CI pipeline runs the Claude Code CLI (in `--print` mode) using CLAUDE.md to provide project context for code review, and developers generally find the reviews substantive. However, they report that integrating findings into the workflow is difficult—Claude outputs narrative paragraphs that must be manually copied into PR comments. The team wants to automatically post each finding as a separate inline PR comment at the relevant place in code, which requires structured data with file path, line number, severity level, and suggested fix. Which approach is most effective? Which approach is most effective?

  • AAdd an “Output Format for Review” section to CLAUDE.md with examples of structured findings so Claude learns the expected format from project context.
  • BUse the CLI flags `--output-format json` and `--json-schema` to enforce structured findings, then parse the output to post inline comments via the GitHub API.
  • CInclude explicit formatting instructions in the review prompt requiring each finding to follow a parseable template like `[FILE:path] [LINE:n] [SEVERITY:level] ...`.
  • DKeep narrative review format but add a summarization step that uses Claude to generate a structured JSON summary of findings.