Course menuAIF-C01

Exams / AIF-C01 / Securing AI systems / Question 5

AIF-C01 practice question: Securing AI systems (5 of 5)

Security, Compliance, and Governance for AI Solutions A free question from our original AIF-C01 practice exam. Try it, then open the answer to see why each option is right or wrong.

Last verified against current AWS documentation ·How we write our questions

A pension provider's RAG assistant answers members' questions from retrieved policy documents. Sometimes it adds details that the retrieved text does not contain.

The provider wants unsupported answers blocked automatically, without a reviewer reading every response.

Which Amazon Bedrock Guardrails feature should it use?

Choose one answer.

  1. A. Contextual grounding check, which tests whether each response is supported by the source text and relevant to the question.
  2. B. Sensitive information filter, which detects and masks personal data such as dates of birth in responses.
  3. C. Denied topics, which block a subject the developers define, such as early pension withdrawals.
  4. D. Word filters, which block exact words and phrases from a custom list, such as competitor product names.
Show the answer and explanation

Answer: A

  • A. Right: Correct. The check compares each response with the grounding source and flags answers that go beyond it, which catches hallucinations in RAG applications. Learn more: Detect and filter harmful content by using Amazon Bedrock Guardrails (opens in a new tab)
  • B. Wrong: Sensitive information filters protect personal data. They do not check whether an answer is supported by the retrieved policy text.
  • C. Wrong: Denied topics stop a whole subject from being discussed. An invented detail about an allowed pension rule would still pass, because the subject itself is permitted.
  • D. Wrong: Word filters match exact words. They cannot tell whether a sentence is supported by a source document.

Explanation

In a RAG assistant the main risk is an answer that goes beyond the retrieved documents. A contextual grounding check compares each response with the source and the question, so unsupported content can be blocked. This question tests choosing the guardrail that addresses hallucination rather than content categories.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.

Want more on Securing AI systems? The 5 full-length practice sets have 22 more Securing AI systems questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets