Courseiva

Databricks-GenAI-Assoc · topic practice

Assembling and Deploying Apps practice questions

This domain covers packaging a GenAI app so Databricks Model Serving can host it: logging agents or chains with MLflow, defining the request/response signature, configuring served entities, and setting scaling and governance options. Questions are scenario-based, often referencing an exhibit of a deployment config or error trace that you must diagnose.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Assembling and Deploying Apps

What the exam tests

What to know about Assembling and Deploying Apps

Be able to log an agent with MLflow, register it in Unity Catalog, and deploy it to Model Serving with correct scaling and observability settings. The single most important thing: the logged model's signature and dependencies must match what the endpoint expects, or deployment fails.

Logging a Mosaic AI Agent or chain with MLflow and deploying it as a Model Serving endpoint

Configuring min_instances and max_instances to control scale-to-zero versus always-warm capacity

Using Unity Catalog for model registration, permissions, and inference table observability

Wiring the agent's input/output schema and dependencies so the served model loads correctly

Watch out for

Common Assembling and Deploying Apps exam traps

  • ▸Assuming a deployed endpoint automatically logs requests and responses; you must enable inference tables for observability.
  • ▸Setting min_instances to 0 and expecting no cold-start latency; scale-to-zero adds startup delay on first request.
  • ▸Forgetting that the model signature and required dependencies must be captured at logging time, so the endpoint fails to load.

Practice set

Assembling and Deploying Apps questions

20 questions · select your answer, then reveal the explanation

A machine learning engineer needs to deploy a Generative AI application using Databricks Model Serving. The application requires access to a private vector database within the same VPC. Which configuration step is mandatory for this deployment?

Refer to the exhibit. An engineer wants to optimize cost while ensuring high availability for the 'genai-chat-bot' model. Given the current configuration, what is the most appropriate action?

Exhibit

{"model_name": "genai-chat-bot", "endpoint_config": {"min_instances": 1, "max_instances": 5, "instance_type": "GPU_MEDIUM"}, "tags": {"env": "prod"}}

Refer to the exhibit. An engineer observes that the training job takes too long to execute. Which modification to the DAB YAML configuration would be the most effective way to improve performance for a data-intensive training job?

Exhibit

resources:
  jobs:
    training_job:
      name: "model_training"
      tasks:
        - task_key: "train"
          new_cluster:
            spark_version: "13.3.x-scala2.12"
            node_type_id: "i3.xlarge"
            num_workers: 2

When managing multiple environments using Databricks Asset Bundles, how should an engineer manage environment-specific variables like database table names?

An engineer needs to ensure that a model serving endpoint deployment is secure and scalable. Which TWO of the following configurations should be prioritized in the DABs deployment file?

When using Databricks Asset Bundles to deploy a model, which command should an engineer use to view the status of the current deployment in the target environment?

An engineer has a Databricks Job that runs hourly. They want to include this job in their Databricks Asset Bundle. What is the correct way to define this job in the bundle YAML?

An engineer has implemented a custom model in MLflow. Which component is required to serve this model using Databricks Model Serving?

An engineering team is configuring Databricks Asset Bundles (DABs) to automate the deployment of a Mosaic AI Agent application and its underlying serving endpoints. Which TWO configuration steps are required in the bundle configuration files?

Refer to the exhibit.

Refer to the exhibit. An engineer is attempting to deploy a model with a custom GPU instance type. The deployment fails. What is the most likely cause based on the provided snippets?

Exhibit

log_model(model=model, artifact_path="model", 
          signature=signature, 
          pip_requirements=["scikit-learn==1.2.2", "pandas==1.5.3"])

# Deployment Config:
compute_config:
  gpu_enabled: true
  instance_type: "g4dn.xlarge"

What is the correct way to handle sensitive configuration values (like API keys) in a Databricks Asset Bundle to ensure they are not committed to version control?

A GenAI engineering team has a Mosaic AI Agent application packaged as a Databricks Asset Bundle. They need the `databricks bundle deploy` command to target the production workspace and use production-specific values for a `catalog_name` variable, without editing the bundle files. Which approach should they use?

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?

A GenAI engineering team at a retail company has built a RAG application using Databricks Mosaic AI Agent Framework. They package the agent with MLflow and deploy it to a Databricks Model Serving endpoint that is consumed directly by an internal web front end. The front end must send the end user's identity to the agent so that the agent's retriever can filter product documents by the user's department. Which mechanism should the team use to pass this per-request user identity to the deployed agent?

A GenAI engineer has built a RAG chain with LangChain and logged it to Unity Catalog using MLflow. The chain's retriever queries a Vector Search index that is rebuilt nightly. The engineer must deploy the chain to a Databricks Model Serving endpoint so that the deployed version always reads the latest index without redeploying the endpoint. Which approach should the engineer take?

A GenAI engineer is packaging a Retrieval-Augmented Generation application as a Databricks Asset Bundle and wants `databricks bundle deploy` to also create the underlying Vector Search index and the serving endpoint that hosts the agent. Which TWO bundle resource declarations should the engineer include? (Choose two.)

An engineer is packaging a Mosaic AI Agent application for deployment using Databricks Asset Bundles. The bundle must (1) deploy the agent code and configuration to a target workspace from a CI pipeline, and (2) register the resulting model so a serving endpoint can reference a specific version. Which TWO bundle elements must the engineer define to accomplish this? (Choose two.)

A company runs a customer-facing GenAI assistant on a Mosaic AI Model Serving endpoint. During a peak-traffic incident, the endpoint began returning HTTP 429 errors and some requests timed out. The team wants the endpoint to absorb bursts without failing requests while keeping idle cost low. Which configuration change should the engineer make?

An engineer has a Mosaic AI Agent application in a Databricks Asset Bundle. The bundle defines a model serving endpoint whose configuration references a secret scope for an external LLM provider API key. The engineer runs `databricks bundle deploy` targeting the production workspace and the deployment succeeds, but at runtime the agent receives 401 Unauthorized responses from the provider. The secret scope and key already exist in the production workspace with the same name and permissions as in development. Which action should the engineer take to resolve the runtime authentication failure?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Assembling and Deploying Apps sessions

Start a Assembling and Deploying Apps only practice session

Every question in these sessions is drawn from the Assembling and Deploying Apps domain — nothing else.

Related practice questions

Related Databricks-GenAI-Assoc topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the Databricks-GenAI-Assoc exam test about Assembling and Deploying Apps?
Be able to log an agent with MLflow, register it in Unity Catalog, and deploy it to Model Serving with correct scaling and observability settings. The single most important thing: the logged model's signature and dependencies must match what the endpoint expects, or deployment fails.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Assembling and Deploying Apps questions in a focused session?
Yes — the session launcher on this page draws every question from the Assembling and Deploying Apps domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other Databricks-GenAI-Assoc topics?
Use the topic links above to move to related areas, or go back to the Databricks-GenAI-Assoc question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the Databricks-GenAI-Assoc exam covers. They are not copied from any real exam or dump site.