Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Anthropic Claude Certified Architect – Foundations CCAR-F Question # 43 Topic 5 Discussion

Anthropic Claude Certified Architect – Foundations CCAR-F Question # 43 Topic 5 Discussion

CCAR-F Exam Topic 5 Question 43 Discussion:
Question #: 43
Topic #: 5

You are integrating Claude Code into your Continuous Integration/Continuous Deployment (CI/CD) pipeline. The system runs automated code reviews, generates test cases, and provides feedback on pull requests. You need to design prompts that provide actionable feedback and minimize false positives.

During initial testing of the automated review pipeline, you notice that reviews on large pull requests containing more than 50 changed files sometimes take over 20 minutes and cost $8–$12 per run because of extensive agentic loops. Claude reads files, runs analysis tools, and iterates many times. Your team needs each invocation to abort once it reaches both a fixed iteration count and a fixed dollar amount, enforced by Claude Code itself rather than by the surrounding job runner.

Which configuration change directly enforces both per-invocation caps?


A.

Switch the --model flag to a smaller, less expensive model so each iteration uses fewer tokens and has a lower per-call cost.


B.

Set timeout-minutes: 5 on the GitHub Actions job step and monitor per-run costs through the Anthropic Console usage dashboard.


C.

Add --max-turns 10 --max-budget-usd 2.00 to the claude -p invocation to cap iterations and spending.


D.

Set --permission-mode dontAsk to automatically deny tool-permission requests not included in the explicitly allowed set.


Get Premium CCAR-F Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.