Claude Code in CI/CD
Claude Certified Architect – Foundations (CCAR-F) exam practice questions · 10 flashcards
Question
Claude Code hangs in a CI pipeline. Fix?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Claude Code in CI/CD practice questions and answers
- Claude Code hangs in a CI pipeline. Fix?Run with the -p (--print) flag for non-interactive mode.
- How do you get machine-parseable output in CI?--output-format json, plus --json-schema for structured findings.
- How do you give CI-invoked Claude project context?Through CLAUDE.md: testing standards, fixtures and review criteria.
- Why use a separate session to review generated code?The same session keeps its reasoning and is less likely to question its own decisions.
- How do you avoid duplicate PR comments on re-runs?Include prior review findings and tell Claude to report only new or unresolved issues.
- How do you avoid duplicate test suggestions?Give existing test files in context.
- Should Batch API be used for blocking pre-merge checks?No. Batch has no latency guarantee; use synchronous calls.
- When is Batch API right in CI?Non-blocking jobs like overnight reports or weekly audits.
- Why post findings as inline PR comments?Structured output can be mapped to exact lines for easy action.
- What's the common trap answer for CI questions?Running Claude Code interactively (without -p).