AI & Technical question

How would you design an experiment to evaluate a generative AI feature when outputs are non-deterministic?

Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.

Start a mock interview on this question · Mock interview from a job description

What this question tests

Tests experimentation design specific to generative AI: can you adapt standard A/B testing rigor to handle non-deterministic, open-ended outputs where a single 'correct' response does not exist.

How to approach it

  1. Clarify the challenge: a generative feature can produce different valid outputs for the same input, so standard click-through-only testing is insufficient.
  2. Define the outcome metrics: a mix of automated quality proxies, relevance and groundedness scoring, and human or behavior-based signals like thumbs up/down and follow-up rate.
  3. Design the test structure: a randomized A/B test at the session level, not per-response since responses vary too much, aggregated across many interactions.
  4. Increase sample size and duration versus a typical test: higher per-response variance needs a larger sample to reach significance than a deterministic change would.
  5. Add human evaluation on a sampled subset in parallel, since automated proxies alone can miss subtly wrong but confident-sounding answers.
  6. Define success as significant improvement in aggregate quality and behavioral metrics, combined with no regression in a hallucination guardrail.

What a strong answer includes

Common mistakes

Likely follow-up questions

More ai & technical questions

More questions from these companies

Learn the skill behind it

Chapters of the AI PM course that teach what this question tests.

Preparing for a specific role?

Book summaries for this kind of question

Browse all 4,000+ questions in the bank