D3: Reducing Hallucinations
AWS Certified Generative AI Developer – Professional exam practice questions · 10 flashcards
Question
Grounding with Knowledge Bases?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Reducing Hallucinations practice questions and answers
- Grounding with Knowledge Bases?Retrieve authoritative documents and instruct model to answer from them with citations.
- Contextual grounding check?Guardrails scores grounding and relevance; blocks responses below thresholds.
- Automated Reasoning checks?Guardrails validates responses against formal policy rules with logic.
- Confidence scoring?Estimate answer reliability (e.g. retrieval scores, self-consistency) and route low-confidence to humans.
- Semantic similarity verification?Compare answer embeddings to source passages to detect unsupported claims.
- JSON Schema for structured outputs?Constrain output format and validate fields to reduce fabricated structure.
- Fact-checking step?Second pass verifying claims against sources.
- Prompt technique to curb hallucination?Allow 'I don't know', require citations, low temperature.
- Golden dataset for hallucination detection?Known Q&A pairs to measure hallucination rate continuously.
- Scenario: assistant cites policies that don't exist. Fix?RAG grounding + contextual grounding check + citation requirement.