An application calls a foundation model hosted outside Amazon Bedrock but must enforce an existing Bedrock guardrail on prompts and responses. Which integration meets this requirement without moving the model?
Show the answer
Correct answerC. Call ApplyGuardrail for inputs and outputs, and enforce its results
AWhy not this: Invocation logging records supported Bedrock invocations; it does not enforce policies on external model content.
BWhy not this: An external model does not enforce a Bedrock guardrail merely because its identifier appears in a request.
CWhy this is right: ApplyGuardrail evaluates supplied content independently of model hosting; the application must act on the results.
DWhy not this: Permission to read guardrail configuration does not evaluate content or enforce guardrail decisions.
ApplyGuardrail evaluates content independently of model invocation, allowing an application to check inputs and outputs for externally hosted models. Passing a guardrail identifier to an external model does not make that model enforce Bedrock Guardrails.