AWS AI Practitioner AIF-C01 · Guidelines for Responsible AI · hard

A wealth-management firm deploys a customer-service chatbot using Amazon Bedrock Knowledge Bases. Compliance requires that the chatbot must (1) never provide specific stock-picking investment advice, (2) automatically mask any Social Security Numbers (SSNs) in prompts or responses, and (3) block responses that contain hallucinated facts not supported by the retrieved Knowledge Base chunks. Which two Amazon Bedrock Guardrails policies should be enabled? (Select two.)

Published · Last updated · checked before publication — how we verify questions

Options

  • AIncreasing the foundation model temperature setting to 1.0
  • BDenied Topics and Sensitive Information PII FiltersCorrect answer
  • CDisabling HTTPS TLS encryption on the Bedrock API endpoint
  • DContextual Grounding Check to block RAG hallucinationsCorrect answer

Answers: B. Denied Topics and Sensitive Information PII Filters; D. Contextual Grounding Check to block RAG hallucinations

In Amazon Bedrock Guardrails, Denied Topics + Sensitive Information Filters (PII redaction/masking) prevent stock-picking advice and mask SSNs (B), while Contextual Grounding Check evaluates whether the model's response is factually grounded in the retrieved RAG source passages and relevant to the user query, blocking ungrounded hallucinations (D).

Why the other options are wrong

  • A. Increasing the foundation model temperature setting to 1.0 — Increasing temperature to 1.0 increases hallucinations rather than blocking denied topics or masking PII.
  • C. Disabling HTTPS TLS encryption on the Bedrock API endpoint — Bedrock API endpoints always require TLS, and transport settings do not filter topics or hallucinations.

All Guidelines for Responsible AI questions and the topic overview →

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.