‹ All AIF-C01 questions

AIF-C01 Practice Question 20: Hallucination Grounding Check

AWS Certified AI Practitioner (AIF-C01) · Test 2 · question 10 of 10

Security, Compliance, and Governance for AI Solutionsmedium

A bank's question-answering application retrieves passages from its fee schedule and passes them to a foundation model with each customer question. Audits find that some answers still state fees that don't appear in the retrieved passages. The bank wants to automatically block answers that aren't supported by the source passages before customers see them. What should it use?

Select one answer
Show answer and explanation

Answer:

  • B. An Amazon Bedrock Guardrails contextual grounding check, with a threshold on the grounding and relevance scores

RAG reduces hallucinations, but it doesn't eliminate them. The model can still add details that aren't in the retrieved text. A contextual grounding check in Amazon Bedrock Guardrails takes the reference source, the query, and the model response, then scores two things. Grounding asks whether the response is supported by the source; any new information counts as ungrounded. Relevance asks whether it answers the question. Responses that score below the thresholds you set are detected as hallucinations and blocked. That's automated output validation against the source (option B).

- A is wrong because lower temperature makes output more deterministic, not more truthful. A model can consistently repeat the same invented fee. - C is wrong because a denied topic would block every fee question, which defeats the purpose of the application. It doesn't check whether an answer matches the source. - D is wrong because logging produces an audit trail after the fact. It doesn't stop an unsupported answer from reaching the customer.

Reference: Use contextual grounding check to filter hallucinations in responses

Practice Test 2 ›

Study guides for AIF-C01

AI engineer roadmap 2026: skills, certs and the orderAI engineer roadmap for 2026: skills to learn in order, AI engineer vs ML engineer, which certifications fit each stage, and what to skip.
How AI Is Changing Software Jobs: Where to PrepareHow AI is changing software jobs: what history shows, the evidence on junior developers, what Klarna learned, new AI roles and five domains to prepare for.
How AWS Certification Exams Work: Scoring and RenewalHow AWS certification exams work: levels, booking, question types, unscored questions, scaled scores, pass marks, validity and how recertification works.
What Is Amazon Bedrock? Models, Pricing and GuardrailsWhat is Amazon Bedrock? How a request reaches a model, what happens to your data, token pricing, Guardrails, Knowledge Bases, AgentCore and the exam traps.
Google Cloud Generative AI Leader vs AWS AI PractitionerGoogle Cloud Generative AI Leader vs AWS AI Practitioner: format, cost, topics, free preparation and which certification to take first.
AWS certification cost in 2026, and free ways to prepareWhat every AWS certification costs in 2026 in USD and INR, retake and reschedule rules, the 50% voucher, and the free official ways to prepare.
AWS Generative AI Developer Professional (AIP-C01) guideWhat the AWS Certified Generative AI Developer – Professional (AIP-C01) exam covers - format, cost, the five domains, the services, and how to prepare.
Best AI certifications 2026: AWS, Google, Microsoft, ClaudeThe best AI certifications in 2026 from AWS, Google, Microsoft, Claude and Databricks, by level, with price, status and which one to take first.
Which AWS certification should you get? 2026 roadmapWhich AWS certification to get first, by role and experience, with each exam's status in October 2026, what is changing, and prices in USD and INR.
What Is RAG? How Retrieval-Augmented Generation WorksWhat RAG is and how it works: chunking, embeddings, vector search, hybrid search, reranking, GraphRAG and agentic RAG on AWS, Google and Azure.
Prompt engineering vs RAG vs fine-tuningWhen to use prompt engineering, retrieval-augmented generation, fine-tuning or continued pre-training, compared on cost, freshness, hallucination and privacy.