A SaaS company is building a content generation platform on Amazon Bedrock. Their compliance team mandates that any AI-generated content must not include specific competitor brand names, must not produce sexually explicit material, and must redact any user-supplied personally identifiable information (PII) such as email addresses before the prompt reaches the model. Which Amazon Bedrock feature should the solutions architect configure to satisfy ALL three of these requirements?
- A. Amazon Bedrock Guardrails with denied topics, content filters, and PII redaction configured✓ Correct
- B. Amazon Bedrock Model Evaluation with a custom rubric scoring brand mentions, explicit content, and PII for each response
- C. A pre-processing Lambda function in an Agents for Bedrock action group that strips brand names and PII before model invocation
- D. Amazon Macie to scan prompts for PII, combined with Amazon Comprehend custom entity recognition to detect competitor names
Explanation
Amazon Bedrock Guardrails is the purpose-built feature that covers all three requirements in a single, integrated configuration. Denied topics can be configured to block references to specific competitor brand names. Content filters with configurable thresholds can block sexually explicit material. PII redaction can be enabled to automatically detect and redact entities such as email addresses from prompts before they reach the model. Model Evaluation with a custom rubric is incorrect because Model Evaluation assesses model output quality; it does not enforce runtime content policies or redaction. A pre-processing Lambda in an action group is incorrect because, although it could handle preprocessing, it is not the recommended native Bedrock approach and would need custom code to replicate what Guardrails provides natively; it also does not filter content on the model output side. Macie combined with Comprehend is incorrect because, while these are valid AWS services, combining them externally adds unnecessary complexity and latency, and this approach still does not apply guardrails to the model's outputs. Bedrock Guardrails handles both input and output.