CCARF Practice Question

Paper 5 · Question 21

D3 Claude Code Configuration & Workflows · Paper 5

[Scenario: Claude Code for Continuous Integration] Your pipeline script runs `claude "Analyze this pull request for security issues"`, but the job hangs indefinitely. Logs show Claude Code is waiting for interactive input. What is the correct approach to run Claude Code in an automated pipeline? What is the correct approach?

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 Q17[Scenario: Claude Code for Continuous Integration] Your CI pipeline includes two Claude-based code review modes: a pre-merge-commit hook tha…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