Question 260
A Databricks RAG or agent workflow behaves unexpectedly: A new model signature expects messages array but the existing app sends only a prompt string. Which diagnostic check has the highest value?
Explanation
Correct Answer
Correct. Models logged in experiments can fail in serving if Python dependencies or inference signatures differ between build and target. In the given situation — A new model signature expects messages array but the existing app sends only a prompt string. — the targeted diagnose action is: Inspect package lockfile, model signature, serving logs and API contract differences. It inspects the stage or constraint most likely to explain the observed failure before changing the system.
Incorrect Answers
Not the strongest diagnose choice for this specific question. Inspect prompt names, version history, aliases, tests and active referenced URI. This action primarily relates to MLflow Prompt Registry version aliases and promotion: Prompt Registry tracks immutable prompt versions with mutable aliases for staging and production, enabling change control and rollback. However, the described case — A new model signature expects messages array but the existing app sends only a prompt string. — is testing Deployed model dependency drift and environment compatibility. It does not directly establish the diagnose outcome or constraint that the question requires; it may still be useful in a different stage or incident.
Not the strongest diagnose choice for this specific question. Inspect predict entrypoint, model artifacts, dependency environment, inputs and output serialization. This action primarily relates to MLflow pyfunc packaging for pre- and post-processing: A custom MLflow pyfunc model wraps request parsing, retriever/model invocation and output formatting inside a reproducible predict interface. However, the described case — A new model signature expects messages array but the existing app sends only a prompt string. — is testing Deployed model dependency drift and environment compatibility. It does not directly establish the diagnose outcome or constraint that the question requires; it may still be useful in a different stage or incident.
Not the strongest diagnose choice for this specific question. Inspect deployment manifests, tests, aliases, index versions and rollback dependency matrix. This action primarily relates to CI/CD pipelines for retrieval and agent components: Production promotions should test source index, prompt, model packaging and tool behavior independently before release. However, the described case — A new model signature expects messages array but the existing app sends only a prompt string. — is testing Deployed model dependency drift and environment compatibility. It does not directly establish the diagnose outcome or constraint that the question requires; it may still be useful in a different stage or incident.