databricks Data Engineer Associate · Practice questions

Section 1: Databricks Intelligence Platform Practice Questions

Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.

Sign up free for the full quiz

Question 1

Which statement about the cost models of Databricks compute is correct?

  1. Job compute has a higher DBU rate than all-purpose compute
  2. Serverless compute is billed only by storage size
  3. SQL warehouses are free when used by notebooks
  4. All-purpose compute costs more per DBU than job compute — Correct

Correct answer

All-purpose compute costs more per DBU than job compute

Explanation

Jobs compute is priced lower than all-purpose compute, so scheduled production workloads should use job or serverless jobs compute.

Question 2

Which statement describes Predictive Optimization?

  1. It runs OPTIMIZE, VACUUM and ANALYZE on managed tables when useful — Correct
  2. It selects the best instance type for each job cluster
  3. It converts external tables to managed tables automatically
  4. It predicts query results and caches them in the SQL warehouse

Correct answer

It runs OPTIMIZE, VACUUM and ANALYZE on managed tables when useful

Explanation

Predictive Optimization automates table maintenance for managed tables, removing the need to schedule maintenance jobs.

Question 3

Which feature lets administrators restrict the cluster configurations that users can create, such as maximum workers or allowed instance types?

  1. Instance pools
  2. Git folders
  3. Compute policies — Correct
  4. Unity Catalog row filters

Correct answer

Compute policies

Explanation

Compute (cluster) policies define rules and limits on cluster settings to control cost and enforce standards.

Question 4

A team wants new clusters to start faster by reusing idle, preprovisioned instances. Which feature supports this on classic compute?

  1. Instance pools — Correct
  2. Delta caching
  3. Cluster policies
  4. Photon

Correct answer

Instance pools

Explanation

Pools keep idle instances ready, reducing cluster start and autoscaling time. Policies restrict cluster configuration options.

Question 5

Which workload is the best fit for an all-purpose cluster?

  1. Serving real-time model predictions
  2. Scheduled production ETL that runs once a day
  3. Interactive notebook development by a small team — Correct
  4. BI dashboards queried by hundreds of users

Correct answer

Interactive notebook development by a small team

Explanation

All-purpose clusters suit interactive work. Production jobs should use job or serverless compute, and BI workloads use SQL warehouses.

Question 6

A team runs a nightly Python ETL notebook that takes 20 minutes and wants minimal cost and no cluster management. Which compute option is the best fit?

  1. An all-purpose cluster that runs 24/7
  2. A pro SQL warehouse
  3. A GPU cluster with the ML runtime
  4. Serverless compute for jobs — Correct

Correct answer

Serverless compute for jobs

Explanation

Serverless job compute starts quickly, scales automatically and bills only for usage, which suits short scheduled ETL.

Question 7

A data scientist needs the RDD API and a GPU-enabled ML runtime on classic compute with Unity Catalog. Which access mode should the cluster use?

  1. Standard (shared) access mode with Unity Catalog enabled
  2. Dedicated (single user) access mode — Correct
  3. SQL warehouse mode
  4. No isolation shared mode

Correct answer

Dedicated (single user) access mode

Explanation

Dedicated access mode supports the broadest feature set, including RDD APIs and ML runtimes, for a single user or group. Standard mode restricts some APIs to enforce isolation.

Question 8

Which limitation applies to serverless compute for notebooks and jobs compared with classic compute?

  1. No init scripts and only limited Spark configurations — Correct
  2. It cannot run Python code
  3. It cannot read Unity Catalog tables
  4. It cannot be used in jobs

Correct answer

No init scripts and only limited Spark configurations

Explanation

Serverless compute is managed by Databricks; it does not support init scripts or arbitrary Spark configs. Dependencies are managed through environments.

Question 9

Which statement about the medallion architecture is correct?

  1. Each layer must be in a separate Databricks account
  2. Gold stores raw data, silver stores aggregates, and bronze stores dashboards
  3. Bronze is raw, silver is cleaned, gold is business-level — Correct
  4. The medallion architecture requires CSV files in bronze

Correct answer

Bronze is raw, silver is cleaned, gold is business-level

Explanation

The medallion pattern refines data progressively from raw (bronze) to validated (silver) to consumption-ready (gold).

Question 10

A team must explain to auditors why Delta tables can be updated by concurrent jobs without readers seeing partial results. Which feature is responsible?

  1. ACID transactions recorded in the Delta transaction log — Correct
  2. Lakehouse Federation
  3. Instance pools
  4. Photon vectorized execution on every write

Correct answer

ACID transactions recorded in the Delta transaction log

Explanation

Delta Lake commits changes atomically in the transaction log, so readers see consistent snapshots.

Ready for the full quiz?

Create a free QuizAnalyst account to practice the complete question set and save your progress.

Sign up free for the full quiz