An interactive Amazon Bedrock application repeatedly sends a long, identical policy document followed by unique customer questions requiring fresh answers. The supported model's cache minimum is met, and requests arrive within its cache lifetime; which design reduces input processing costs without delaying responses or reusing previous answers?
Show the answer
Correct answerA. Place a prompt cache checkpoint after the shared policy prefix.
AWhy this is right: The checkpoint includes the reusable policy prefix while leaving each unique question to be processed.
BWhy not this: Batch inference defers processing and does not meet the interactive response requirement.
CWhy not this: A checkpoint before the policy prefix excludes the expensive shared content from the cached prefix.
DWhy not this: The policy document alone does not identify a customer's question, so cached answers could be inappropriate.
A checkpoint after the shared prefix lets Bedrock reuse processing of the policy document while processing each new question. Response caching keyed only by the document could return an answer to a different customer's question.