A data scientist has registered a scikit-learn model in Unity Catalog as `ml_team.prod.churn_model` and wants it served by a Databricks Model Serving endpoint that performs online inference for a web app. The endpoint must automatically pick up new model versions as they are promoted, without the data scientist editing the endpoint each time. Which approach should the data scientist use to configure the served entity?
Trap 1: Create a Databricks job that runs every five minutes, downloads the…
A periodic job that rewrites the endpoint configuration adds latency between promotion and serving, requires compute and credentials, and risks race conditions during redeploys. It also duplicates functionality that aliases already provide natively. This is operationally heavier and less reliable than serving an alias, and it briefly disrupts the endpoint on every update.
Trap 2: Serve the model by name with the version pinned to the numeric…
Pinning to a numeric version freezes the endpoint to that exact artifact, so a newly promoted version is never served until someone edits or recreates the endpoint. That directly violates the requirement for automatic pickup. Numeric pinning is appropriate for reproducible rollbacks, but not for a continuously promoted production model that must follow the latest champion.
Trap 3: Export the MLflow model to a local directory, upload the artifacts…
Model Serving endpoints are configured with registered model entities or serving features, not raw DBFS artifact paths. Even if artifacts live in cloud storage, the endpoint needs registry metadata, signatures, and dependency information to build the serving container. Manually copying artifacts bypasses lineage and versioning and cannot satisfy automatic promotion-driven updates.
- A
Serve the model by name with the version set to the alias `champion`, so the endpoint resolves the alias to whatever version it currently points to.
Serving a model by name plus an alias lets Model Serving resolve the alias at request time, so promoting a new version to `champion` updates the served model without endpoint edits. This matches the requirement of automatic pickup on promotion and works with Unity Catalog-registered models, provided the endpoint's identity has EXECUTE on the model and its versions.
- B
Create a Databricks job that runs every five minutes, downloads the latest model version, and calls the Model Serving REST API to overwrite the endpoint configuration with the new numeric version.
Why it fails: A periodic job that rewrites the endpoint configuration adds latency between promotion and serving, requires compute and credentials, and risks race conditions during redeploys. It also duplicates functionality that aliases already provide natively. This is operationally heavier and less reliable than serving an alias, and it briefly disrupts the endpoint on every update.
- C
Serve the model by name with the version pinned to the numeric version that is currently in production, then re-create the endpoint whenever a new version is registered.
Why it fails: Pinning to a numeric version freezes the endpoint to that exact artifact, so a newly promoted version is never served until someone edits or recreates the endpoint. That directly violates the requirement for automatic pickup. Numeric pinning is appropriate for reproducible rollbacks, but not for a continuously promoted production model that must follow the latest champion.
- D
Export the MLflow model to a local directory, upload the artifacts to DBFS, and configure the endpoint to load the model from that DBFS path.
Why it fails: Model Serving endpoints are configured with registered model entities or serving features, not raw DBFS artifact paths. Even if artifacts live in cloud storage, the endpoint needs registry metadata, signatures, and dependency information to build the serving container. Manually copying artifacts bypasses lineage and versioning and cannot satisfy automatic promotion-driven updates.