RAG for Everyone

← Back to practice

Chapter 21 Interview Prep50 min review

Interview Questions: Prompt Testing

Q01

What is prompt testing?

Repeatable evaluation of prompt behavior across known questions, failures, and release changes.

Q02

What are golden questions?

Representative cases with expected answers, citations, refusals, or conflict behavior.

Q03

Why test missing evidence?

To verify the prompt refuses instead of inventing unsupported answers.

Q04

What is citation support?

The cited source directly supports the claim attached to it.

Q05

How do you test prompt injection?

Include retrieved text that tries to override instructions and verify it is treated as data.

Q06

Why version prompts?

So answer behavior can be traced to a specific prompt release and rolled back.

Q07

What is a release gate?

A quality threshold that blocks prompt changes when critical tests fail.

Q08

What is false refusal?

The assistant refuses even though enough evidence exists to answer.

Q09

What metrics matter?

Groundedness, citation support, refusal accuracy, injection pass rate, format stability, and regression rate.

Q10

What is the senior answer?

Prompt testing treats prompts like releaseable product behavior, with baselines, assertions, risk slices, and gates.

← Practice BankProject →