CertKeen

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?

  1. A.Upload the PDF once with the Files API and reference its file_id in later requests.
  2. B.Split the PDF into 300 single-page images and send only the pages the user mentions.
  3. C.Convert the PDF to a much smaller, lower-resolution file before each upload.
  4. 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