Applications in several AWS accounts need Amazon Bedrock access, but a central team must enforce prompt filtering and model selection before every invocation. Which architecture BEST meets these requirements?
Show the answer
Correct answerB. Route applications through a central API that applies controls before invoking Bedrock.
AWhy not this: A central role controls AWS permissions, but callers can bypass application-level prompt filtering.
BWhy this is right: A central API can validate prompts and choose approved models before making each Bedrock invocation.
CWhy not this: Approved retrieval content does not enforce filtering or model selection for every model invocation.
DWhy not this: Central logging supports auditing after invocation but does not enforce prompt filtering before invocation.
A central application API can enforce filtering and model selection before invoking Bedrock. Assuming a shared invocation role centralizes permissions but does not force requests through application-level prompt controls.