AIP-C01 practice question: Evaluating model output quality (Bedrock evaluations, LLM-as-a-judge)
Testing, Validation, and Troubleshooting A free question from our original AIP-C01 practice exam. Try it, then open the answer to see why each option is right or wrong.
A consumer electronics company's support team is choosing between two foundation models for a product FAQ assistant. The team has 500 real customer questions, each with a reference answer written by the support lead, stored as a JSONL file in Amazon S3.
The team has no machine learning engineers and only one week. It needs accuracy and toxicity results for each model, with no custom scoring code and no paid human reviewers. The results must be saved in Amazon S3 so that the procurement team can compare them in a report.
Which TWO actions meet these requirements? (Choose two.)
Choose two answers.
AA. Create a human evaluation job with a contract review team that rates 500 answers from each model on a five-point scale, and export the ratings to a spreadsheet.
BB. Write an AWS Lambda function that compares each model answer with its reference answer using exact text matching, and writes the scores to a CSV file in S3.
CC. Create an automatic model evaluation job with the built-in accuracy and toxicity metrics, using the team's JSONL file that includes the reference answers as the prompt dataset.
DD. Create an automatic model evaluation job with the built-in toxicity metric on a built-in prompt dataset, since those general prompts cover the same kinds of topics as customer questions.
EE. Run one automatic evaluation job for each candidate model, using the same JSONL dataset and metrics, and compare the result files that each job writes to S3.
Show the answer and explanation
Answers: C, E
A. Wrong: Human reviewers can judge quality well, but this design adds paid reviewers and extra days that the team does not have. The requirement rules out paid human reviewers.
B. Wrong: Exact matching misses correct answers worded differently, and the team wants no custom scoring code. Toxicity would also not be measured at all.
D. Wrong: The toxicity metric is the right one, but the built-in prompts are not the team's customer questions. Accuracy against the reference answers would also not be measured.
Automatic model evaluation jobs with built-in metrics score a model on the team's own dataset without custom code or paid reviewers. Running one job per candidate on the same dataset gives a fair comparison, and the S3 results feed the report. A human review panel, custom exact matching and a general prompt dataset each miss a stated requirement.
Want more on Evaluating model output quality (Bedrock evaluations, LLM-as-a-judge)? The 5 full-length practice sets have 5 more Evaluating model output quality (Bedrock evaluations, LLM-as-a-judge) questions, 375 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →