CCARF Practice Question

Paper 5 · Question 17

D3 Claude Code Configuration & Workflows · Paper 5

[Scenario: Claude Code for Continuous Integration] Your CI pipeline includes two Claude-based code review modes: a pre-merge-commit hook that blocks PR merge until completion, and a “deep analysis” that runs overnight, polls for batch completion, and posts detailed suggestions to the PR. You want to reduce API cost using the Message Batches API, which offers 50% savings but requires polling and can take up to 24 hours. Which mode should use batch processing?

Show answer & explanations

Correct answer: B

Related Claude Code Configuration & Workflows questions

Paper 5 Q15[Scenario: Claude Code for Continuous Integration] Your CI/CD system runs three Claude-based analyses: (1) fast style checks on every PR tha…Paper 5 Q21[Scenario: Claude Code for Continuous Integration] Your pipeline script runs `claude "Analyze this pull request for security issues"`, but t…Paper 5 Q24[Scenario: Claude Code for Continuous Integration] Your team wants to reduce API costs for automated analysis. Currently, synchronous Claude…Paper 5 Q26[Scenario: Code Generation with Claude Code] You need to add Slack as a new notification channel. The existing codebase has clear, establish…Paper 5 Q27[Scenario: Code Generation with Claude Code] Your CLAUDE.md file has grown to 400+ lines containing coding standards, testing conventions, a…

More: Paper 5 · All practice questions