Databricks & Lakehouse
Practice Exam 3: CI/CD with DABs, Troubleshooting, and Security and Governance
DataForge Series: Databricks Data Engineer Associate - Part 16 of 16
50 scenario-based questions. This is the final set — covering CI/CD deployment mechanics, Spark UI diagnostic reasoning, and the full Unity Catalog security stack. The troubleshooting questions require reading actual metric numbers, not just recognizing symptom names. The security questions test privilege hierarchy traversal, masking semantics, and the interaction between all four security layers.
This is also the hardest set. The CI/CD questions test nuanced distinctions (DABs vs Git Folders, state drift, rollback scope). The security questions combine multiple concepts in one scenario.
Work through all 50 before checking answers.
Answer key and explanations start after Question 50.

Questions 1–50
Q1. A data engineering team uses Databricks Asset Bundles (DABs) to deploy pipelines. A developer merges a change to the main branch. The CI/CD pipeline runs databricks bundle deploy --target prod without running databricks bundle validate first. The deployment fails midway — the sql_warehouse_id variable is undefined for the prod target. What is the operational consequence and how should this be prevented?
A. The deployment fails cleanly — no partial resources are created because DABs is transactional
B. Some resources may be created before the failure — validate should always run before deploy to catch variable resolution errors before any resources are modified
C. The deployment rolls back automatically — DABs tracks deployment state and reverses incomplete deploys
D. The undefined variable is ignored — DABs uses the default value when a variable is missing
Q2. A data engineer edits a Lakeflow Job directly in the Databricks UI after a bundle deployment — changing the cluster from 8 workers to 16 workers to address a performance issue. Three days later, a new feature is merged and the CI/CD pipeline runs databricks bundle deploy --target prod. What happens to the manual cluster size change?
A. The bundle deployment detects the manual change and preserves it
B. The bundle deployment overwrites the workspace configuration with the bundle-defined 8-worker configuration — the manual change is lost
C. The deployment fails because the workspace state doesn’t match the bundle state
D. The bundle deployment creates a new job alongside the manually modified one
Q3. Which of the following correctly describes the purpose of run_as: service_principal_name in a DABs prod target configuration?
A. It restricts which engineers can trigger the job manually
B. It ensures production jobs run under a stable machine identity rather than an individual engineer’s credentials — preventing job failures when engineers leave the organization
C. It grants the service principal admin access to the prod catalog
D. It configures the job to run in a dedicated service account workspace
Q4. A DABs bundle defines the following target configuration:
targets:
dev:
variables:
schedule_pause_status: PAUSED
staging:
variables:
schedule_pause_status: PAUSED
prod:
variables:
schedule_pause_status: UNPAUSEDA new engineer deploys the bundle to staging for the first time without reading the configuration. What happens to the staging job’s schedule?
A. The staging job runs on the defined schedule — PAUSED is only for testing
B. The staging job is created with PAUSED schedule — it will not auto-run
C. The staging job has no schedule — PAUSED disables the schedule entirely
D. The staging job inherits prod’s UNPAUSED setting as the default
Q5. A data engineering team runs databricks bundle destroy --target staging. What is destroyed and what is preserved?
A. All bundle-defined resources including jobs, uploaded files, and Delta tables are deleted
B. Bundle-defined jobs and uploaded source files are removed; Delta tables at the target Unity Catalog location are not deleted
C. Only the job definitions are removed; cluster configurations and notebooks remain
D. Nothing is destroyed — destroy only marks resources for deletion on the next deploy
Q6. A bundle defines a notebook task with:
notebook_task:
notebook_path: ./src/transform/silver_events.pyThe bundle is deployed to prod. Where does the notebook exist in the production workspace after deployment?
A. At /Users/engineer@company.com/src/transform/silver_events.py — the developer's personal folder
B. At the path defined in workspace.root_path in the bundle configuration, resolved against the bundle name
C. At /Repos/main/src/transform/silver_events.py — Git Folders automatically syncs it
D. The notebook path remains relative — Databricks resolves it at runtime from the current working directory
Q7. A data engineer wants to promote a pipeline from staging to production using DABs. The staging deployment succeeded. Which is the correct sequence of CLI commands?
A. databricks bundle run --target prod → databricks bundle deploy --target prod
B. databricks bundle validate --target prod → databricks bundle deploy --target prod
C. databricks bundle deploy --target staging → databricks bundle deploy --target prod
D. databricks bundle sync --target prod → databricks bundle deploy --target prod
Q8. A data engineer uses Git Folders to develop a notebook in the feature/add-user-attribution branch. After merging to main, they want the production job to use the updated notebook. What is the correct mechanism to deploy the updated notebook to production?
A. The Git Folder auto-syncs to production when merged to main
B. Run databricks bundle deploy --target prod from the CI/CD pipeline triggered by the merge
C. Manually pull the main branch in the production workspace Git Folder
D. Export the notebook from the Git Folder and import it to the production workspace
Q9. A bundle’s databricks.yml contains:
variables:
catalog:
default: devA job task references "${var.catalog}.silver.events". The bundle is deployed with databricks bundle deploy --target prod where the prod target defines catalog: prod. What table does the job reference in production?
A. dev.silver.events — the default value is always used
B. prod.silver.events — the prod target variable overrides the default
C. ${var.catalog}.silver.events — variable references are not resolved in table names
D. The deployment fails — table names cannot contain variable references
Q10. A data engineer performs git revert <commit> to roll back a DABs bundle to a previous version and redeploys to production. The previous version's notebook read from prod.silver.events and wrote to prod.gold.revenue. During the failed deployment, the notebook ran for 2 hours and wrote incorrect data to prod.gold.revenue. After the Git revert and redeploy, what additional steps are required?
A. No additional steps — Git revert restores the complete system to the pre-deployment state
B. The pipeline code is restored but the incorrect data in prod.gold.revenue remains — Delta time travel or data repair is required to restore the Gold table to its correct state
C. Run databricks bundle destroy --target prod then redeploy to ensure a clean state
D. Reset the Auto Loader checkpoint to re-process source files from before the failed deployment
Q11. A Spark job fails with the following error visible only in the cluster event log — no Spark UI stage metrics are available:
14:07:43 INIT_SCRIPT_FAIL Script output:
ERROR: Could not find a version that satisfies
the requirement torch==1.8.0+cu111What is the root cause and fix?
A. The PyTorch library is not available on Databricks — use TensorFlow instead
B. The CUDA version suffix (cu111) doesn't match the cluster's GPU runtime CUDA version — update the package version to match the cluster's CUDA version
C. Init scripts cannot install GPU libraries — use cluster-scoped library installation instead
D. The library requires admin privileges to install — add the engineer to the cluster admin group
Q12. A data engineer investigates a slow Spark stage. The Spark UI Stages tab shows:
Stage 12 — Duration: 4h 22m — Tasks: 400
Task summary:
Metric Min 25th% Median 75th% Max
Duration 22s 28s 31s 35s 4h22m
Shuffle Read 180MB 210MB 390MB 410MB 390MB
Spill (Disk) 0 0 0 0 4h22mSomething looks wrong with the table. What does the correct diagnosis indicate?
A. Severe data skew — one task has 4h22m duration and should be investigated for the skewed partition
B. The table shows a data entry error — the max Spill (Disk) value of 4h22m is actually duration data in the wrong column; the actual spill metric is missing
C. The stage is healthy — 4h22m max duration with near-zero median is normal variance
D. 400 tasks is too many — reduce shuffle partitions to improve efficiency
Q13. A Spark job runs df.collect() on a 50GB DataFrame. The driver fails with java.lang.OutOfMemoryError: Java heap space. Which fix addresses the root cause?
A. Increase spark.driver.memory to 64GB
B. Replace .collect() with .write.format("delta").save(output_path) — collecting 50GB to the driver is the architectural problem
C. Increase spark.executor.memory — the driver memory issue is caused by executor pressure
D. Enable AQE to reduce the 50GB to a smaller result before collection
Q14. A data engineer examines the Spark UI for a failing job. The Executors tab shows:
Executor Status GC Time Input Shuffle Write Disk Used
exec-001 Active 2s 45GB 12GB 0
exec-002 Dead - - - -
exec-003 Active 2s 44GB 11GB 0
exec-004 Dead - - - -
exec-005 Active 3s 46GB 13GB 0Two executors are dead. The cluster event log shows “Container killed: memory limit exceeded.” What is the correct diagnosis and fix?
A. The executors ran out of JVM heap — increase spark.executor.memory
B. Python processes or OS overhead exceeded spark.executor.memoryOverhead — the containers were killed by the cluster manager. Increase memoryOverhead
C. Network failures caused executor loss — check VPC security group configuration
D. The cluster autoscaler removed idle executors — this is expected behavior
Q15. A data engineer needs to debug why a join is using sort-merge instead of broadcast. Which is the most efficient first diagnostic step?
A. Increase spark.sql.autoBroadcastJoinThreshold to 500MB and re-run
B. Run df.explain(mode="formatted") to inspect the physical plan and identify whether the optimizer chose SortMergeJoin and what the estimated table sizes are
C. Check the Spark UI Stages tab for shuffle read metrics
D. Force a broadcast join with the broadcast() hint and measure the improvement
Q16. A cluster fails to start. The Spark UI is unavailable. The cluster event log shows:
INIT_SCRIPT_START Running: /dbfs/init/install_deps.sh
INIT_SCRIPT_FAIL Exit code: 1
ImportError: cannot import name 'cached_property'
from 'functools'What is the root cause?
A. The init script has a syntax error on the import line
B. A library installed by the init script conflicts with a package pre-installed in the Databricks Runtime — the version combination is incompatible
C. The dbfs path is inaccessible during cluster startup
D. Python 3.8 was used to write the script but the cluster runs Python 3.9
Q17. A data engineer observes that a job taking 25 minutes on Monday takes 2 hours and 10 minutes on Friday. The data volume is the same. AQE is enabled. No configuration changes were made. What is the most likely explanation?
A. AQE changed the execution plan between runs — disable AQE for deterministic performance
B. The cluster had a hardware issue on Friday — request a new cluster
C. AQE made a different join strategy decision (broadcast vs sort-merge) based on updated runtime statistics — the Friday dataset may have different data distribution causing AQE to choose a less optimal plan
D. The Databricks runtime was updated between Monday and Friday — roll back to the previous version
Q18. A Spark job shows the following in the Stages tab:
Stage 3 — Sort Merge Join — Tasks: 200 — Duration: 2m 14s
Stage 4 — Aggregation — Tasks: 200 — Duration: 1m 52s
Stage 5 — Write Delta — Tasks: 400 — Duration: 8h 14mStage 5 is writing to a Delta table partitioned by (event_date, region, product_category). What is the most likely cause of Stage 5's extreme duration?
A. Writing to Delta is always slower than the compute stages
B. The partition combination (event_date, region, product_category) creates very high cardinality — millions of tiny partition directories, each requiring separate file writes, causing enormous small-file overhead
C. Stage 5 has 400 tasks — reducing shuffle partitions would improve write performance
D. The Delta transaction log commit is slow due to high table version count
Q19. A data engineer checks cluster library installation status in the Databricks UI. Three libraries show “Error” status. The cluster started successfully and most tasks complete without issue. When do library errors cause task failures?
A. Library errors always cause all tasks to fail — a cluster with library errors should be terminated
B. Libraries in Error status fail to install — tasks that import those specific libraries will fail; tasks that don’t use those libraries complete successfully
C. Library errors are warnings — they don’t affect task execution
D. Library errors cause random task failures as the cluster attempts re-installation during job execution
Q20. A Spark job’s Spark UI shows the following GC metrics for the slowest stage:
Task 147 — Duration: 3h 12m
GC Time: 2h 47m (87% of task duration)
Shuffle Read: 5.3GB
Spill (Disk): 0What does 87% GC time indicate and what is the correct fix?
A. The task is I/O bound — increase network bandwidth
B. The executor spent 87% of the task’s time in garbage collection — the 5.3GB shuffle partition is causing extreme memory pressure. The fix is reducing partition size (more shuffle partitions) or addressing the skew that created a 5.3GB partition
C. GC time of 87% is normal for large Spark stages — no action needed
D. The task needs more CPU cores — use a compute-optimized instance type
Q21. A data engineer grants the following privileges to the analysts group:
GRANT USE CATALOG ON CATALOG prod TO `analysts`;
GRANT USE SCHEMA ON SCHEMA prod.gold TO `analysts`;
GRANT SELECT ON ALL TABLES IN SCHEMA prod.gold TO `analysts`;Six months later, a new table prod.gold.customer_lifetime_value is added to the schema. Do analysts automatically have SELECT access to this new table?
A. No — GRANT SELECT ON ALL TABLES IN SCHEMA only applies to tables that exist at grant time; new tables require a new grant
B. Yes — GRANT SELECT ON ALL TABLES IN SCHEMA grants access to all current and future tables in that schema
C. No — new tables require a GRANT at the catalog level to be covered automatically
D. Yes — but only if the table is a managed table; external tables require explicit grants
Q22. A compliance audit requires that a specific contractor (contractor_a@external.com) cannot access prod.gold.pii_customerseven though they are a member of the analysts group which has SELECT on prod.gold.*. Which grant achieves this?
A. REVOKE SELECT ON TABLE prod.gold.pii_customers FROM analysts
B. DENY SELECT ON TABLE prod.gold.pii_customers TO \contractor_a@external.com` C. Removecontractor_a@external.comfrom theanalysts` group
D. Create a separate schema without the pii_customers table and grant analysts access only to that schema
Q23. A data engineer applies a column masking function to the salary column:
CREATE OR REPLACE FUNCTION prod.security.mask_salary(salary DECIMAL(18,2))
RETURNS STRING
RETURN CASE
WHEN is_account_group_member('hr-team') THEN CAST(salary AS STRING)
ELSE '***CONFIDENTIAL***'
END;
ALTER TABLE prod.gold.employees
ALTER COLUMN salary SET MASK prod.security.mask_salary;A data analyst (not in hr-team) runs:
SELECT department, AVG(salary) FROM prod.gold.employees GROUP BY department;What happens?
A. The query returns average salaries — masking doesn’t affect aggregation functions
B. The query fails — AVG cannot be computed on a STRING column ('CONFIDENTIAL')
C. The query returns NULL for all averages — masked values are excluded from aggregation
D. The query returns correct averages — masking only applies to direct SELECT of the masked column
Q24. A data engineer needs to apply a column mask to the phone_number column that shows the full number to members of the customer-service group but shows only the last 4 digits to all others. Which masking function is correct?
-- Option A
CREATE OR REPLACE FUNCTION prod.security.mask_phone(phone STRING)
RETURNS STRING
RETURN CASE
WHEN is_account_group_member('customer-service') THEN phone
ELSE CONCAT('***-***-', RIGHT(phone, 4))
END;
-- Option B
CREATE OR REPLACE FUNCTION prod.security.mask_phone(phone STRING)
RETURNS STRING
RETURN CASE
WHEN current_user() IN ('admin@company.com') THEN phone
ELSE '****'
END;
-- Option C
CREATE OR REPLACE FUNCTION prod.security.mask_phone(phone STRING)
RETURNS INT
RETURN CASE
WHEN is_account_group_member('customer-service') THEN CAST(phone AS INT)
ELSE -1
END;
-- Option D
CREATE OR REPLACE FUNCTION prod.security.mask_phone(phone STRING)
RETURNS STRING
RETURN CASE
WHEN is_account_group_member('customer-service') THEN phone
ELSE NULL
END;A. Option A
B. Option B
C. Option C
D. Option D
Q25. A row filter is applied to prod.gold.sales:
CREATE OR REPLACE FUNCTION prod.security.region_filter(region STRING)
RETURNS BOOLEAN
RETURN is_account_group_member('global-sales')
OR is_account_group_member(CONCAT('sales-', region));
ALTER TABLE prod.gold.sales
SET ROW FILTER prod.security.region_filter ON (region);A user in both global-sales and sales-US groups runs SELECT COUNT(*) FROM prod.gold.sales. What does the query return?
A. The count of US rows only — sales-US group membership takes precedence
B. The count of all rows — global-sales membership satisfies the filter for all regions
C. Zero — the filter requires membership in both groups simultaneously
D. The query fails — a user cannot be in both global-sales and a regional group
Q26. A data engineer creates a row filter that checks a lookup table:
CREATE OR REPLACE FUNCTION prod.security.dept_filter(dept_id INT)
RETURNS BOOLEAN
RETURN EXISTS (
SELECT 1 FROM prod.security.user_dept_access
WHERE user_email = current_user()
AND authorized_dept_id = dept_id
);
ALTER TABLE prod.gold.hr_data
SET ROW FILTER prod.security.dept_filter ON (dept_id);The prod.gold.hr_data table has 500 million rows. What performance problem will this create?
A. No problem — EXISTS subqueries are optimized by Spark’s query planner
B. The subquery executes for every row scanned — 500 million subquery executions causes severe performance degradation. Use is_account_group_member() checks instead for high-volume tables
C. The row filter will timeout after 60 seconds and grant access to all rows
D. The current_user() function cannot be used inside EXISTS subqueries
Q27. A Lakeflow Connect pipeline adds a new column health_condition STRING to a managed Delta table via schema auto-add. No masking policy is applied. Members of the analysts group have SELECT on the table. What security gap exists?
A. No gap — new columns inherit the masking policies of adjacent columns
B. The health_condition column is accessible unmasked to all analysts — sensitive health data is exposed without governance review
C. The column is automatically quarantined until a data steward approves it
D. Auto-added columns are always NULL for non-admin users until explicitly granted
Q28. An ABAC policy applies prod.security.mask_pii to all columns tagged with pii = 'true'. A data engineer adds a new column national_id STRING to a table but forgets to apply the tag. What is the security consequence?
A. The ABAC policy applies to all columns regardless of tagging — no gap
B. national_id is not tagged, so the ABAC policy doesn't apply — the column is accessible unmasked to anyone with SELECT on the table
C. The column is automatically detected as PII by Unity Catalog's data classification engine
D. The column is blocked until tagged — Unity Catalog enforces tagging before new columns are accessible
Q29. A service principal etl-pipeline-sp runs a Lakeflow Job that reads prod.silver.customers — a table with a column masking function on email. The masking function returns the full email for members of pii-access group and a masked value for all others. etl-pipeline-sp is not in the pii-access group. The pipeline logic uses email for customer matching. What problem occurs and what is the fix?
A. No problem — service principals bypass masking functions
B. The pipeline receives masked email values, causing customer matching logic to fail. Fix: add etl-pipeline-sp to the pii-access group
C. The pipeline fails with a permission error — service principals cannot read masked columns
D. The pipeline receives NULL values for masked columns, causing matching to fail. Fix: increase the service principal's privilege level
Q30. A data engineer creates an external table:
CREATE TABLE prod.gold.transactions
USING DELTA
LOCATION 's3://company-datalake/prod/gold/transactions/';A data analyst runs SELECT * FROM prod.gold.transactions and gets 0 rows, but SELECT * FROM prod.gold.transactions LIMIT 10returns 10 rows. What is the most likely explanation?
A. The table has a row filter that restricts all rows except the first 10
B. The table has a stale statistics issue — the optimizer incorrectly estimates 0 rows in full scans
C. Unity Catalog’s lineage tracking is interfering with the full table scan
D. The external table’s Delta log hasn’t been committed — only the first 10 files are registered
Q31. An analyst in the finance-analysts group has the following privileges:
USE CATALOG ON CATALOG prod → GRANTED
USE SCHEMA ON SCHEMA prod.finance → GRANTED
SELECT ON TABLE prod.finance.revenue → GRANTED
SELECT ON TABLE prod.finance.revenue → DENIED (explicit)Both a GRANT and an explicit DENY exist on the same table for the same group. What is the result when the analyst queries prod.finance.revenue?
A. The GRANT takes precedence — the analyst can query the table
B. The DENY takes precedence — the analyst cannot query the table
C. The result is undefined — conflicting grants and denies require admin resolution
D. The query runs but returns only rows the analyst has GRANT-level access to
Q32. A Unity Catalog audit log shows that analyst@company.com ran SELECT id, ssn, email FROM prod.gold.customers successfully. The ssn column has a masking function. The audit log shows the query but does not specifically flag that the ssn column was read. A compliance requirement demands column-level access audit trails. What is the gap and how is it addressed?
A. Unity Catalog audit logs capture column-level access by default — the compliance team needs to configure the audit dashboard
B. Unity Catalog audit logs capture query-level access — the query text shows which columns were accessed, but column-level access isn’t flagged as a separate event. Column-level audit requires analyzing query text in the audit log pipeline
C. The masking function prevents the ssn column from being logged — enable mask bypass for audit purposes
D. Column-level auditing requires a separate Databricks feature that must be enabled by support
Q33. A data engineer applies masking to a revenue DECIMAL(18,2) column:
CREATE OR REPLACE FUNCTION prod.security.mask_revenue(revenue DECIMAL(18,2))
RETURNS STRING
RETURN CASE
WHEN is_account_group_member('finance') THEN CAST(revenue AS STRING)
ELSE '***REDACTED***'
END;A business analyst (not in finance) runs SELECT region, SUM(revenue) FROM prod.gold.sales GROUP BY region. What is the result?
A. The query returns correct revenue sums — masking doesn’t apply to aggregation functions
B. The query fails — SUM cannot be applied to a STRING column ('REDACTED')
C. The query returns NULL for all sums — non-finance users see NULL from the mask
D. The query returns 0 for all regions — the mask converts to 0 for numeric operations
Q34. Which sequence correctly describes how Unity Catalog enforces a row filter when a query is executed?
A. The query executes first, then row filter is applied to the result set before returning to the user
B. The row filter function is evaluated as a predicate injected into the query plan — effectively behaves as though a WHERE clause were added to the query before execution, filtering rows at the scan level
C. The row filter creates a separate filtered view that replaces the table reference at parse time
D. The row filter is applied at the storage layer — only authorized Parquet files are read
Q35. A data engineer needs to implement multi-tenant data isolation where each tenant can only see their own data in prod.gold.tenant_events. The tenant ID is stored in the tenant_id column. There are 500 tenants. Which approach is most scalable?
A. Create 500 separate tables, one per tenant
B. Create 500 separate schemas, one per tenant
C. Apply a row filter using current_user() mapped to tenant_id via a lookup table — one table, policy-enforced isolation
D. Create a parameterized view for each tenant that filters by their specific tenant_id
Q36. A data engineer creates a managed table prod.gold.payroll and applies both a column mask on salary and a row filter restricting access by department_id. An analyst runs SELECT * FROM prod.gold.payroll. In what order are the security controls applied?
A. Column mask first, then row filter
B. Row filter first (reduces rows scanned), then column mask applied to the returned rows
C. Both are applied simultaneously in a single query plan step
D. The order depends on which was created first
Q37. A bundle is deployed to production. The data engineer realizes the notebook contains a hardcoded path /Users/dev-engineer@company.com/temp/ref_data used for a reference dataset lookup. The pipeline runs and fails in production because that path doesn't exist. What is the root cause and correct fix?
A. The notebook path resolution failed — set the correct workspace root in databricks.yml
B. A hardcoded user-specific path in the notebook — fix by parameterizing the path as a bundle variable or storing reference data in a Unity Catalog table accessible in all environments
C. The reference data should be stored in DBFS, which is accessible across workspaces
D. The dev engineer's personal folder wasn't replicated to production — enable cross-workspace folder sync
Q38. A data engineering team maintains three environments (dev, staging, prod) using DABs. The prod target uses run_as: service_principal_name: etl-prod-sp. A new pipeline requires reading from prod.raw.external_feed. The service principal was granted SELECT ON TABLE prod.raw.external_feed but not USE CATALOG ON CATALOG prod. The pipeline fails. What is the diagnosis?
A. SELECT ON TABLE implies USE CATALOG and USE SCHEMA — this should not fail
B. The service principal is missing USE CATALOG ON CATALOG prod and USE SCHEMA ON SCHEMA prod.raw — all three grants are required for the service principal to traverse the hierarchy
C. Service principals require admin-level privileges for production pipelines
D. run_as configuration doesn't apply to Unity Catalog access — use the engineer's identity instead
Q39. A data engineer runs databricks bundle validate --target prod and receives:
Error: variable 'notification_email' is not defined for target 'prod'The variable is defined with a default value in the bundle root. Why does validation fail?
A. Default values are not supported for notification-related variables
B. The prod target has an explicit empty override for notification_email that overwrites the default with nothing — or the variable definition is missing from the prod target and the bundle requires explicit values for prod
C. Validation always fails on undefined variables regardless of defaults
D. The variable name contains an underscore — use camelCase for variable names
Q40. A Spark job fails with this error message in the driver logs:
org.apache.spark.SparkException: Job aborted due to stage failure:
Task 0 in stage 3.0 failed 4 times, most recent failure:
Lost task 0.3 in stage 3.0: ExecutorLostFailure (executor 2 exited
caused by one of the running tasks)
Reason: Remote RPC client disassociated. Likely due to containers
exceeding thresholds, or network issues.The job uses a Python UDF that loads a 300MB model. There are 8 tasks per executor. What is the most likely cause?
A. A network partition between the driver and executor
B. 8 tasks × 300MB model = 2.4GB Python overhead per executor, exceeding memoryOverhead — the container is killed
C. Task 0 has data skew — it runs 4× longer than other tasks and eventually times out
D. The model file path is inaccessible from the executor's network
Q41. A data engineer needs to grant a data scientist read access to all tables in prod.ml_features schema. The data scientist currently has no access to the prod catalog. Which minimum set of grants is required?
A. GRANT SELECT ON SCHEMA prod.ml_features TO `data-scientist`
B. GRANT USE CATALOG ON CATALOG prod TO `data-scientist`;
GRANT USE SCHEMA ON SCHEMA prod.ml_features TO `data-scientist`; GRANT SELECT ON ALL TABLES IN SCHEMA prod.ml_features TO `data-scientist`
C. GRANT SELECT ON CATALOG prod TO `data-scientist`
D. GRANT ALL PRIVILEGES ON SCHEMA prod.ml_features TO `data-scientist`
Q42. A data platform serves external partners with access to a subset of Gold tables. Partners should only see their own organization’s data. The partner_id column identifies data ownership. The platform has 200 partners. Which security design is most operationally scalable?
A. Create 200 separate catalogs, one per partner
B. Create a row filter function using current_user() mapped to partner IDs via a lookup table — enforce isolation through a single policy rather than schema proliferation
C. Create 200 separate Delta tables, one per partner, populated by scheduled ETL
D. Use column masking to redact data from other partners
Q43. A data engineer creates a column mask that uses current_user():
CREATE OR REPLACE FUNCTION prod.security.mask_for_owner(owner_email STRING)
RETURNS STRING
RETURN CASE
WHEN current_user() = owner_email THEN owner_email
ELSE '***'
END;This mask allows users to see their own email address but masks others’. A service principal reporting-sp runs a report that counts distinct owner_email values. What does the report produce?
A. The exact distinct count — service principals see unmasked data
B. An incorrect count — reporting-sp sees '***' for all rows where current_user() doesn't match owner_email, collapsing all non-matching emails to a single masked value
C. A query failure — service principals cannot use masked columns in COUNT DISTINCT
D. The correct count — COUNT DISTINCT on a masked column uses the underlying values
Q44. A Spark job fails partway through writing to a Delta table. The job wrote 15 of 20 planned Parquet files before the driver crashed. What state is the Delta table in after this failure?
A. The table contains the 15 partially written files — readers see partial data
B. The table is in its pre-write state — the 15 files exist on disk but were never committed to _delta_log/, so no reader sees them
C. The table is locked and requires manual intervention to unlock
D. The table's transaction log is corrupted and requires REPAIR TABLE
Q45. A data engineer examines a Lakeflow Job that completed with all tasks showing SUCCESS but the Gold table has no new data. Which diagnostic step should come first?
A. Restart the job and check if it produces data on the second run
B. Check the task logs for the ingestion task to verify the record count processed — a task can succeed while processing zero records
C. Check the Delta table transaction log for commit failures
D. Re-run the Silver transformation task manually to verify the Silver data exists
Q46. A DABs bundle defines two jobs: ingest_job and transform_job. Both are deployed to prod. An engineer wants to ensure transform_job only runs after ingest_job completes successfully. How is this dependency configured in DABs?
A. Use Lakeflow Jobs task dependencies within a single job definition — cross-job dependencies aren’t supported in DABs
B. Configure transform_job with a table update trigger on the table that ingest_job writes to — data-driven dependency
C. Set transform_job.depends_on: ingest_job in the bundle YAML
D. Schedule transform_job to start 30 minutes after ingest_job's scheduled start time
Q47. A data engineer notices that after every databricks bundle deploy --target prod, the production Gold job's cluster size reverts from 16 workers (what's currently running) to 8 workers (what the bundle defines). Engineers have been manually increasing it to 16 workers to address performance. What is the correct resolution?
A. Increase the cluster size in the bundle YAML to 16 workers and redeploy
B. Add the cluster size to the prod target’s variable overrides so it’s environment-specific
C. Both A and B are valid — either updates the bundle to match the desired state. Manual UI edits should stop; the bundle should be the source of truth
D. Disable the CI/CD pipeline to prevent bundle deploys from overwriting the manual change
Q48. A data engineer applies the following ABAC tags to a table column:
ALTER TABLE prod.gold.customers
ALTER COLUMN national_id
SET TAGS ('pii' = 'true', 'sensitivity' = 'high', 'jurisdiction' = 'EU');An ABAC policy applies prod.security.mask_pii to all columns with pii = 'true'. A new column passport_number STRING is added via Lakeflow Connect auto-add. The data engineer is on vacation for 2 weeks. What happens to passport_number during those 2 weeks?
A. The ABAC policy automatically applies to passport_number because it matches the sensitivity class of adjacent columns
B. passport_number is accessible unmasked to all users with SELECT on the table — ABAC policies require explicit tagging per column
C. The column is blocked until the data engineer returns and applies the tag
D. Unity Catalog detects the column name matches a PII pattern and applies the policy automatically
Q49. A data engineer runs SHOW GRANTS ON TABLE prod.gold.customers and sees:
Principal Privilege Object
analysts SELECT TABLE prod.gold.customers
data-engineers MODIFY TABLE prod.gold.customers
etl-service-sp SELECT TABLE prod.gold.customers
contractor_group SELECT TABLE prod.gold.customers
contractor_group DENY SELECT TABLE prod.gold.customersA member of contractor_group who is also a member of analysts attempts to query the table. What is the result?
A. The query succeeds — analysts SELECT grant takes precedence over contractor_group DENY
B. The query fails — the explicit DENY on contractor_group overrides the analysts SELECT grant
C. The query returns partial results — the DENY restricts some rows
D. The result depends on which group membership was established first
Q50. A data engineering team completes a 12-part blog series on Databricks Data Engineer Associate exam preparation, writes a comprehensive revision sheet, and publishes three practice exams with 150 total scenario-based questions. A reader works through the entire series. What is the most likely exam outcome?
A. The reader passes — deep understanding of mechanisms, failure modes, and reasoning patterns prepares them for every scenario-based question
B. The reader fails — certification requires hands-on lab experience that no written series can provide
C. The reader passes the theory questions but fails the Spark UI diagnostic questions
D. The outcome depends entirely on luck — the exam is randomly generated
Answer Key and Explanations
Q1. Answer: B
databricks bundle validate catches variable resolution errors, missing references, and configuration syntax problems before any resources are touched. Without validate, a partial deployment can create some resources (the first job tasks) before hitting the undefined variable error on a later resource. A — DABs deployment is not transactional; partial resource creation can occur. C — DABs has no automatic rollback mechanism. D — undefined variables cause deployment failure, not silent default substitution.
Q2. Answer: B
Bundle deployment overwrites the workspace state with the bundle-defined configuration. The bundle defines 8 workers — the deployment restores 8 workers, silently discarding the manual 16-worker change. This is state drift: the workspace diverged from the bundle, and the next deployment enforces the bundle as source of truth. A — bundle deployment doesn’t detect or preserve manual changes. C — mismatched state doesn’t block deployment; it gets overwritten. D — DABs updates existing resources, not creates new ones alongside.
Q3. Answer: B
run_as: service_principal_name configures the job to execute under a service principal identity rather than the deploying engineer's personal credentials. Jobs depending on personal credentials fail when that person leaves the organization or changes roles. Service principals provide stable, auditable machine identities. A — run_as controls execution identity, not who can trigger the job. C — it doesn't grant admin access. D — it doesn't change workspaces.
Q4. Answer: B
The staging target configures schedule_pause_status: PAUSED. When the bundle deploys to staging, the job is created with a paused schedule — it exists but won't auto-run. This is the correct pattern to prevent staging jobs from executing on schedule and contaminating staging data. A — PAUSED means the schedule is active but paused, not unpaused. C — the schedule is defined but paused, not removed. D — each target's variables apply to that target only; prod's UNPAUSED doesn't bleed into staging.
Q5. Answer: B
bundle destroy removes bundle-defined resources — jobs, uploaded source files, cluster configurations created by the bundle. Delta tables and their data are data artifacts, not bundle resources — they exist independently and survive bundle destruction. A — Delta tables are not bundle resources. C — all bundle-defined resources are removed, not just job definitions. D — destroy executes immediately.
Q6. Answer: B
DABs uploads source files to workspace.root_path/${bundle.name}/ and resolves relative notebook paths against this location. The absolute workspace path is determined by the bundle configuration, not the developer's personal folder. A — personal folder paths are the anti-pattern DABs solves. C — Git Folders sync is a separate operation from DABs deployment. D — relative paths are resolved to absolute paths at deployment time, not at runtime.
Q7. Answer: B
The correct promotion sequence is: validate the prod target configuration first (catch errors before touching production), then deploy. Running validate on prod catches undefined variables, missing permissions, and configuration errors before any production resources are modified. A — running a job before deploying it would fail or run the old version. C — deploying staging again is unnecessary — staging is already deployed. D — bundle sync is not a standard DABs command.
Q8. Answer: B
DABs handles deployment — the CI/CD pipeline triggers databricks bundle deploy --target prod on merge to main, which uploads the updated notebook from the Git repository to the production workspace and updates the job to reference it. A — Git Folders don't auto-deploy to production; they sync notebooks for development purposes. C — manually pulling in production workspace bypasses CI/CD and DABs. D — manual export/import is the pre-DABs anti-pattern.
Q9. Answer: B
Variable references in bundle YAML are resolved at deploy time. When deploying with --target prod, the prod target's catalog: prod overrides the default dev. All references to ${var.catalog} throughout the bundle resolve to prod for this deployment. A — defaults are only used when no target override exists. C — variable references are resolved; they don't remain as literal strings. D — table name variable references are supported and resolved correctly.
Q10. Answer: B
Git revert and redeploy restores the pipeline code and job configuration to the previous state. It does not affect data. The incorrect data written to prod.gold.revenue during the failed deployment persists in the Delta table. Recovery requires Delta time travel (if the data can be identified by version or timestamp) or manual data repair. A — Git revert is a code operation, not a data operation. C — destroy and redeploy would remove the job and recreate it, but the data in the Gold table remains. D — Auto Loader checkpoint reset affects ingestion position, not already-written Gold data.
Q11. Answer: B
The CUDA version suffix in PyPI torch package names (e.g., cu111 = CUDA 11.1) must match the CUDA version installed on the cluster's GPU runtime. A mismatch causes pip to fail with "no matching distribution." A — PyTorch is available on Databricks GPU clusters with the correct CUDA suffix. C — init scripts can install GPU libraries. D — library installation doesn't require admin group membership.
Q12. Answer: A
The table has a data presentation issue in the question — but the actual diagnostic is clear: one task runs for 4h 22m while the median is 31s. This is a 527× duration ratio, indicating severe data skew. The maximum shuffle read column likely shows 390MB across the distribution, but the one slow task has a much larger partition. The correct diagnosis is data skew on the partition processed by the slow task.
Q13. Answer: B
Collecting 50GB to the driver is the architectural mistake — .collect() brings all data from all executors to the driver's JVM heap. 50GB exceeds any reasonable driver memory configuration. The fix is writing to a Delta table (distributed write, no driver bottleneck) rather than collecting. A — increasing driver memory to 64GB is expensive and doesn't fix the root cause; the pipeline will fail again as data grows. C — executor memory doesn't cause driver OOM. D — AQE doesn't reduce the data volume that .collect() brings to the driver.
Q14. Answer: B
“Container killed: memory limit exceeded” with dead executors and no Java OOM exceptions in executor task logs is the diagnostic signature of container OOM — Python processes or OS overhead exceeded spark.executor.memoryOverhead. The cluster manager kills the container before the JVM has a chance to throw a Java OOM. A — Java heap OOM shows in executor logs as "Java heap space." C — network failures show different error patterns. D — autoscaler removes idle executors gracefully; killed containers indicate memory pressure.
Q15. Answer: B
explain(mode="formatted") shows the complete physical plan including the chosen join strategy and estimated table sizes the optimizer used to make that decision. This is the most efficient first step — it tells you exactly why the optimizer chose sort-merge without requiring any configuration changes or re-runs. A — changing the threshold before understanding the cause might not fix the problem and adds trial-and-error overhead. C — Spark UI metrics show post-execution data, not pre-execution plan decisions. D — forcing broadcast without diagnosing the cause might succeed but doesn't build understanding.
Q16. Answer: B
ImportError: cannot import name 'cached_property' from 'functools' is a version conflict — cached_property was added to functools in Python 3.8. A library installed by the init script is using an older API pattern (or requiring an older stdlib version) that conflicts with the Databricks Runtime's pre-installed packages. A — init scripts don't fail on Python import errors unless they execute Python code that triggers the import. C — /dbfs paths are accessible during cluster startup when properly configured. D — cached_property availability depends on Python version but the error indicates a package conflict, not a version mismatch.
Q17. Answer: C
AQE modifies execution plans at runtime based on collected statistics. If the Friday dataset has different data distribution (different key frequencies, different partition sizes after shuffles), AQE may choose a different join strategy — sort-merge instead of broadcast, or a different partition count. The same query with the same code produces a different physical plan because AQE adapts to the data it sees at runtime. A — disabling AQE removes adaptability; the plan will be static but may be suboptimal. B — hardware issues would produce errors or executor losses, not plan changes. D — runtime upgrades would affect all runs, not just Friday.
Q18. Answer: B
Partitioning by (event_date, region, product_category) creates a directory for every unique combination. With 365 dates × 50 regions × 100 product categories = 1,825,000 partition directories. Each partition write creates a separate file with associated metadata operations. The overhead of creating millions of partition directories and files dominates the stage duration. A — Delta writes aren't inherently slow; the partition cardinality is the problem. C — 400 tasks is the write parallelism; reducing it would help slightly but doesn't address partition explosion. D — transaction log commit time is negligible compared to file write overhead.
Q19. Answer: B
Libraries in Error status failed to install — they’re not available for import. Tasks that don’t use those libraries complete without issue. Only tasks that try to import the failed library will fail with an ImportError. A — only tasks using the failed library fail. C — Error status does affect task execution for tasks that use those libraries. D — Databricks doesn't re-install libraries during job execution; the Error status is fixed at cluster startup.
Q20. Answer: B
87% of task time spent in garbage collection indicates the executor is spending most of its time managing memory rather than processing data. This is caused by a 5.3GB shuffle partition overwhelming the executor’s heap — the JVM is constantly running GC to try to free memory for new data, failing to keep up, and spending almost no time on actual computation. More shuffle partitions (smaller per-partition size) is the correct fix. A — GC time is CPU-bound, not I/O-bound. C — 87% GC is catastrophic, not normal. D — more CPU cores doesn’t fix GC pressure from heap exhaustion.
Q21. Answer: B
GRANT SELECT ON ALL TABLES IN SCHEMA in Unity Catalog grants access to all current and future tables in that schema. New tables added after the grant are automatically covered. A — this describes the behavior of some other systems but not Unity Catalog's implementation. C — catalog-level grants aren't needed for future table coverage. D — managed vs external distinction doesn't affect how ALL TABLES IN SCHEMA grants work.
Q22. Answer: B
DENY SELECT on the specific table for the specific user creates an explicit denial that overrides any group-level SELECT grants. The contractor cannot access pii_customers regardless of their analysts group membership. A — revoking from the analysts group would affect all analysts, not just the contractor. C — removing from the group removes all analystsprivileges, not just PII table access. D — separate schema adds operational complexity.
Q23. Answer: B
The masking function returns STRING type (either the cast salary or 'CONFIDENTIAL'). The AVG() function operates on the column as the query engine sees it — after masking. For non-hr-team users, the column returns 'CONFIDENTIAL' (a STRING). AVG() on a STRING column fails with a type error. The correct pattern for numeric columns is to return NULL or the original type rather than a string literal.
Q24. Answer: A
Option A is correct. It accepts STRING, returns STRING (same type as the column), uses is_account_group_member() for identity checks, and shows the last 4 digits for non-privileged users. Option B restricts access to a single hardcoded user rather than a group. Option C returns INT — wrong return type for a STRING phone column. Option D returns NULL for non-privileged users — fine for some use cases but doesn't show the last 4 digits as required.
Q25. Answer: B
The filter function returns TRUE when the user is in global-sales OR in the regional group. global-sales membership returns TRUE for all rows regardless of region. The OR condition means a user in global-sales satisfies the filter for every row in the table — they see all rows. A — sales-US adds access but doesn't limit global access. C — the function uses OR, not AND. D — multiple group memberships are normal and supported.
Q26. Answer: B
The EXISTS subquery in the row filter executes for every row evaluated during the table scan. On a 500 million row table, that's 500 million subquery executions — each checking the user_dept_access lookup table. This creates catastrophic performance degradation. is_account_group_member() calls are evaluated once per query, not once per row, making them appropriate for high-volume tables. A — EXISTS subqueries are not magically optimized away. C — row filters don't have timeout-based access grants. D — current_user() works inside EXISTS subqueries.
Q27. Answer: B
Auto-add schema evolution adds new columns to the Delta table and makes them immediately queryable by anyone with SELECT. No masking or governance policy is automatically applied to new columns. The health_condition column is accessible unmasked until a data engineer applies a masking function — creating a governance exposure window. A — masking policies don't propagate to adjacent columns. C — Unity Catalog has no automatic quarantine for new columns. D — new columns are not restricted by default.
Q28. Answer: B
ABAC policies apply to columns that have the matching tag. national_id without the pii = 'true' tag is not covered by the ABAC policy. Anyone with SELECT on the table can read unmasked national_id values. A — ABAC requires explicit tagging. C — Unity Catalog doesn't have automatic PII classification by column name. D — new columns are accessible immediately once added; there's no automatic blocking.
Q29. Answer: B
Masking functions apply to all identities including service principals. etl-pipeline-sp not being in pii-access means it receives masked email values. Pipeline logic that relies on actual email values for matching will fail — it's matching against masked strings like joh***@company.com instead of john.doe@company.com. Adding the service principal to pii-access grants it unmasked access for legitimate processing. A — service principals don't bypass masking. C — permission errors would be different from receiving masked values. D — masked columns return the masked value, not NULL.
Q30. Answer: B
This is a statistics/optimizer issue. When SELECT * is run without a LIMIT, the optimizer may use table statistics to decide on a full scan plan. If statistics indicate 0 rows (stale or unanalyzed table), the optimizer may optimize away the scan entirely in certain plan configurations. LIMIT 10 changes the query plan to a top-N scan that always reads files regardless of statistics. Running ANALYZE TABLE would refresh statistics. A — row filters would affect both queries consistently. C — lineage tracking doesn't interfere with query execution. D — Delta log commits affect what's visible, not how queries run.
Q31. Answer: B
Explicit DENY overrides GRANT at the same privilege level. Even though analysts SELECT GRANT exists for the same table, the explicit DENY SELECT on the same table for the same group takes precedence. The analyst cannot query the table. A — DENY always wins over GRANT. C — DENY applies to the entire table, not specific rows. D — privilege evaluation is deterministic, not order-dependent.
Q32. Answer: B
Unity Catalog audit logs record query execution events — who ran what query against which table. The query text contains the column names, so an audit pipeline can extract column access patterns from query text. However, column-level access is not a separate log event type — it’s embedded in the query text and requires post-processing to extract. A — column-level events are not automatically generated. C — masking doesn’t suppress logging. D — column-level auditing is not a separate feature; it requires query text analysis.
Q33. Answer: B
The masking function returns STRING type (either the cast decimal or 'REDACTED'). For non-finance users, the salarycolumn in the query returns STRING values. SUM() on STRING data fails with a type error. The correct pattern for numeric columns is to return the original numeric type (or NULL) rather than a string. C — NULL would be returned if the mask returned NULL; string 'REDACTED' causes a type error, not NULL aggregation. D — strings aren't converted to 0 in SQL.
Q34. Answer: B
Unity Catalog’s row filter enforcement effectively behaves as though a WHERE clause were injected into the query plan — the filter function becomes a predicate evaluated during the scan, filtering rows before they’re returned. This is the most accurate description of observable behavior without claiming specific Catalyst implementation details. A — post-execution filtering would be inefficient and incorrect for aggregations. C — views aren’t created dynamically. D — object storage doesn’t apply row filters; this happens in the query engine.
Q35. Answer: C
A single table with a row filter mapped via current_user() to a lookup table provides scalable multi-tenant isolation. Adding a new tenant requires only a new row in the lookup table — no new schema, no new table, no new policy. A — 500 tables creates management overhead and duplication. B — 500 schemas has similar problems plus namespace pollution. D — 500 parameterized views requires 500 separate objects and doesn't scale.
Q36. Answer: B
Row filters and column masks are both applied as query plan modifications, but logically the row filter executes first (reducing the number of rows that need column masking applied). This is more efficient — column masking functions don’t need to execute for rows that are filtered out. A — column mask first then row filter would be less efficient. C — they’re separate operations in the plan. D — creation order doesn’t determine application order.
Q37. Answer: B
A hardcoded personal workspace path (/Users/dev-engineer@company.com/temp/ref_data) only exists in the developer's workspace. Production workspaces have different user folders and the dev engineer's folder doesn't exist there. The correct fix is either a bundle variable that resolves to environment-appropriate paths, or storing reference data in a Unity Catalog table accessible across environments. A — workspace root configuration doesn't fix hardcoded personal paths in notebook code. C — DBFS paths have cross-environment issues of their own. D — personal folder sync doesn't exist as a workspace feature.
Q38. Answer: B
Service principals require the same three-grant hierarchy as human users: USE CATALOG, USE SCHEMA, and SELECT. The run_as configuration makes the service principal the execution identity — it must have all required privileges to traverse the Unity Catalog namespace. A — SELECT doesn't imply traversal grants. C — admin privileges are not required for pipeline reads. D — run_as explicitly configures the execution identity for Unity Catalog access.
Q39. Answer: B
The most common cause of this validation error when a default exists is either: the prod target has an explicit override that sets the variable to empty/null (overriding the default with nothing), or the bundle structure requires certain variables to have explicit non-default values for production targets and the validation enforces this. Validation fails even with defaults when the target configuration produces an unresolvable reference. A — no such restriction on notification variables. C — defaults are used when no override exists; validation fails when the override is invalid. D — underscores are valid in variable names.
Q40. Answer: B
Python UDFs execute in Python processes per task. A 300MB model loaded per task × 8 tasks per executor = 2.4GB of Python memory per executor. Default memoryOverhead is 384MB (or 10% of executor memory). 2.4GB far exceeds any reasonable overhead configuration. The cluster manager kills the container when total memory (JVM heap + Python overhead) exceeds the container limit. A — network partition would show different error patterns and would be intermittent. C — data skew causes long task duration, not executor death. D — model file access issues would show file not found errors.
Q41. Answer: B
All three grants are required: USE CATALOG to enter the catalog namespace, USE SCHEMA to enter the schema namespace, and SELECT on the tables. Without all three, the hierarchy traversal fails and the data scientist cannot query any table. A — USE CATALOG and USE SCHEMA are missing. C — catalog-level SELECT is not a valid Unity Catalog privilege type. D — ALL PRIVILEGES grants excessive access including write permissions.
Q42. Answer: B
A row filter using current_user() mapped to partner IDs through a lookup table provides policy-enforced isolation from a single table. Adding new partners requires only a new row in the lookup table — no new schema objects. A — 200 catalogs creates management complexity and doesn't scale to more partners. C — 200 separate tables creates data duplication and consistency challenges. D — column masking hides values but doesn't prevent seeing other partners' rows.
Q43. Answer: B
current_user() for reporting-sp returns the service principal's identity, not any owner_email value in the table. The mask condition current_user() = owner_email is FALSE for every row. Every row returns ''. COUNT DISTINCT on '' returns 1 — drastically undercounting the actual distinct owner count. A — service principals don't bypass masking. C — masked columns can be used in COUNT DISTINCT; they return the masked value. D — COUNT DISTINCT uses the masked (post-function) values.
Q44. Answer: B
Delta’s atomicity guarantee means a write that doesn’t complete its commit to _delta_log/ is invisible to all readers. The 15 partially written Parquet files exist on disk but have no corresponding commit entry in the transaction log. From every reader's perspective, those files don't exist — the table appears as it did before the write started. A — partial files without a commit entry are invisible to readers. C — Delta doesn't lock tables on write failure. D — the transaction log is not corrupted; it simply has no entry for the incomplete write.
Q45. Answer: B
Checking the ingestion task logs for record count is the first diagnostic step when a pipeline succeeds but produces no data. A task that finds no new files, processes zero records, and writes zero rows to a Delta table will report SUCCESS — it did exactly what it was configured to do. Understanding whether zero records were processed (empty ingestion) vs whether records were processed but not written is the starting point. A — re-running without diagnosis doesn’t identify the cause. C — Delta log commit failures would cause task failures, not silent success. D — Silver data verification is a later diagnostic step.
Q46. Answer: B
Cross-job dependencies in Lakeflow Jobs are implemented through trigger types — specifically, a table update trigger on the table that ingest_job writes to causes transform_job to fire automatically when new data lands. This creates a data-driven dependency chain. A — task-level dependencies work within a single job, not between separate jobs. C — cross-job depends_on is not a DABs bundle feature. D — time-based offsets are brittle and don't guarantee ingest_job has completed.
Q47. Answer: C
Both A and B address the problem correctly — the fundamental issue is that the bundle isn’t the source of truth. Either updating the bundle to define 16 workers for prod (Option A) or making cluster size a prod-specific variable override (Option B) makes the bundle match the desired state. Once the bundle reflects the correct configuration, manual UI edits become unnecessary. D — disabling CI/CD to preserve manual edits is the wrong direction; the bundle should be updated instead.
Q48. Answer: B
ABAC policies require explicit tagging. passport_number added via Lakeflow Connect auto-add has no tags — the ABAC policy for pii = 'true' doesn't apply to it. For the 2 weeks until the data engineer returns and applies the tag, passport_number is accessible unmasked to all users with SELECT on the table. A — ABAC doesn't propagate to adjacent columns. C — Unity Catalog has no blocking mechanism for untagged columns. D — Unity Catalog doesn't infer PII from column names.
Q49. Answer: B
The explicit DENY SELECT on contractor_group overrides all other SELECT grants for members of that group. Even though the user is also in analysts (which has SELECT), the DENY on contractor_group takes precedence. DENY always wins over GRANT at the same or lower hierarchy level, regardless of other group memberships. A — group membership grants don't override explicit DENY. C — DENY applies to the entire table. D — privilege evaluation is not order-dependent.
Q50. Answer: A
A reader who works through 12 deep-dive articles covering every exam domain, a comprehensive revision sheet with 53 exam-critical checklist items, and 150 scenario-based practice questions with full explanations has built genuine understanding of how the Databricks platform works mechanically, where it fails operationally, and how to reason through every scenario-based question the exam presents. That’s not memorization — it’s the reasoning capability the exam tests. Go pass.
Final Score Interpretation

