Courseiva
← Back to Databricks Certified Generative AI Engineer Associate questions

Scenario-based practice

Refer to the Exhibit Practice Questions

Practise Databricks Certified Generative AI Engineer Associate practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

15
scenario questions
Databricks-GenAI-Assoc
exam code
Databricks
vendor

Scenario guide

How to approach refer to the exhibit practice questions

Practise exhibit-style questions that ask you to read a topology, table, command output or diagram before choosing the best answer.

Quick answer

Exhibit-style questions test whether you can read a topology, command output, diagram or table before choosing the best answer.

How to extract the relevant detail from an exhibit.

How topology, command output or routing information affects the answer.

How to avoid answering from memory before reading the evidence.

How to map the exhibit back to the exam objective.

Related practice questions

Related Databricks-GenAI-Assoc topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1hardmultiple choice
Full question →

Refer to the exhibit. What is the most likely cause for this error in a production RAG application?

Exhibit

log_entry: 2023-10-27 10:00:00 [ERROR] Model inference failed: Connection to Vector Store timed out. Retrying in 5s... 2023-10-27 10:00:05 [ERROR] Max retries exceeded.
Question 2mediummultiple choice
Full question →

Refer to the exhibit. What is the impact of min_instances: 0 on this deployment?

Exhibit

{"model": "llama-3", "config": {"gpu": "nvidia_a10", "min_instances": 0}, "autoscaling": "enabled"}
Question 3hardmultiple choice
Review the full routing breakdown →

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?

Exhibit

{
  "model_name": "fraud_detection",
  "version": 5,
  "endpoint_name": "fraud-prod",
  "traffic_config": {
    "routes": [
      {
        "served_model_name": "fraud_detection-5",
        "traffic_percentage": 100
      }
    ]
  }
}
Question 4hardmultiple choice
Full question →

Refer to the exhibit. An engineer is configuring a canary deployment for a churn prediction model. Based on the provided traffic configuration, what is the expected behavior of the endpoint?

Exhibit

{
  "model_name": "customer_churn",
  "model_version": "2",
  "endpoint_name": "churn_inference",
  "traffic_config": {
    "routes": [
      {
        "served_model_name": "churn_v1",
        "traffic_percentage": 90
      },
      {
        "served_model_name": "churn_v2",
        "traffic_percentage": 10
      }
    ]
  }
}
Question 5mediummultiple choice
Full question →

Refer to the exhibit. A developer is deploying a model using the provided JSON configuration. What is the primary benefit of setting 'scale_to_zero_enabled' to true in this production RAG application?

Exhibit

{
  "endpoint_name": "rag-bot-v1",
  "config": {
    "served_models": [
      {
        "model_name": "llama-3-8b",
        "model_version": "5",
        "workload_size": "Small",
        "scale_to_zero_enabled": true
      }
    ]
  }
}
Question 6hardmultiple choice
Full question →

Refer to the exhibit. The user is a member of the 'finance_team'. Why might the user encounter an access error when executing this join query?

Exhibit

GRANT USAGE ON CATALOG main TO `finance_team`;
GRANT SELECT ON TABLE main.sales.data TO `finance_team`;
GRANT SELECT ON TABLE main.sales.summary TO `finance_team`;
-- User attempts to join the two tables in a query:
SELECT * FROM main.sales.data d JOIN main.sales.summary s ON d.id = s.id;
Question 7hardmultiple choice
Full question →

Refer to the exhibit. Why did the analyst group lose access after the table was recreated?

Exhibit

CREATE TABLE main.finance.reports AS SELECT * FROM raw_data;
GRANT SELECT ON TABLE main.finance.reports TO `analyst_group`;
-- Later, a user drops the table and re-creates it.
-- The analyst group can no longer query the table.
Question 8hardmultiple choice
Full question →

A developer deploys a new model version as shown in the exhibit. What is the purpose of this configuration?

Exhibit

Refer to the exhibit.

# Model Serving Policy Configuration
{
  "traffic_config": {
    "routes": [
      {
        "served_model_name": "model-v1",
        "traffic_percentage": 90
      },
      {
        "served_model_name": "model-v2",
        "traffic_percentage": 10
      }
    ]
  }
}
Question 9mediummultiple choice
Full question →

Refer to the exhibit. An engineer observes an unexpected drop in "relevance" for the latest deployment. What is the most likely cause related to the evaluation process itself?

Exhibit

{
  "model_eval": {
    "name": "prod_chatbot_v2",
    "eval_data": "eval_set_v4",
    "results": {
      "faithfulness": 0.95,
      "relevance": 0.88
    }
  }
}
Question 10hardmultiple choice
Full question →

Refer to the exhibit. An engineer is automating the deployment of a model to an endpoint using the Databricks CLI. Based on the error log provided, what is the most appropriate action to resolve this deployment failure?

Exhibit

Error: Model serving endpoint update failed. Reason: 'INSUFFICIENT_PERMISSIONS' - The service principal does not have access to the model in the Unity Catalog.
Question 11hardmultiple choice
Full question →

Refer to the exhibit. An engineer is testing a model endpoint. The outputs are too brief and often stop mid-sentence. What is the most likely cause?

Exhibit

{
  "model": "mistral-7b",
  "parameters": {
    "max_new_tokens": 512,
    "temperature": 0.1,
    "top_p": 0.9
  }
}
Question 12mediummultiple choice
Full question →

Refer to the exhibit. What is the cause of this error when logging a RAG chain to MLflow?

Exhibit

ERROR: 'Invalid signature for model logging. Expected: [input_tensor, output_tensor]'
Question 13hardmultiple choice
Full question →

Refer to the exhibit. A developer encounters this error when trying to call a Model Serving endpoint from a job. Which action should the developer take to resolve this authorization failure?

Exhibit

Error: 403 Forbidden
Message: The calling principal does not have 'Can query' permission on the endpoint.
Context: model_serving_endpoint_name: 'llama-3-rag-prod'
Question 14mediummultiple choice
Full question →

Refer to the exhibit. What is the correct way to log a custom RAG chain so it can be loaded using the provided code?

Exhibit

import mlflow
mlflow.set_tracking_uri("databricks")
# Code missing here
model = mlflow.pyfunc.load_model("models:/my_model/1")
Question 15mediummultiple choice
Full question →

A developer is configuring a model serving endpoint as shown in the exhibit. They observe that the endpoint fails to respond quickly to the first request after a period of inactivity. What is the cause of this behavior?

Exhibit

Refer to the exhibit.

# Configuration snippet for model serving
{
  "name": "my-llm-endpoint",
  "config": {
    "served_models": [{
      "model_name": "my-model",
      "model_version": "1",
      "workload_type": "CPU",
      "scale_to_zero_enabled": true
    }]
  }
}

These Databricks-GenAI-Assoc practice questions are part of Courseiva's free Databricks certification practice question bank. Courseiva provides original exam-style Databricks-GenAI-Assoc questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.