Courseiva

Databricks-DE-Assoc · domain

Implementing CI/CD

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.

40 questions7 easy21 medium12 hard

Focused practice

Practice Implementing CI/CD questions

Scored sessions drawing only from this domain — pick a length below.

Start 20-question practice test →

What this domain covers

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.

Question index

All Implementing CI/CD questions (40)

Click any question to see the full explanation, or start a practice session above.

1

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

Medium
2

A CI/CD pipeline uses the Databricks CLI to deploy a job to production. The pipeline must ensure that the job configuration is identical across environments except for the cluster size, which differs between staging and production. Which approach best supports this requirement?

Hard
3

A data engineering team uses Databricks Asset Bundles (DABs) to manage a job that must deploy to both a staging and a production workspace. The team wants to avoid hardcoding workspace-specific values such as the cluster ID and the storage path in databricks.yml. Which approach should they use?

Medium
4

A platform team is setting up a CI/CD pipeline that deploys Databricks jobs and notebooks from a Git repository. They must ensure deployments are secure and auditable. (Choose two.)

Hard
5

A team is setting up a CI/CD pipeline that deploys Databricks Asset Bundles to production. They want the pipeline to be secure and to fail fast before any production resources are changed. Which TWO practices should they implement? (Choose two.)

Medium
6

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

Medium
7

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

Easy
8

A data engineering team is setting up a CI/CD pipeline for Databricks notebooks using Databricks Repos and a Git provider. They want to ensure that changes are tested before being merged and that production deployments are controlled. Which TWO practices should they implement? (Choose two.)

Hard
9

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?

Medium
10

Refer to the exhibit. A CI/CD pipeline running a Databricks CLI command fails with the error shown. What is the most likely cause?

Medium
11

A data platform team is migrating their deployment process to Databricks Asset Bundles (DABs). They already have a Python wheel task defined in a Databricks Job and a set of notebooks in a Git repository. They want the bundle deployment to be repeatable across development, staging, and production targets with different cluster sizes. Which approach should they take to parameterize the target-specific cluster configuration?

Medium
12

A data engineering team stores all production notebooks and job definitions in a Git repository. They want every merge to the `main` branch to automatically deploy the updated notebooks to the production Databricks workspace without any manual copy/paste. Which approach should they implement?

Medium
13

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

Easy
14

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?

Hard
15

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

Hard
16

A team wants to automate deployment of Databricks jobs from a Git repository using a CI/CD pipeline. They need a tool that reads a declarative project definition and creates or updates jobs, pipelines, and notebooks in a target workspace. Which Databricks capability should they use?

Easy
17

Which TWO of the following statements are correct regarding the use of Databricks Repos for CI/CD?

Medium
18

A data engineering team stores its Databricks notebooks and Python files in a Git repository. They want to avoid manually copying files into the workspace and ensure that the production workspace always runs the exact code version that passed tests. Which approach should they use?

Medium
19

A data engineering team stores notebooks in a Git repository and wants automated deployments to a Databricks workspace. They configure a GitHub Actions workflow that runs a Databricks CLI command to deploy Databricks Asset Bundles. The workflow authenticates using a service principal OAuth token stored in GitHub Secrets. After the first successful run, subsequent runs fail with an authentication error. The token was created with a 1-hour lifetime. What should the team do to ensure the workflow can authenticate reliably on every run?

Medium
20

A team is using Databricks Asset Bundles (DABs) to manage their CI/CD pipeline. They want to run unit tests on their Python code before deploying the bundle. Where should the tests be executed in the pipeline?

Medium
21

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

Easy
22

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

Medium
23

A data engineering team is implementing a CI/CD pipeline for Databricks notebooks and jobs using Databricks Asset Bundles. They want to ensure deployments are reproducible and that production changes are traceable. Which TWO of the following practices should they follow? (Choose two.)

Hard
24

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

Medium
25

A team is using the Databricks CLI in their CI/CD pipeline to deploy jobs and notebooks. They need the pipeline to authenticate to a production workspace without embedding a personal user's credentials. Which authentication method should they configure for the CLI?

Easy
26

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?

Medium
27

A data engineer is setting up a CI/CD pipeline that runs unit tests on transformation logic before deploying notebooks to a production Databricks workspace. The tests must run quickly and not depend on a live Databricks cluster or external data sources. Which approach best meets these requirements?

Medium
28

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?

Hard
29

A team uses Databricks Asset Bundles to define a job that must exist in both a staging and a production workspace with different cluster sizes. They want a single bundle definition that deploys correctly to both targets. Which configuration should they use?

Medium
30

Your team is migrating a manual Databricks job to a CI/CD pipeline. You need to ensure the job configuration is version-controlled and deployed programmatically. Which approach aligns with Databricks best practices?

Medium
31

A team is using Databricks Asset Bundles (DABs) to deploy a job to multiple environments (dev, staging, prod). They need to ensure that the job uses different cluster sizes and schedules per environment. Which DABs feature should they use?

Hard
32

A data engineer is configuring a CI/CD pipeline for Databricks notebooks using GitHub Actions. They need to authenticate to Databricks to deploy notebooks. Which authentication method is recommended for production CI/CD pipelines?

Medium
33

A team stores Databricks notebooks and job definitions in a Git repository and wants every merge to the main branch to automatically deploy to production. Which combination of practices should the pipeline implement to achieve this safely?

Medium
34

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

Hard
35

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

Medium
36

When integrating Databricks with a CI/CD tool like GitHub Actions, how should you securely manage the authentication token used for deployments?

Easy
37

A CI/CD pipeline must run unit tests on Python transformation code before deploying a Databricks job. The tests should execute quickly without starting a cluster and should validate the transformation logic in isolation. Which approach best meets these requirements?

Hard
38

A team is using Databricks Asset Bundles to manage a job that writes to a Unity Catalog table. The bundle is deployed to a staging workspace for testing and then to a production workspace. The team wants the job to use different catalog and schema names in each environment without duplicating the entire bundle. Which approach should they use?

Hard
39

A team wants to ensure that code changes to their Databricks notebooks are reviewed before being deployed to production. They use a Git repository and Databricks Repos. Which practice should they implement in their CI/CD process?

Easy
40

A CI/CD pipeline runs unit tests against transformation logic before deploying to production. The tests must run on a Databricks cluster and produce a pass/fail result that fails the pipeline when assertions do not hold. Which implementation best fits this requirement?

Hard

Frequently asked questions

What does the Implementing CI/CD domain cover on the Databricks-DE-Assoc exam?
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 many questions are in this domain?
This page lists all 40 Implementing CI/CD questions in the Databricks-DE-Assoc question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only Implementing CI/CD questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.
databricks-data-engineer-associate DATABRICKS-DATA-ENGINEER-ASSOCIATE implementing cicd Practice Questions