Question 40
After revising the application, which test BEST demonstrates the intended behavior? A compliance agent needs both a Unity Catalog table result and an approved policy passage for each answer.
Explanation
Correct Answer
Correct. Combining structured lookup and semantic retrieval requires explicit routing, result joining, and downstream schema checks. In the given situation — A compliance agent needs both a Unity Catalog table result and an approved policy passage for each answer. — the targeted verify action is: Withhold one source during testing and confirm the chain degrades safely rather than inventing a missing record. It tests an observable outcome using realistic inputs rather than relying on a working demo alone.
Incorrect Answers
Not the strongest verify choice for this specific question. Test malformed inputs and inspect whether every response satisfies the parser and required field contract. This action primarily relates to Structured JSON schema prompt and format compliance: A model can produce plausible prose rather than machine-readable JSON unless the output contract and validation are explicit. However, the described case — A compliance agent needs both a Unity Catalog table result and an approved policy passage for each answer. — is testing Parallel retrieval and deterministic chain postprocessing. It does not directly establish the verify outcome or constraint that the question requires; it may still be useful in a different stage or incident.
Not the strongest verify choice for this specific question. Inspect a full trace to confirm retrieved evidence and user intent reach the model and that citations point to real chunks. This action primarily relates to Retriever-generator chain component boundaries: A basic RAG chain separates user input, query transformation, retrieval, prompt assembly, model generation and output validation. However, the described case — A compliance agent needs both a Unity Catalog table result and an approved policy passage for each answer. — is testing Parallel retrieval and deterministic chain postprocessing. It does not directly establish the verify outcome or constraint that the question requires; it may still be useful in a different stage or incident.
Not the strongest verify choice for this specific question. Compare outputs against task-specific labeled examples and inspect mismatches between required and produced formats. This action primarily relates to Task choice: classification versus generative summarization: Classification predicts a category whereas summarization compresses meaning; the desired output determines the appropriate task. However, the described case — A compliance agent needs both a Unity Catalog table result and an approved policy passage for each answer. — is testing Parallel retrieval and deterministic chain postprocessing. It does not directly establish the verify outcome or constraint that the question requires; it may still be useful in a different stage or incident.