Question 400
An analytics pipeline has 10,000 independent prompts with different document attachments. What property makes them suitable for asynchronous batching?
Explanation
Correct Answer
Independent document prompts can be batched because each request contains its own attachment, instructions and expected output without relying on another item's result. The orchestrator can assign stable unique IDs, process asynchronous outcomes in arbitrary completion order and join each response back to its source. It must still inspect per-item errors and incomplete results before declaring the whole dataset finished. This structure suits large overnight throughput while preserving evidence; shared mutable dependencies or immediate user deadlines would need a different execution model.
Incorrect Answers
A dependency on a prior prompt's private reasoning makes individual batch items difficult to evaluate independently. Asynchronous batching is suited to separate requests with explicit inputs, not a chain where item N needs hidden state from item N-1 to proceed. Refactor into standalone tasks or sequence dependent stages with observable handoffs. Without that design, completion order and missing predecessor results could corrupt outputs.
A one-second user-facing deadline conflicts with asynchronous batch processing whose completion is not guaranteed before that interactive response. Such calls need a synchronous low-latency path or an explicit pending status that the product accepts. Batching is attractive for throughput and noninteractive work, not for a blocking customer decision. The input attachments do not change the real-time requirement.
If all 10,000 requests mutate the same database record, their order and side effects may conflict even if each model generation is separately submitted. Asynchronous completion order is not a transaction serial order. The service needs explicit concurrency control and perhaps a sequential coordinator rather than treating unrelated writes as independent batch results. Pure document analysis is different from concurrent stateful mutation.



Claude Certified Architect - Foundations (CCA-F) Practice Tests