Claude Certified Architect — Professional · Free practice question 2 of 12
Key batch results by custom_id
A nightly job at Calloway Press sends 50,000 requests through the Message Batches API and writes the results back by position in the input list. Some records end up with the wrong summary. What is the cause?
- A.Batch requests must all use the same prompt, so mixed prompts cause summaries to be swapped.
- B.The Batches API drops a few requests at random, which shifts every later result by one position.
- C.Results are returned in reverse order, so the job should simply read the list from the end.
- D.Results can arrive in any order; match each to its request by custom_id.
Show answer and explanation
Correct answer: D. Results can arrive in any order; match each to its request by custom_id.
Why: Anthropic's documentation states that batch results arrive in any order and should be keyed by custom_id. Each result also carries a result type (succeeded, errored, canceled or expired) to check; requests aren't silently dropped, and prompts can differ per request.
More free Claude Certified Architect — Professional questions
- Adaptive thinking on current models
- Mid-conversation system messages keep the cache
- Reuse uploaded files by ID
- Prioritize use cases by value and feasibility
- Adversarial and integration testing
- Watch tail latency, not averages
- Read-only roles behind MCP servers
- Plan mode for unfamiliar code
- Minimize sensitive data sent to the model
- Vault credentials in Managed Agents
- Pick a light model for high-volume moderation