CCAR-F practice › Prompt Engineering & Structured Output · Question 84 of 105
Prompt Engineering & Structured Output · Select TWO
A team wants to move workloads to the Message Batches API for its 50% cost savings. Which workloads are good candidates? (Select two)
Show answer and explanation
Answer: A and C — A nightly job that generates unit tests for code merged that day / A weekly audit of license terms across all repository dependencies
Batch fits non-blocking, latency-tolerant work such as nightly test generation (a) and weekly audits (c). A blocking pre-merge check (b) needs the synchronous API, since batches can take up to 24 hours with no latency SLA. The batch API doesn't support multi-turn tool calling within a request, so an agent that runs tools mid-task (d) doesn't fit.
Keep going
More Prompt Engineering & Structured Output questions
- A Claude session generates a database migration, then in the same session is asked to…
- A team moved its large pull request reviews to one pass per file, and review depth is…
- A review pipeline posts every finding directly to pull requests. The team wants to send…
- A CI review bot is told to "check that code comments are accurate." Developers dismiss…
- A review bot's security findings are almost always accepted, but its "performance"…