Courseiva
Model Deployment →hardMultiple Choice

Databricks-ML-Pro Model Deployment Practice Question

A fraud detection model is deployed to a Databricks Model Serving endpoint. The team wants to test a new model version without affecting existing predictions. They need to send a copy of live traffic to the new version and log its predictions for comparison, while the current version continues to serve all responses. Which feature should they use?

⚠ Common exam trap

Many candidates confuse shadow deployment with traffic splitting; shadow mode mirrors requests without affecting responses, while traffic splitting changes which model serves the response.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Enable the endpoint's shadow mode by specifying the new model version as a shadow.

Shadow mode on Databricks Model Serving allows a new model version to receive a copy of live traffic while the primary version continues to serve all responses. This enables safe evaluation of the new model's predictions without impacting users. Traffic splitting would affect some responses, and external load balancing is not native and adds complexity. Therefore, enabling shadow mode is the correct approach.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Use MLflow's pyfunc flavor to log both models and select the active one at request time.

    Why it's wrong here

    Logging both models with pyfunc and selecting at request time would require custom logic in the model's predict method, which is not a built-in shadow deployment mechanism. It would also mean the endpoint serves only one model's predictions, and implementing shadow logging would require additional code that might not be reliable. This approach does not provide the native traffic mirroring and logging that shadow mode offers, and it adds unnecessary complexity.

  • ✓

    Enable the endpoint's shadow mode by specifying the new model version as a shadow.

    Why this is correct

    Databricks Model Serving supports shadow mode, where a copy of the request is sent to a shadow model version while the primary version's response is returned to the client. The shadow model's predictions can be logged for analysis. This exactly matches the requirement to test a new version without affecting existing predictions. The shadow model receives the same input but its output is not served, making it ideal for safe validation.

  • ✗

    Deploy the new model version to a separate endpoint and use a load balancer to mirror requests.

    Why it's wrong here

    Deploying to a separate endpoint and using an external load balancer to mirror requests is an infrastructure-level workaround that is not native to Databricks Model Serving. It requires additional components and configuration, increasing complexity and potential failure points. More importantly, it does not integrate with the endpoint's built-in logging and metrics. The native shadow mode feature is designed for this purpose and avoids the overhead of managing a separate endpoint and load balancer.

  • ✗

    Configure the endpoint with a traffic split of 50/50 between the current and new model versions.

    Why it's wrong here

    A traffic split sends a portion of live requests to the new version and returns its predictions to clients. This changes the responses that some users receive, which is not acceptable when the requirement is to keep the current version serving all responses. The team wants to observe the new model's behavior without impacting users, so splitting traffic would violate that constraint. Traffic splitting is for A/B testing or gradual rollouts, not for shadow deployment.

About these practice questions

This Databricks-ML-Pro question is part of Courseiva's 300-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Databricks exam blueprint

This Databricks-ML-Pro practice question is part of Courseiva's free Databricks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Databricks-ML-Pro exam.