Question 220
The Generative AI team observes: A chain logged under Python package version A fails to deserialize when the model serving image ships incompatible version B. Which implementation decision is MOST appropriate?
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 chain logged under Python package version A fails to deserialize when the model serving image ships incompatible version B. — the targeted implement action is: Pin compatible dependencies and rebuild/evaluate the serving artifact before promoting a new environment. This directly meets the stated workflow constraint instead of addressing an adjacent capability.
Incorrect Answers
Not the strongest implement choice for this specific question. Build a CI gate for prompt schema, retrieval relevance, agent tools and controlled promotion across environments. 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 chain logged under Python package version A fails to deserialize when the model serving image ships incompatible version B. — is testing Deployed model dependency drift and environment compatibility. It does not directly establish the implement outcome or constraint that the question requires; it may still be useful in a different stage or incident.
Not the strongest implement choice for this specific question. Promote a tracked model version or alias while preserving the previous model version for rollback. This action primarily relates to Unity Catalog registered model version and privileges: MLflow-logged models can be registered in Unity Catalog, with governed names, permissions and traceable version lineage. However, the described case — A chain logged under Python package version A fails to deserialize when the model serving image ships incompatible version B. — is testing Deployed model dependency drift and environment compatibility. It does not directly establish the implement outcome or constraint that the question requires; it may still be useful in a different stage or incident.
Not the strongest implement choice for this specific question. Log the app with dependency requirements, retrieval configuration, model signature and example requests. This action primarily relates to RAG production bundle metadata and dependencies: A deployable RAG application needs tracked model code, retriever config, embedding model, dependency versions, signature and example input. However, the described case — A chain logged under Python package version A fails to deserialize when the model serving image ships incompatible version B. — is testing Deployed model dependency drift and environment compatibility. It does not directly establish the implement outcome or constraint that the question requires; it may still be useful in a different stage or incident.