S5 · scenario95 questions · 27 free
Claude Code in CI/CD (S5)
Automated code review, test generation, and PR feedback in CI/CD.
The Claude Code in CI/CD scenario (S5) is Claude running inside your pipeline: automated code review, test generation, and PR feedback — non-interactive, gated, and repeatable. The exam tests whether you can make agent output deterministic and safe enough to block a merge on.
Expect questions on wiring Claude Code into CI/CD, structured JSON output for machine consumption, validation and retry loops, and the review architectures that keep automated feedback trustworthy.
This scenario spans 12 subtopic areas, covered by 95 practice questions across 18 easy, 54 medium, and 23 hard items.
Sample question · free
Your CI/CD pipeline has a top-level CLAUDE.md with shared PR comment guidelines. Each service subdirectory needs service-specific review rules. Using @import syntax, where should the service-specific rules file be placed so the top-level CLAUDE.md can import it?
What's covered
Subtopic areas in Claude Code in CI/CD, drawn from the exam blueprint:
3.1Configure CLAUDE.md files with appropriate hierarchy, scoping, and modular organization73.2Create and configure custom slash commands and skills73.3Apply path-specific rules for conditional convention loading73.4Determine when to use plan mode vs direct execution63.5Apply iterative refinement techniques for progressive improvement43.6Integrate Claude Code into CI/CD pipelines64.1Design prompts with explicit criteria to improve precision and reduce false positives84.2Apply few-shot prompting to improve output consistency and quality134.3Enforce structured output using tool use and JSON schemas114.4Implement validation, retry, and feedback loops for extraction quality114.5Design efficient batch processing strategies74.6Design multi-instance and multi-pass review architectures8