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.