Operating, Monitoring, and Securing ML and AI Solutions

A Bedrock application repeatedly sends a large, identical policy document followed by a different customer question, and every answer must use that document. The model supports prompt caching, and requests arrive within its cache lifetime; which change BEST reduces input processing costs without changing the model or removing context?

Show the answer

Correct answerA. Place a cache checkpoint after the shared policy prefix

AWhy this is right: The identical prefix can be reused while each distinct customer question is still processed.

BWhy not this: Different questions can require different answers even when they share the same policy document.

CWhy not this: Reserving peak capacity does not specifically eliminate repeated processing of the shared prefix.

DWhy not this: Omitting the document violates the requirement that each answer use the policy context.

A cache checkpoint after the shared prefix lets eligible requests reuse the policy context at cached-input pricing. Caching complete answers by policy document would incorrectly reuse answers across different customer questions.