Operating, Monitoring, and Securing ML and AI Solutions

Each night an application sends 200,000 document-summary requests to an Amazon Bedrock model through on-demand InvokeModel calls. Results are needed by the next morning. Which change BEST lowers the inference cost without changing the model?

Show the answer

Correct answerA. Submit the requests as a Bedrock batch inference job

AWhy this is right: Batch inference runs the requests asynchronously at a discounted price, and the overnight window allows for that.

BWhy not this: Each document is unique, so there is no repeated prefix for caching to reuse.

CWhy not this: Provisioned Throughput is a capacity commitment billed by the hour, which suits steady high demand rather than a one-off nightly batch.

DWhy not this: Cross-Region inference spreads requests across Regions for throughput but charges the same on-demand price.

Batch inference processes a JSONL file of prompts from Amazon S3 asynchronously at a lower price than on-demand calls (half the on-demand price for supported models), which suits work that can wait hours. Prompt caching only helps when requests share a repeated prefix, and each document here is different.