Claude Certified Architect — Professional · Free practice question 4 of 12
Reuse uploaded files by ID
A review tool at Ketteridge Legal sends the same 300-page contract PDF as base64 in every request during a review session. Which API feature reduces the repeated upload overhead?
- A.Upload the PDF once with the Files API and reference its file_id in later requests.
- B.Split the PDF into 300 single-page images and send only the pages the user mentions.
- C.Convert the PDF to a much smaller, lower-resolution file before each upload.
- D.Send the PDF only in the first request and assume the model remembers it afterwards.
Show answer and explanation
Correct answer: A. Upload the PDF once with the Files API and reference its file_id in later requests.
Why: The Files API lets you upload a document once and reference it by file_id across requests. Splitting or degrading the document loses content, and the Messages API is stateless, so the model doesn't remember earlier requests unless the content is sent again or referenced.
More free Claude Certified Architect — Professional questions
- Adaptive thinking on current models
- Key batch results by custom_id
- Mid-conversation system messages keep the cache
- 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