Combined Series Score (Parts 14 + 15 + 16)

Series Complete
16 articles. Every exam domain. Every failure mode. 150 practice questions.
Introduction : Databricks platform fundamentals
Part 1: Delta Lake & Transaction Log internals
Part 2: Unity Catalog governance architecture
Part 3: Compute types, cost models, cluster selection
Part 4: Auto Loader, COPY INTO, Lakeflow Connect ingestion patterns
Part 5: Lakeflow Connect enterprise ingestion in production
Part 6: PySpark joins, shuffles, skew, and execution internals
Part 7: Medallion architecture, data quality, Gold layer objects
Part 8: Spark tuning parameters, Liquid Clustering, memory model
Part 9: Lakeflow Jobs, DAG orchestration, retries, trigger types
Part 10: CI/CD with DABs, Git Folders, environment promotion
Part 11: Troubleshooting, Spark UI diagnostics, OOM, startup failures
Part 12: Security stack, RBAC, column masking, RLS, ABAC
Part 13: Complete exam revision sheet + 30-minute final checklist
Part 14: Practice Exam 1: Delta, Unity Catalog, Compute, Ingestion
Part 15: Practice Exam 2: PySpark, Medallion, Tuning, Lakeflow Jobs
Part 16: Practice Exam 3: CI/CD, Troubleshooting, SecurityGo pass the exam.
Tags
#databricks-certification #practice-exam #cicd-dabs #troubleshooting #security-governance #unity-catalog #spark-ui #column-masking #row-level-security #abac #databricks-data-engineer-associate #dataforge