Evaluating Foundation Models and RAG with Amazon Bedrock Evaluations
This lesson explains Amazon Bedrock evaluations, the exam guide's main named service for generative AI evaluation, which measure FM and RAG quality on your own datasets with automatic metrics, LLM-as-a-judge and human reviewers.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish the evaluation job types.
- Prepare datasets, including bring-your-own responses.
- Choose the evaluation method for what is being measured.
Evaluation job types
Model evaluation jobs assess a model's responses to prompts. Programmatic (automatic) evaluation computes algorithmic metrics, such as accuracy, robustness and toxicity, for task types including text generation, summarisation, question answering and classification. Model as a judge evaluation uses an evaluator model to score responses on metrics such as correctness, completeness, faithfulness, helpfulness, coherence, relevance and harmfulness, and supports custom metrics with your own rubric. Human-based evaluation sends responses to your own work team.
RAG evaluation jobs assess Bedrock knowledge bases or your own RAG system's outputs: retrieve-only jobs score context relevance and context coverage, and retrieve-and-generate jobs also score answer correctness, completeness, faithfulness and citation precision and coverage.
Which evaluation job?
Datasets and bring-your-own responses
Jobs read a prompt dataset in JSONL from S3, with fields for the prompt, an optional reference response and, for categories, optional labels. Built-in datasets cover general tasks, but custom datasets from your domain are far more informative. Evaluations can also score responses you supply (bring your own inference responses), so models hosted outside Bedrock, agents or complete applications can be evaluated with the same metrics. Results include scores per metric, per-record explanations from the judge and comparison across jobs.
{"prompt": "Summarize the refund policy for damaged items.",
"referenceResponse": "Damaged items can be returned within 30 days for a full refund...",
"category": "policy"}Evaluation datasets
Choosing the evaluation method
Amazon Bedrock offers several evaluation methods, and the choice depends on what is being measured and whether reference answers exist. Automatic, programmatic evaluation suits tasks with reference answers and objective metrics. LLM-as-a-judge evaluation scores qualities such as correctness, helpfulness and faithfulness at scale. Human evaluation suits subjective or high-stakes outputs and calibrates the automated methods. RAG evaluations measure retrieval and generation separately. The following table summarises when each method fits.
| Method | Strength | Use when |
|---|---|---|
| Programmatic metrics | Fast, cheap, objective | Reference answers exist; classification, extraction |
| LLM-as-a-judge | Scales subjective scoring | Helpfulness, faithfulness, tone at volume |
| Human evaluation | Most trusted for nuance | High-stakes or subjective quality; calibrating judges |
| RAG evaluation | Separates retrieval from generation | Knowledge bases and RAG applications |
The following diagram shows two evaluation jobs, one using a model as a judge and one using human reviewers, and how their results are used to choose between two models.

Choosing between two models
A support team compares two candidate models for answering policy questions. It has 500 real questions with reference answers written by experts.
- Run a model-as-a-judge evaluation job for each model with correctness, completeness, faithfulness and harmfulness metrics.
- Run a human evaluation job with five support specialists on a 100-question sample, rating helpfulness on a Likert scale.
- Compare the jobs' results in the console, and check that judge and human rankings agree.
Both methods favour the smaller model on this task, so it is chosen. The human sample confirms that the automated judge can be trusted for future regression runs, which are then automated in the CI/CD pipeline.
Which Bedrock evaluation jobs suit RAG systems?
Show answer
Retrieve-only and retrieve-and-generate evaluation jobs.
Exam Tips
Remember for the exam
- Managed FM quality measurement: Bedrock evaluation jobs.
- Subjective quality at scale: model-as-a-judge evaluation.
- RAG systems: retrieve-only and retrieve-and-generate evaluation jobs.
- Models outside Bedrock: bring your own inference responses.
- Use domain prompt datasets in JSONL with reference responses.