Courseiva

Databricks-GenAI-Assoc Assembling and Deploying Apps Practice Question

Exhibit

{
  "model_name": "fraud_detection",
  "version": 5,
  "endpoint_name": "fraud-prod",
  "traffic_config": {
    "routes": [
      {
        "served_model_name": "fraud_detection-5",
        "traffic_percentage": 100
      }
    ]
  }
}

Refer to the exhibit. An engineer wants to perform a canary deployment by routing 10% of traffic to a new version (version 6). How should the JSON traffic configuration be modified?

⚠ Common exam trap

Candidates frequently forget that traffic percentages must sum to 100%. They often modify the new version's percentage without adjusting the existing version, leading to invalid configuration errors in the deployment.

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

✓

Add a new route for version 6 and set its traffic_percentage to 10, then set version 5 to 90.

Canary deployments involve splitting traffic between an established model version and a new candidate. To achieve this, the 'routes' list must include both versions, with the 'traffic_percentage' values summing to 100%. This controlled rollout allows teams to monitor the performance and accuracy of the new model on a small segment of production traffic before committing the full load to the new version.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Add a new route for version 6 and set its traffic_percentage to 10, then set version 5 to 90.

    Why this is correct

    This configuration correctly implements a 90/10 traffic split. By splitting the traffic, the engineer can observe the performance of version 6 with real-world data without risking the entire workload. Once validation is complete, the percentages can be adjusted until the new version receives 100% of the traffic.

  • ✗

    Set the traffic_percentage of version 6 to 10 and keep version 5 at 100.

    Why it's wrong here

    Traffic percentages must sum to 100%. Setting version 6 to 10 and version 5 to 100 results in a total of 110%, which is invalid for traffic routing configurations. The sum must always be exactly 100 to ensure predictable and correct distribution across the served model routes.

  • ✗

    Remove version 5 and set version 6 to 10.

    Why it's wrong here

    Removing version 5 while setting version 6 to 10 will result in 90% of traffic having nowhere to go, causing service errors. Canary deployments require that all traffic be accounted for across the defined routes. The sum of traffic percentages must always equal 100 for successful request routing.

  • ✗

    Create a new endpoint entirely for version 6 and switch the DNS record.

    Why it's wrong here

    Creating a new endpoint for a canary deployment is an unnecessarily complex and disruptive approach. Databricks Model Serving supports weighted traffic routing within a single endpoint. This feature is designed specifically to handle canary deployments and A/B testing natively without needing to manage external DNS records.

About these practice questions

This Databricks-GenAI-Assoc question is part of Courseiva's 330-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-GenAI-Assoc 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-GenAI-Assoc exam.