Databricks-GenAI-Assoc Assembling and Deploying Apps Practice Question
When deploying an application using Databricks Asset Bundles (DABs), which file is the primary entry point to define the project structure and configuration?
⚠ Common exam trap
Candidates occasionally confuse the project structure with individual notebook settings, failing to identify 'databricks.yml' as the central, mandatory file for defining the entire bundle's lifecycle and configuration.
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
✓
databricks.yml
Databricks Asset Bundles use a YAML-based configuration file, typically named 'databricks.yml', to define the project's resources, targets, and settings. This file acts as the single source of truth for the project's lifecycle, enabling consistent deployments across development, staging, and production environments. By using a declarative configuration, teams can version-control their entire infrastructure, ensuring that deployment patterns are standardized and repeatable across the organization.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
requirements.txt
Why it's wrong here
The requirements.txt file lists Python package dependencies for the code execution environment. While it is essential for installing libraries, it does not define the orchestration or resource deployment settings for Databricks infrastructure, making it unsuitable as the primary bundle configuration file for the deployment.
- ✓
databricks.yml
Why this is correct
The databricks.yml file is the core configuration manifest for Databricks Asset Bundles. It contains the definitions for resources such as jobs, pipelines, and models, as well as deployment targets. It drives the 'bundle deploy' command, ensuring the environment is orchestrated exactly as specified in the configuration.
- ✗
setup.py
Why it's wrong here
The setup.py file is used for packaging Python projects, primarily for distribution via tools like pip. While it can be included in a repository, it is not the configuration file used by Databricks CLI to manage the deployment of Databricks resources like jobs or models.
- ✗
bundle.json
Why it's wrong here
While JSON is a valid data format, Databricks Asset Bundles strictly use YAML for the 'databricks.yml' file. There is no standard 'bundle.json' entry point in the DABs framework. Using incorrect file formats or names will result in the CLI failing to recognize the project structure.
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 →
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.