CCARF Practice Question

Paper 5 · Question 22

D4 Prompt Engineering & Structured Output · Paper 5

[Scenario: Claude Code for Continuous Integration] A pull request changes 14 files in an inventory tracking module. A single-pass review that analyzes all files together produces inconsistent results: detailed feedback on some files but shallow comments on others, missed obvious bugs, and contradictory feedback (a pattern is flagged in one file but identical code is approved in another file in the same PR). How should you restructure the review?

Show answer & explanations

Correct answer: B

Related Prompt Engineering & Structured Output questions

Paper 5 Q14[Scenario: Claude Code for Continuous Integration] Your code review component is iterative: Claude analyzes the changed file, then may reque…Paper 5 Q16[Scenario: Claude Code for Continuous Integration] Your automated reviews find real issues, but developers report the feedback is not action…Paper 5 Q18[Scenario: Claude Code for Continuous Integration] Your automated review analyzes comments and docstrings. The current prompt instructs Clau…Paper 5 Q19[Scenario: Claude Code for Continuous Integration] Your automated review generates test-case suggestions for each PR. Reviewing a PR that ad…Paper 5 Q20[Scenario: Claude Code for Continuous Integration] After an initial automated review identifies 12 findings, a developer pushes new commits …

More: Paper 5 · All practice questions