Courseiva
← Back to Databricks Certified Generative AI Engineer Associate questions

Scenario-based practice

Hard Difficulty 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.

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

Scenario guide

How to approach hard difficulty questions

These are the questions most candidates get wrong. They require connecting multiple concepts, reading tricky output, or knowing edge-case behaviour that isn't on most study cards. Practising them trains you to operate under uncertainty — a necessary skill on the real exam.

Quick answer

Hard Difficulty Questions questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider 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 1hardmulti select
Full question →

An organization is deploying a GenAI application using Databricks Model Serving. Which TWO steps are required to ensure the deployment environment handles model governance and observability effectively?

Question 2hardmultiple 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 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 5hardmultiple choice
Full question →

Which CI/CD approach for model deployment best minimizes downtime during a model update?

Question 6hardmulti select
Full question →

Which TWO of the following are mandatory requirements for developing an AI application using the Databricks Mosaic AI Model Serving environment?

Question 7hardmulti select
Full question →

An engineer is designing a Databricks RAG application that must support multi-turn conversations where follow-up questions refer to earlier turns. They want the retrieval step to remain accurate as the conversation progresses. Which TWO design elements should they include? (Choose two.)

Question 8hardmulti select
Full question →

Which TWO factors are most important when selecting a chunking strategy for text data prior to vectorization?

Question 9hardmultiple 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 10hardmultiple 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 11hardmultiple 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 12hardmultiple choice
Full question →

A team prepares customer support transcripts for fine-tuning. Each transcript is a JSON record with a nested messages array, and approximately 8 percent of records contain a null role field. The team wants records with malformed messages to be quarantined rather than silently dropped. Which Delta Live Tables configuration accomplishes this?

Question 13hardmultiple choice
Full question →

A GenAI engineer is building a Databricks RAG application where the retrieval step returns the top-5 chunks for each user question. The engineer wants to add a second LLM call that evaluates whether each retrieved chunk contains enough information to answer the question, and then filters out chunks that fail this evaluation before passing the remaining chunks to the final answer-generation prompt. Which design pattern is the engineer implementing?

Question 14hardmultiple choice
Full question →

A team is preparing a Delta table of product descriptions for a RAG application. The table receives continuous upserts from a streaming pipeline, and the embedding job reads the table every hour. Engineers notice the embedding job reprocesses every row on each run even though only a few rows change. Which change should be made to the source table to let the embedding job process only new or updated rows?

Question 15hardmultiple choice
Full question →

An engineer is building a RAG application that must query a vector search index containing confidential financial documents. The application will be deployed as a Model Serving endpoint, and only authorized users should see retrieved content. Which combination of Databricks features should the engineer implement to enforce this?

Question 16hardmultiple choice
Full question →

A healthcare company uses Databricks to build a RAG application over clinical notes stored in a Unity Catalog table. An auditor requires proof that only authorized personnel can view raw note text, while the RAG application must use embeddings generated from those notes. The team wants to avoid copying data outside Unity Catalog. Which approach best satisfies the auditor while preserving RAG functionality?

Question 17hardmultiple choice
Full question →

A team is using MLflow LLM Evaluation with the built-in answer_correctness metric to compare two prompt templates for a question-answering application. They notice that answer_correctness scores are nearly identical, but manual review shows one template produces answers that are factually correct yet omit key supporting details. Which additional built-in metric should they add to their evaluation to surface this difference?

Question 18hardmultiple choice
Full question →

A GenAI engineer runs mlflow.evaluate() with model_type="databricks-agent" on a RAG chain registered as a Unity Catalog function. The run completes and the evaluation results table is written, but the engineer needs to compare this run against the previous production baseline and programmatically gate the next deployment on it inside a Databricks job. Which action should the engineer take?

Question 19hardmulti select
Full question →

A GenAI engineer is designing a retrieval pipeline that uses Databricks Vector Search with hybrid search enabled. Users report that semantically similar but keyword-distinct queries return irrelevant chunks, and that results vary between runs of the same query. Which TWO configuration choices should the engineer make to improve result relevance and consistency? (Choose two.)

Question 20hardmultiple 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.

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.