A team wants to detect when its assistant starts hallucinating after model or prompt updates. Which technique is specific to GenAI failure modes?
- Exam domain
- Testing, Validation, and Troubleshooting11% of the exam
- Difficulty
- Hard
- In this mock
- 13 questions on this domainPractise this domain
Why the exam asks this
Task 4.3: Implement monitoring systems for GenAI applications.
Objective in the exam guide: Skill 4.3.6: Develop FM-specific troubleshooting frameworks to identify unique GenAI failure modes not present in traditional ML systems (for example, by using golden datasets to detect hallucinations, output diffing techniques to conduct response consistency analysis).
GenAI systems fail while every health check is green. Professionals need techniques that test the content itself.
Why C is the answer
A golden dataset of questions with verified answers, re-run after each update and compared with output diffing
Golden datasets and output comparison reveal hallucinations and inconsistency that infrastructure checks cannot see.
Remember: GenAI fails silently; detect it with golden datasets and output comparison.
How it works
Traditional monitoring checks that a service responds. A GenAI service can respond perfectly and still be wrong.
A golden dataset holds questions with verified answers. Re-running it after each change shows whether answers stayed correct.
Output diffing compares new answers with previous ones to spot inconsistency and drift.
Clues in the question
The words that point to the answer, and what each one tells you.
- Specific to GenAI failure modes
- Content-level checks, not infrastructure.
In detail
- A request can return HTTP 200 with a confident, wrong answer.
- Reasoning path tracing helps find logical errors in multi-step outputs.
Side by side with look-alikes
| Check | Detects hallucination? |
|---|---|
| Golden dataset with diffing | Yes |
| CPU and memory | No |
| Request count | No |
| HTTP 200 | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Counting the number of requests per dayWrong
Request counts do not measure correctness.
B. Checking that the API returns HTTP 200WrongMost tempting
A successful status code says nothing about the content.
Why it tempts: It is the standard health check, and a failed call is easy to spot. But a hallucination arrives with a perfect 200.
C. A golden dataset of questions with verified answers, re-run after each update and compared with output diffingRight
GenAI fails silently; detect it with golden datasets and output comparison.
D. Monitoring only server CPU and memoryWrong
Infrastructure metrics look healthy while answers are wrong.
In practice
- Grow the golden set with every confirmed bug.
- Run it automatically on every model, prompt or retrieval change.
Use case
An illustrative scenario, not a real incident.
After a model upgrade, the golden set shows 6 of 200 answers now cite a non-existent policy, and the upgrade is held back.
See how it works
flowchart LR
R["Request"] --> S["Service returns 200"]
S --> H["Health check: green"]
S --> G["Golden set comparison"]
G --> D{"Answer matches the verified one?"}
D -->|"No"| F["Hallucination detected"]How to read this chart
- "Request" leads to "Service returns 200".
- "Service returns 200" leads to "Health check: green" and "Golden set comparison".
- "Golden set comparison" leads to "Answer matches the verified one?".
- At "Answer matches the verified one?": if "No", go to "Hallucination detected".