Operating, Monitoring, and Securing ML and AI Solutions

A Bedrock application must replace email addresses in generated responses with placeholders while preserving the remaining response. Which guardrail configuration should the engineer choose?

Show the answer

Correct answerD. A sensitive information filter with the anonymize action

AWhy not this: Filtering common domains neither detects all email addresses nor provides sensitive-data anonymization.

BWhy not this: Denied topics restrict discussion subjects rather than replacing detected email addresses with placeholders.

CWhy not this: Blocking rejects the affected response instead of preserving its nonsensitive content.

DWhy this is right: Anonymization replaces detected email addresses with placeholders while preserving surrounding response text.

The anonymize action masks detected sensitive information, such as email addresses, while retaining the surrounding content. The block action prevents delivery of the affected response rather than returning it with sensitive values replaced.