Refer to the exhibit. The JSON configuration represents an existing Databricks Model Serving endpoint. You need to update this endpoint to support a traffic split between version 5 and version 6 for A/B testing. Which update strategy is correct?
Adding both versions to the `served_models` list enables traffic routing control. By specifying the `traffic` field for each, you can define the percentage of requests allocated to each version. This configuration is the standard method for A/B testing in Databricks, providing safe, granular control over model deployment transitions.
Why this answer
To perform A/B testing, you must define multiple served models within the `served_models` array in the endpoint configuration. Each entry requires a `traffic` weight that sums to 100%. This allows Databricks to route incoming requests according to the specified percentages.
This method is crucial for safely rolling out new models, as it allows you to observe performance metrics on a subset of real-world traffic before a full production cutover.
Exam trap
Candidates try to create multiple endpoints for A/B testing rather than modifying the `served_models` array within a single endpoint configuration to split traffic weights.