CCARF Practice Question

Paper 5 · Question 18

D4 Prompt Engineering & Structured Output · Paper 5

[Scenario: Claude Code for Continuous Integration] Your automated review analyzes comments and docstrings. The current prompt instructs Claude to “check that comments are accurate and up to date.” Findings often flag acceptable patterns (TODO markers, simple descriptions) while missing comments describing behavior the code no longer implements. What change addresses the root cause of this inconsistent analysis? What change addresses the root cause?

Show answer & explanations

Correct answer: D

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 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 …Paper 5 Q22[Scenario: Claude Code for Continuous Integration] A pull request changes 14 files in an inventory tracking module. A single-pass review tha…

More: Paper 5 · All practice questions