Q13 — AWS AIF-C01 Ch.3
Question 13 of 100 | ← Chapter 3
A company is using a text-generation foundation model (FM) on Amazon Bedrock to power a customer-facing chatbot service. The company wants to prevent the FM from answering potentially sensitive or inappropriate customer questions. Which solution incurs the least operational overhead while meeting these requirements?
- A. Train a text classifier on Amazon SageMaker to detect and filter unwanted questions
- B. Define prohibited topics in Amazon Bedrock Guardrails and enable guardrails when invoking the FM ✓
- C. Use Amazon Comprehend’s entity extraction capability to prompt and filter unwanted questions
- D. Train a sensitive-topic detection model using Amazon SageMaker BlazingText built-in algorithm
Correct Answer: B. Define prohibited topics in Amazon Bedrock Guardrails and enable guardrails when invoking the FM
Explanation
Amazon Bedrock Guardrails provides a mechanism to define and enforce policies—including prohibited topics—on foundation models. By defining prohibited topics and enabling guardrails during FM invocation, the company can effectively block responses to sensitive or inappropriate questions. This approach incurs less operational overhead than alternatives requiring custom model training, complex integrations, or additional NLP pipelines.