Courseiva

Databricks-GenAI-Assoc Assembling and Deploying Apps Practice Question

When migrating a Databricks Asset Bundle (DAB) project from 'development' to 'production', which TWO actions should an engineer perform?

⚠ Common exam trap

Candidates often assume that copying code manually or just changing cluster sizes is enough, missing that DAB targets and environment-specific secrets must be explicitly re-configured.

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

✓

Update the target in the databricks.yml file to point to the production host

Moving code to production requires updating the target configuration to point to production-grade environments and ensuring that environment variables or secrets are correctly scoped. These actions ensure that the production deployment uses hardened settings—such as different cluster types or access permissions—while maintaining the same logic defined in the bundle. This discipline prevents 'environment drift' and ensures that production workloads remain isolated, secure, and performant according to enterprise standards.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Update the target in the databricks.yml file to point to the production host

    Why this is correct

    Updating the target is essential to direct the deployment to the correct workspace and environment. The 'target' section in the YAML file defines the configuration for the production environment, including the workspace host, ensuring that deployment artifacts are sent to the production workspace rather than development.

  • ✗

    Manually recreate all jobs using the Databricks UI in production

    Why it's wrong here

    Manual recreation of resources defeats the purpose of Infrastructure as Code. The benefit of DABs is the ability to deploy resources automatically. Manually configuring production resources introduces human error and configuration drift, making it difficult to maintain consistency between environments and complicating future updates or rollbacks.

  • ✓

    Ensure production-level secrets are configured in the target environment

    Why this is correct

    Production environments require access to sensitive credentials like database passwords or API keys that are distinct from development secrets. The bundle must reference these production-scoped secrets, ensuring the application remains secure. This separation prevents the leakage of production credentials into development environments, maintaining strong security posture.

  • ✗

    Delete all development artifacts from the local machine

    Why it's wrong here

    Deleting local artifacts is not a required or recommended part of the migration process. Keeping local development files is necessary for future testing and maintenance. Deployment uses specific flags or targets, so the presence of development artifacts locally does not interfere with the production deployment process.

  • ✗

    Convert the bundle project into a standard notebook folder

    Why it's wrong here

    Converting a bundle project to a standard folder would remove the benefits of version control, automated testing, and CI/CD integration provided by the DAB framework. This would force developers back into a manual workflow, increasing the likelihood of configuration errors during the deployment to production.

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.