Question 19
CCA-F is a newly released exam. These practice questions reflect our best current understanding — the exact wording and question formats may change in the live exam until the certification matures. Use them to learn the concepts, not to memorize.
Scenario: Claude Code for Continuous Integration - Your CI/CD system runs three Claude-based analyses: (1) fast style checks on every PR that block merging until completion, (2) comprehensive weekly security audits of the entire codebase, and (3) nightly test-case generation for recently changed modules. The Message Batches API offers 50% savings but processing can take up to 24 hours. You want to optimize API cost while maintaining an acceptable developer experience. Which combination correctly matches each task to an API approach? Which combination is correct?
- AUse the Message Batches API for all three tasks to maximize 50% savings, configuring the pipeline to poll for batch completion.
- BUse synchronous calls for PR style checks; use the Message Batches API for weekly security audits and nightly test generation.
- CUse synchronous calls for all three tasks for consistent response times, relying on prompt caching to reduce costs across workloads.
- DUse synchronous calls for PR style checks and nightly test generation; use the Message Batches API only for weekly security audits.