Courseiva

Databricks-DE-Assoc · topic practice

Implementing CI/CD practice questions

This domain covers automating Databricks deployments using Databricks Asset Bundles, Databricks Repos, and CI/CD tooling such as GitHub Actions. Questions present multi-environment scenarios and ask you to choose the correct bundle configuration, authentication method, or pipeline practice that safely promotes notebook and job changes to production.

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: Implementing CI/CD

What the exam tests

What to know about Implementing CI/CD

Be able to define a databricks.yml bundle with multiple targets, wire validate and deploy commands into a CI/CD pipeline, and authenticate with a service principal. The most important thing is promoting changes through environments only after review and merge to main.

Configuring Databricks Asset Bundles with per-target variables, cluster settings, and schedules for dev, staging, and prod

Using databricks bundle validate and databricks bundle deploy commands within CI/CD pipeline stages

Securing deployment credentials with service principals, OAuth tokens, or secret managers instead of hardcoded personal access tokens

Enforcing pull request reviews and branch protection so notebook changes merge to main before production deployment

Watch out for

Common Implementing CI/CD exam traps

  • ▸Hardcoding personal access tokens in pipeline YAML or notebooks instead of using service principals and secret storage, which fails security questions.
  • ▸Assuming one bundle target can serve all environments, ignoring databricks.yml target overrides for cluster size, schedule, and workspace host.
  • ▸Deploying directly on every commit rather than gating production deploys behind merges to main and required code review approvals.

Practice set

Implementing CI/CD questions

20 questions · select your answer, then reveal the explanation

Refer to the exhibit. The JSON represents a Databricks Job configuration. To implement this as part of a CI/CD pipeline, which approach ensures the job is created with the exact specifications provided?

Exhibit

{
  "name": "prod-job",
  "tasks": [
    {
      "task_key": "ingest",
      "notebook_task": {
        "notebook_path": "/Shared/ingest"
      }
    }
  ],
  "schedule": {
    "quartz_cron_expression": "0 0 12 * * ?"
  }
}

A data engineering team uses Databricks Repos linked to a remote Git repository. They want to run automated unit tests against the notebook code in a CI pipeline without deploying to a production workspace. Which approach should they use?

A team is implementing a CI/CD pipeline for Databricks using Databricks Asset Bundles (DABs). They want to ensure that the deployment is idempotent and can be rolled back if needed. Which TWO practices should they follow? (Choose two.)

A team is implementing CI/CD for a Databricks job that uses a Python wheel task. They want to ensure that the wheel is built and deployed correctly. Which TWO practices should they follow? (Choose two.)

A data engineer runs `databricks bundle validate` locally and it succeeds, but the CI pipeline fails at the `databricks bundle deploy -t prod` step with an error that the target 'prod' is not defined. The engineer is certain the target exists in the bundle. What is the most likely cause?

A team uses Databricks Asset Bundles with a CI/CD pipeline that runs `databricks bundle deploy -t prod`. They want the pipeline to fail fast if the deployed job's cluster configuration diverges from what is defined in the bundle, before any scheduled run executes. Which approach best enforces this?

A data engineering team wants to implement Git integration for their Databricks notebooks. Which workflow is considered the best practice for CI/CD in Databricks Repos?

A team is designing a CI/CD pipeline using Databricks Asset Bundles (DABs). Which TWO of the following are primary benefits of using DABs for managing Databricks projects?

Which of the following is a fundamental principle of implementing effective CI/CD for Databricks workflows?

Why is it important to use Service Principals instead of Personal Access Tokens (PATs) for CI/CD automation in Databricks?

A team is implementing a CI/CD process for their Delta Live Tables (DLT) pipelines. Which THREE of the following practices are recommended to ensure reliable deployment?

Question 12mediummultiple choice
Read the full Implementing CI/CD explanation →

When promoting code from a development workspace to a production workspace, what is the primary risk of using manual notebook exports?

Which component of Databricks CI/CD is responsible for executing automated tests on code before it is merged into the main branch?

Refer to the exhibit. A CI/CD pipeline fails with the provided error. What is the most likely cause?

Network Topology
Command: databricks repos updatepath /Repos/user@domain.com/my-repobranch mainError: 403 Forbidden
Question 15mediummultiple choice
Read the full Implementing CI/CD explanation →

Why should developers avoid using 'notebook' references in production pipelines that point to the 'Shared' folder for shared development work?

Question 16mediummultiple choice
Read the full Implementing CI/CD explanation →

What is the primary goal of implementing 'environment parity' in a Databricks CI/CD pipeline?

Question 17mediummultiple choice
Read the full Implementing CI/CD explanation →

Which of the following is a recommended strategy for managing library dependencies in a CI/CD pipeline for Databricks?

What is the primary purpose of a 'feature branch' in a Git-based workflow for Databricks?

A data engineering manager wants to ensure that all production code in Databricks is fully audited and versioned. Which TWO of the following steps are required?

When utilizing Databricks Asset Bundles, how should secrets (e.g., API keys, database credentials) be handled to ensure security during CI/CD?

Free account

Track your progress over time

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

Focused Implementing CI/CD sessions

Start a Implementing CI/CD only practice session

Every question in these sessions is drawn from the Implementing CI/CD domain — nothing else.

Related practice questions

Related Databricks-DE-Assoc topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the Databricks-DE-Assoc exam test about Implementing CI/CD?
Be able to define a databricks.yml bundle with multiple targets, wire validate and deploy commands into a CI/CD pipeline, and authenticate with a service principal. The most important thing is promoting changes through environments only after review and merge to main.
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 Implementing CI/CD questions in a focused session?
Yes — the session launcher on this page draws every question from the Implementing CI/CD 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-DE-Assoc topics?
Use the topic links above to move to related areas, or go back to the Databricks-DE-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-DE-Assoc exam covers. They are not copied from any real exam or dump site.