Course menuAIP-C01

Exams / AIP-C01 / Transparency and explainability (citations, reasoning traces) / Question 1

AIP-C01 practice question: Transparency and explainability (citations, reasoning traces)

AI Safety, Security, and Governance 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.

Last verified against current AWS documentation ·How we write our questions

A construction firm runs an assistant that answers site safety questions for its field crews. The assistant uses the firm's own safety manuals as its source.

Crews often ask whether an answer is official before they act on it. The firm wants each answer to show the manual and section it came from, so that a supervisor can check it on the spot.

The assistant must still return one written answer per question, not just a list of text passages.

Which approach meets these requirements?

Choose one answer.

  1. A. Prompt the model to end each answer with the phrase according to the safety manual, without giving the crew any link, document name or section reference.
  2. B. Call the RetrieveAndGenerate API, which returns a generated answer with citations to its source passages, and show those citations next to each answer.
  3. C. Call the Retrieve API only, and display the matching passages to the crew as raw text, leaving the crew to read the passages and decide the answer for themselves.
  4. D. Turn on model invocation logging so that each prompt and answer is saved, and let supervisors look up the saved records after an incident has occurred.
Show the answer and explanation

Answer: B

Explanation

RetrieveAndGenerate returns a generated answer with citations to the passages it used, so the interface can show the source next to each answer. Retrieve alone does not produce an answer, prompting for a phrase creates an unverifiable claim, and invocation logs only help after the fact.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.

Want more on Transparency and explainability (citations, reasoning traces)? The 5 full-length practice sets have 6 more Transparency and explainability (citations, reasoning traces) questions, 375 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets