Flashcardsfor IT Certifications

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.

Last updated: · Report an error on this page

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