RAG for Everyone

← Back to exercises

Chapter 1 Practice Bank25 min practice

Practice Bank: Why RAG Exists

This practice bank is built for production judgment. Each scenario asks you to decide whether RAG is appropriate, what evidence should be retrieved, and what failure should become an eval case.

Product Scenarios

Scenario 1

HR Policy Assistant

An employee asks about parental leave. Decide the source policy, citation requirement, and failure risk.

Scenario 2

Customer Support Refund Bot

A refund answer depends on country, product tier, and policy version. Define the metadata needed.

Scenario 3

Sales Enablement Assistant

A salesperson asks if they can promise a restricted discount. Identify the approval source and escalation rule.

Scenario 4

Legal Contract Assistant

A PM asks whether model-output logging is allowed. Identify what the assistant can answer and what legal must review.

Scenario 5

Healthcare Data Assistant

A clinician asks about patient data in a demo. Identify access, compliance, and human-review constraints.

Platform Scenarios

Scenario 6

Security Runbook Assistant

An engineer asks what to do after a production API key leak. Decide source, priority, and audit log needs.

Scenario 7

Engineering Design Assistant

A platform engineer asks about latency targets. Identify whether this needs docs, metrics, or both.

Scenario 8

Finance Compliance Assistant

An analyst asks about account identifiers in a report. Define citation and refusal behavior.

Scenario 9

Developer Documentation Assistant

A deploy failed after an environment variable changed. Decide when RAG is enough and when tool use is needed.

Eval Cases

Scenario 10

Wrong-Policy Retrieval

The assistant retrieves three chunks from the wrong policy but gives a confident answer. Write the eval case and the first engineering experiment you would run.

1 Your production judgment task

Pick any three scenarios above. For each one, write: source to retrieve, answer rule, refusal rule, eval case, and first metric to inspect.

← ExercisesInterview Questions →