DP-750 Cheat Sheet
Set up and configure an Azure Databricks environment
Select and Configure Compute in a Workspace
Read full chapterCheat sheet
Sharp facts the exam loves — scan these before test day.
- Job compute is dedicated, ephemeral compute for scheduled production runs
Job (classic jobs) compute provisions a dedicated cluster scoped to a single job run and terminates it when the run finishes, isolating scheduled non-interactive pipelines from interactive development and billing at the lower jobs DBU rate.
Trap All-purpose compute is interactive and shared, so it is not recommended for production jobs and breaks the isolation requirement.
14 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. You are building a scheduled Lakeflow Job whose task is a SQL task that runs a query to refresh reporting tables. Requirements: the ta
- You have an Azure Databricks workspace that is enabled for Unity Catalog and located in a serverless-enabled region. A data engineer must run an interactive notebook and a scheduled Lakeflow Job. Requ
- You have an Azure Databricks workspace. You must schedule a production Lakeflow Job whose single task is a Spark Submit task that runs a compiled JAR. Requirements: the task must run on the compute ty
- You have an Azure Databricks workspace shared by several teams. You need to schedule a production data pipeline so that every run starts on a fresh, clean cluster with no libraries, state, or configur
- You have an Azure Databricks workspace enabled for Unity Catalog. A data scientist performs interactive, iterative data exploration in a notebook, running Python and Scala cells and re-running them ma
- You have an Azure Databricks workspace named Workspace1 in which data scientists run interactive notebooks on shared clusters throughout the day. You need to add a nightly ETL job that runs a Spark no
- You have an Azure Databricks workspace with a shared all-purpose cluster that several teams use. A review finds that a scheduled production pipeline was pinned to this cluster, so it runs at the highe
- You have an Azure Databricks workspace. You have a scheduled Lakeflow Job named Job1 with five sequential tasks. Requirements: the tasks must run on dedicated compute that terminates when the job run
- You have an Azure Databricks workspace. A scheduled production job currently runs on an always-on shared all-purpose cluster. Finance reports two problems: the job is billed at the higher interactive
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. A nightly batch ETL notebook loads production Delta tables. Requirements: the ETL must run as a scheduled, no
- You have an Azure Databricks workspace enabled for Unity Catalog in a serverless-enabled region. A platform team wants one managed compute option they can use across three workload types: interactive
- You have an Azure Databricks workspace enabled for Unity Catalog. A team of eight data engineers must collaborate interactively in notebooks throughout the workday. Requirements: several engineers mus
- You have an Azure Databricks workspace enabled for Unity Catalog with curated gold Delta tables. Business analysts must connect Power BI and Tableau to run high-concurrency SQL dashboards directly on
- You have an Azure Databricks workspace that runs a production reporting pipeline every hour. The pipeline currently runs as a scheduled job attached to an always-on all-purpose cluster that stays prov
All-purpose compute is persistent, multi-user interactive compute for notebooks and ad hoc analysis; it bills at a higher DBU rate than job compute and is not recommended for production pipelines because it mixes development and production workloads.
13 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. You are building a scheduled Lakeflow Job whose task is a SQL task that runs a query to refresh reporting tables. Requirements: the ta
- You have an Azure Databricks workspace that is enabled for Unity Catalog and located in a serverless-enabled region. A data engineer must run an interactive notebook and a scheduled Lakeflow Job. Requ
- You have an Azure Databricks workspace. You must schedule a production Lakeflow Job whose single task is a Spark Submit task that runs a compiled JAR. Requirements: the task must run on the compute ty
- You have an Azure Databricks workspace enabled for Unity Catalog. A data scientist performs interactive, iterative data exploration in a notebook, running Python and Scala cells and re-running them ma
- You have an Azure Databricks workspace. A team needs to interactively develop and debug PySpark transformations in notebooks, running arbitrary Python and Scala code and inspecting intermediate DataFr
- You have an Azure Databricks workspace with a shared all-purpose cluster that several teams use. A review finds that a scheduled production pipeline was pinned to this cluster, so it runs at the highe
- You have an Azure Databricks workspace. A data engineering team needs compute to interactively develop and debug notebooks throughout the workday. The compute must persist so the team can iterate, rer
- You have an Azure Databricks workspace. You have a scheduled Lakeflow Job named Job1 with five sequential tasks. Requirements: the tasks must run on dedicated compute that terminates when the job run
- You have an Azure Databricks workspace. A scheduled production job currently runs on an always-on shared all-purpose cluster. Finance reports two problems: the job is billed at the higher interactive
- You have an Azure Databricks workspace enabled for Unity Catalog in a serverless-enabled region. A platform team wants to run scheduled jobs without provisioning or managing any virtual machines in th
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. A nightly batch ETL notebook loads production Delta tables. Requirements: the ETL must run as a scheduled, no
- You have an Azure Databricks workspace enabled for Unity Catalog. A team of eight data engineers must collaborate interactively in notebooks throughout the workday. Requirements: several engineers mus
- You have an Azure Databricks workspace enabled for Unity Catalog with curated gold Delta tables. Business analysts must connect Power BI and Tableau to run high-concurrency SQL dashboards directly on
- SQL warehouses run SQL and BI workloads, not pipeline code
A SQL warehouse is compute optimized for SQL queries and BI tools such as Power BI and Tableau, and comes in serverless, pro, and classic types; it cannot execute notebook or declarative-pipeline code.
Trap A SQL warehouse cannot serve as the compute engine for a Lakeflow declarative pipeline.
15 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. You are building a scheduled Lakeflow Job whose task is a SQL task that runs a query to refresh reporting tables. Requirements: the ta
- You have an Azure Databricks workspace. You must schedule a production Lakeflow Job whose single task is a Spark Submit task that runs a compiled JAR. Requirements: the task must run on the compute ty
- You have an Azure Databricks workspace enabled for Unity Catalog. You are configuring a new Lakeflow Spark Declarative Pipelines pipeline and must choose the compute that will execute it. A teammate s
- You have an Azure Databricks workspace enabled for Unity Catalog. A data scientist performs interactive, iterative data exploration in a notebook, running Python and Scala cells and re-running them ma
- You have an Azure Databricks workspace. A team needs to interactively develop and debug PySpark transformations in notebooks, running arbitrary Python and Scala code and inspecting intermediate DataFr
- You have an Azure Databricks workspace with a shared all-purpose cluster that several teams use. A review finds that a scheduled production pipeline was pinned to this cluster, so it runs at the highe
- You have an Azure Databricks workspace enabled for Unity Catalog. A data engineer attaches a notebook that contains Python transformation code to a serverless SQL warehouse, and the Python cells fail
- You have an Azure Databricks workspace. A scheduled production job currently runs on an always-on shared all-purpose cluster. Finance reports two problems: the job is billed at the higher interactive
- You have an Azure Databricks workspace enabled for Unity Catalog. A reporting team runs only SQL queries and dashboards against governed Delta tables, with many analysts querying concurrently. They wr
- You have an Azure Databricks workspace enabled for Unity Catalog in a serverless-enabled region. A platform team wants to run scheduled jobs without provisioning or managing any virtual machines in th
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. A nightly batch ETL notebook loads production Delta tables. Requirements: the ETL must run as a scheduled, no
- You have an Azure Databricks workspace enabled for Unity Catalog. Business analysts connect Power BI to governed Delta tables and run interactive SQL for dashboards. You need compute that is purpose-b
- You have an Azure Databricks workspace enabled for Unity Catalog in a serverless-enabled region. A platform team wants one managed compute option they can use across three workload types: interactive
- You have an Azure Databricks workspace enabled for Unity Catalog. A team of eight data engineers must collaborate interactively in notebooks throughout the workday. Requirements: several engineers mus
- You have an Azure Databricks workspace enabled for Unity Catalog with curated gold Delta tables. Business analysts must connect Power BI and Tableau to run high-concurrency SQL dashboards directly on
- Serverless compute starts instantly and is managed by Databricks
Serverless compute runs in the Databricks-managed cloud account and starts in seconds with no VM configuration or instance-pool management; it is available for notebooks, jobs, and declarative pipelines.
10 questions test this
- You have an Azure Databricks workspace that is enabled for Unity Catalog and located in a serverless-enabled region. A data engineer must run an interactive notebook and a scheduled Lakeflow Job. Requ
- You have an Azure Databricks workspace. You must schedule a production Lakeflow Job whose single task is a Spark Submit task that runs a compiled JAR. Requirements: the task must run on the compute ty
- You have an Azure Databricks workspace enabled for Unity Catalog. You are configuring a new Lakeflow Spark Declarative Pipelines pipeline and must choose the compute that will execute it. A teammate s
- You have an Azure Databricks workspace with a shared all-purpose cluster that several teams use. A review finds that a scheduled production pipeline was pinned to this cluster, so it runs at the highe
- You have an Azure Databricks workspace enabled for Unity Catalog. A data engineer attaches a notebook that contains Python transformation code to a serverless SQL warehouse, and the Python cells fail
- You have an Azure Databricks workspace enabled for Unity Catalog. You need to run a scheduled Lakeflow Job without configuring or deploying any infrastructure yourself. Databricks should automatically
- You have an Azure Databricks workspace enabled for Unity Catalog. Analysts complain that they wait minutes for classic clusters to start before they can run notebooks. You need to give them interactiv
- You have an Azure Databricks workspace enabled for Unity Catalog in a serverless-enabled region. A platform team wants to run scheduled jobs without provisioning or managing any virtual machines in th
- You have an Azure Databricks workspace enabled for Unity Catalog. Business analysts connect Power BI to governed Delta tables and run interactive SQL for dashboards. You need compute that is purpose-b
- You have an Azure Databricks workspace enabled for Unity Catalog in a serverless-enabled region. A platform team wants one managed compute option they can use across three workload types: interactive
- Autoscaling adds and removes only worker nodes between a min and max
Cluster autoscaling automatically adds or removes worker nodes between a configured minimum and maximum based on load; it resizes only workers, never the driver, and it does not stop an idle cluster.
Trap Autoscaling only resizes an active cluster; it never terminates an idle one, which is the job of automatic termination.
19 questions test this
- You have an Azure Databricks single-node cluster that a team created for a small job. The dataset has grown and the job now needs distributed processing whose worker capacity scales with a fluctuating
- You have an Azure Databricks workspace with an Apache Spark Structured Streaming job running on a classic all-purpose cluster that uses autoscaling. During low-volume windows the cluster does not scal
- You manage an Azure Databricks workspace named Workspace1 that contains a shared all-purpose cluster used by a data engineering team. During working hours the interactive workload swings between light
- You have an Azure Databricks workspace enabled for Unity Catalog. You are building a new Lakeflow declarative pipeline that ingests a streaming feed whose volume swings sharply through the day. You ne
- You have an Azure Databricks SQL warehouse that runs scheduled dashboard queries during the day and then sits unused overnight, accruing cost. A colleague suggests using cluster automatic termination,
- You have an Azure Databricks workspace. A data scientist must run a single-node Python machine learning library on a small dataset. The workload is not distributed across executors. You need to provis
- You have an Azure Databricks workspace that is enabled for Unity Catalog. You are building a Lakeflow Spark Declarative Pipelines (SDP) pipeline that ingests a streaming source whose volume is spiky.
- You have an Azure Databricks workspace with an Apache Spark Structured Streaming ingestion running on a classic all-purpose cluster that uses standard autoscaling. The cluster does not scale down well
- You have an Azure Databricks workspace that contains an all-purpose cluster used for an interactive ETL notebook. The transformation load rises sharply during some stages of a run and falls during oth
- You have an Azure Databricks cluster running a job whose executor demand fluctuates. A teammate proposes changing the cluster so that both the driver and the workers grow and shrink with the load. You
- You have an Azure Databricks cluster for a production job. The job needs a small, always-available baseline of workers so it stays responsive, plus headroom to add workers during heavier periods, whil
- You have an Azure Databricks single-node cluster that a team started using for a small workload. The workload has grown into large-scale distributed processing that now exhausts the single node. You n
- You have an Azure Databricks workspace whose analytics team queries a single pro SQL warehouse named Warehouse1 that backs several Power BI reports. Two separate problems appear: one analyst's complex
- You have an Azure Databricks workspace. A small scheduled job performs non-distributed processing on a tiny dataset, and you want the cheapest compute possible. You tried a multi-node autoscaling clus
- You are moving a mixed batch and streaming ETL workload into a new Lakeflow Spark Declarative Pipelines pipeline in an Azure Databricks workspace. The pipeline's workload volume swings widely through
- You have an Azure Databricks job cluster whose input volume is bursty: a few times a day it must process a large surge, but most of the time the volume is low. Currently the cluster is provisioned at
- You have an Azure Databricks SQL warehouse that serves Power BI dashboards. Individual query latency is acceptable, but during business hours many analysts run queries at the same time and queries beg
- You manage an Azure Databricks workspace named Workspace1 that runs a nightly batch ETL job on classic job compute. The job alternates between a heavy join-and-shuffle stage that needs many executors
- You have an Azure Databricks workspace where a scheduled job runs a single-threaded Python statistics library over a few thousand rows and writes the result to a Delta table named Forecast. The worklo
- A single-node cluster has zero workers and runs on the driver only
A single-node cluster sets the worker count to 0 so the driver runs all Spark work with no worker nodes; it cannot autoscale and suits only small, non-distributed workloads.
6 questions test this
- You have an Azure Databricks single-node cluster that a team created for a small job. The dataset has grown and the job now needs distributed processing whose worker capacity scales with a fluctuating
- You manage an Azure Databricks workspace named Workspace1 that contains a shared all-purpose cluster used by a data engineering team. During working hours the interactive workload swings between light
- You have an Azure Databricks workspace. A data scientist must run a single-node Python machine learning library on a small dataset. The workload is not distributed across executors. You need to provis
- You have an Azure Databricks single-node cluster that a team started using for a small workload. The workload has grown into large-scale distributed processing that now exhausts the single node. You n
- You have an Azure Databricks workspace. A small scheduled job performs non-distributed processing on a tiny dataset, and you want the cheapest compute possible. You tried a multi-node autoscaling clus
- You have an Azure Databricks workspace where a scheduled job runs a single-threaded Python statistics library over a few thousand rows and writes the result to a Delta table named Forecast. The worklo
- Enhanced autoscaling optimizes Lakeflow declarative-pipeline compute
Lakeflow Spark Declarative Pipelines run on runtime-managed job compute that uses enhanced autoscaling, which scales workers to workload volume and proactively shuts down under-utilized nodes to minimize cost.
7 questions test this
- You have an Azure Databricks workspace with an Apache Spark Structured Streaming job running on a classic all-purpose cluster that uses autoscaling. During low-volume windows the cluster does not scal
- You have an Azure Databricks workspace that runs a Lakeflow Spark Declarative Pipelines (SDP) pipeline which ingests a streaming source whose volume spikes sharply a few times an hour and is near zero
- You have an Azure Databricks workspace enabled for Unity Catalog. You are building a new Lakeflow declarative pipeline that ingests a streaming feed whose volume swings sharply through the day. You ne
- You have an Azure Databricks workspace that is enabled for Unity Catalog. You are building a Lakeflow Spark Declarative Pipelines (SDP) pipeline that ingests a streaming source whose volume is spiky.
- You have an Azure Databricks workspace with an Apache Spark Structured Streaming ingestion running on a classic all-purpose cluster that uses standard autoscaling. The cluster does not scale down well
- You are moving a mixed batch and streaming ETL workload into a new Lakeflow Spark Declarative Pipelines pipeline in an Azure Databricks workspace. The pipeline's workload volume swings widely through
- You have an Azure Databricks workspace that is enabled for Unity Catalog. You run a Lakeflow Spark Declarative Pipelines (SDP) pipeline on a serverless pipeline. You need the pipeline compute to: scal
- Cluster capacity is worker count multiplied by per-node CPU and memory
Total cluster compute equals the number of worker nodes multiplied by each node's CPU and memory, so a workload is scaled either by adding workers (node count) or by selecting a larger node type.
- SQL warehouse size sets query power; scaling adds clusters; Auto Stop halts idle
A SQL warehouse t-shirt cluster size (X-Small to 4X-Large) sets the compute power for a single query, while its Scaling min/max range adds or removes WHOLE clusters to absorb concurrent-query load (not worker nodes, unlike cluster autoscaling); Auto Stop shuts an idle warehouse down (default 45 minutes classic/pro, 10 minutes serverless).
Trap SQL warehouse Scaling adds whole CLUSTERS for concurrency, whereas cluster autoscaling adds WORKER NODES; Auto Stop (warehouse) is distinct from a cluster automatic termination.
6 questions test this
- You have an Azure Databricks workspace that runs a Lakeflow Spark Declarative Pipelines (SDP) pipeline which ingests a streaming source whose volume spikes sharply a few times an hour and is near zero
- You have an Azure Databricks SQL warehouse that runs scheduled dashboard queries during the day and then sits unused overnight, accruing cost. A colleague suggests using cluster automatic termination,
- You have an Azure Databricks SQL warehouse configured at the X-Small size. A single analyst runs one complex analytical query that scans large tables, and it completes too slowly. There is no concurre
- You have an Azure Databricks workspace whose analytics team queries a single pro SQL warehouse named Warehouse1 that backs several Power BI reports. Two separate problems appear: one analyst's complex
- You have an Azure Databricks SQL warehouse that serves Power BI dashboards. Individual query latency is acceptable, but during business hours many analysts run queries at the same time and queries beg
- You have a pro Azure Databricks SQL warehouse sized X-Small that serves an analytics team. A single complex query scans very large tables, spills to disk, and runs too slowly, but there is no concurre
- Automatic termination shuts down a cluster after idle minutes
Automatic termination stops an all-purpose cluster after a set number of minutes with no Spark jobs, queries, or commands running, removing idle DBU and VM cost; a cluster is inactive only when nothing is executing, so active workloads keep it alive and are never interrupted.
Trap Enabling autoscaling or spot pricing lowers cost but does not stop an idle cluster; only automatic termination removes the idle waste.
14 questions test this
- You have an Azure Databricks workspace that contains a shared all-purpose cluster analysts use during the day. You enabled automatic termination on the cluster, but it never shuts down and keeps billi
- You have an Azure Databricks workspace with a shared all-purpose cluster that also runs a scheduled job at 2:00 AM. You want to enable automatic termination to remove the cluster's idle cost during th
- You have an Azure Databricks workspace with an all-purpose cluster whose worker nodes were switched to Azure Spot VMs to reduce cost. A finance review shows the monthly cost barely changed because the
- You have an Azure Databricks workspace named Workspace1 that contains a shared all-purpose cluster the data science team uses for interactive analysis during the day. After hours the cluster usually s
- You manage an Azure Databricks workspace named Workspace1 in which a data engineering team runs several all-purpose clusters for interactive notebook development. To speed up cluster start time, every
- You manage an Azure Databricks workspace named Workspace1 that contains several all-purpose clusters used for interactive development. The clusters already use autoscaling and Azure Spot VMs, yet bill
- You have an Azure Databricks workspace with an all-purpose cluster that analysts use for ad hoc queries during the day. A scheduled Lakeflow Job runs on the same cluster each night. You need the clust
- You have an Azure Databricks workspace that runs a production Structured Streaming pipeline continuously on dedicated compute, plus several interactive dev clusters that analysts use during the day an
- You have an Azure Databricks workspace with a shared all-purpose cluster that a team uses only during business hours. On nights and weekends the cluster sits with no notebooks, jobs, or queries runnin
- You have an Azure Databricks workspace where all-purpose clusters already have automatic termination enabled, so they shut down after the team stops working and idle cost stays low. Each morning, thou
- You have an Azure Databricks workspace named Workspace1 in which a data engineering team recreates all-purpose clusters many times a day, and each new cluster spends several minutes acquiring Azure VM
- You have an Azure Databricks workspace. A colleague wants to reduce both how long clusters take to start and how long autoscaling takes to add nodes during load spikes. They ask which capability is de
- You have an Azure Databricks workspace that contains an all-purpose cluster configured with autoscaling and a low minimum worker count. A cost review shows the cluster still accrues charges overnight
- You have an Azure Databricks workspace that runs scheduled batch pipelines on classic job compute and also hosts several all-purpose clusters that analysts use for interactive notebook development dur
- Instance pools keep warm VMs to reduce cluster start and scale time
An instance pool holds a set of idle, ready-to-use cloud VMs so clusters and autoscaling attach pre-acquired nodes and start faster; you pay the Azure VM cost for idle pooled instances but no DBU until a cluster uses them.
13 questions test this
- You have an Azure Databricks workspace where a data engineering team creates and terminates all-purpose clusters many times a day. Each new cluster takes several minutes to become available because Az
- In an Azure Databricks workspace, an automated integration-test harness creates a fresh all-purpose cluster of the same instance type for every test run and terminates it when the run ends, dozens of
- You manage an Azure Databricks workspace named Workspace1 in which a data engineering team runs several all-purpose clusters for interactive notebook development. To speed up cluster start time, every
- You have an Azure Databricks workspace where several teams each create their own job clusters that all use the same VM instance type. Each cluster waits to acquire fresh VMs at start, and the teams' c
- You are planning an instance pool so that a nightly batch of Azure Databricks jobs starts quickly. Your finance team asks exactly what the workspace is billed for the instances that sit idle in the po
- You have an Azure Databricks workspace with a scheduled job that must begin processing within a tight start-time window each morning. Occasionally the job is late because acquiring new Azure VMs delay
- You have an Azure Databricks workspace where all-purpose clusters already have automatic termination enabled, so they shut down after the team stops working and idle cost stays low. Each morning, thou
- You have an Azure Databricks workspace named Workspace1 in which a data engineering team recreates all-purpose clusters many times a day, and each new cluster spends several minutes acquiring Azure VM
- You have an Azure Databricks workspace with a job cluster that autoscales to handle variable load. During load spikes the cluster adds workers too slowly because acquiring new Azure VMs takes time, an
- You have an Azure Databricks all-purpose cluster with autoscaling enabled to handle bursty interactive workloads. During sudden load spikes users complain that the cluster is slow to speed up because
- You have an Azure Databricks workspace where scheduled jobs must start quickly, so you want a set of machines kept warm and ready. Finance requires that you do not pay Databricks DBU charges for machi
- You have an Azure Databricks workspace. A colleague wants to reduce both how long clusters take to start and how long autoscaling takes to add nodes during load spikes. They ask which capability is de
- You have an Azure Databricks workspace where teams launch many short-lived job clusters throughout the business day. Users complain that each run waits a long time while new Azure VMs are acquired bef
- Spot VMs reduce worker cost but can be reclaimed
Configuring workers as Azure Spot VMs lowers per-hour compute cost, but Azure can reclaim spot capacity at any time, so spot fits fault-tolerant workloads and does not by itself reduce idle-cluster waste.
- Photon is the vectorized engine that accelerates SQL and DataFrame work
Photon is Databricks' native vectorized C++ query engine that transparently accelerates SQL and Spark DataFrame workloads, including JSON ETL and Delta operations; it is turned on per cluster with the Use Photon Acceleration checkbox and is on by default on recent runtimes.
Trap Photon accelerates SQL and DataFrame operations, not arbitrary Python or Scala UDFs.
8 questions test this
- Fabrikam runs an Azure Databricks workspace attached to a Unity Catalog metastore. A nightly Lakeflow job executes a large batch ETL that is written entirely with the Scala DataFrame API: it scans mul
- You manage an Azure Databricks workspace enabled for Unity Catalog. A data engineering team runs a nightly batch job on classic job compute that transforms Delta tables using only Spark SQL and the Da
- You have an Azure Databricks workspace. A data science team needs interactive compute where PyTorch, TensorFlow, and scikit-learn are already available so they can start training models immediately. Y
- You have an Azure Databricks classic job cluster with Photon enabled. A Scala pipeline on it is implemented almost entirely with the low-level RDD and Dataset APIs, and profiling shows almost none of
- You have an Azure Databricks workspace. A Structured Streaming ingestion job reads JSON events from Azure Event Hubs and writes them, unchanged and without any aggregation or windowing, to a Delta tab
- You have an Azure Databricks workspace with a nightly Lakeflow job that runs SQL and DataFrame transformations to load JSON files into a Delta table named Sales. The job is CPU-bound on scans, joins,
- You have an Azure Databricks workspace. A scheduled Spark DataFrame job runs on Photon-enabled job compute, but its runtime has not improved. Investigation shows that most of the job's time is spent i
- You have an Azure Databricks workspace. Before enabling Photon on a large classic job cluster, a stakeholder worries it will require rewriting the existing Spark SQL and DataFrame code, and that any o
- The Databricks Runtime version fixes the bundled Spark version
Choosing a Databricks Runtime (DBR) version sets the bundled Apache Spark version and preinstalled libraries; Long Term Support (LTS) releases are recommended for production because they are supported and patched longer.
9 questions test this
- You have an Azure Databricks workspace and are documenting how compute is configured. A developer needs to know which single compute setting determines the exact Apache Spark version a cluster runs, s
- Your team runs a nightly financial-reporting job on Azure Databricks job compute. Auditors require that a rerun of the job months from now produce identical results, so the bundled Apache Spark versio
- You have an Azure Databricks job whose SQL transformation calls a built-in function that was introduced in Apache Spark 4.0. The job runs on a cluster using an older Databricks Runtime and fails to re
- You manage an Azure Databricks workspace. You are configuring the job compute for a business-critical, scheduled production pipeline that must run unchanged for many months. You need to choose a Datab
- You have an Azure Databricks workspace. A data science team of ten engineers each spins up their own compute, and their models produce inconsistent results because everyone installs different versions
- Woodgrove Bank runs a business-critical, scheduled Lakeflow job on classic job compute in an Azure Databricks workspace. The job was pinned to a recent non-LTS Databricks Runtime release, yet over sev
- You have Azure Databricks compute in a development workspace and a production workspace. A data engineering team reports that the same job returns different results because the two workspaces run diff
- You manage Azure Databricks compute for a pipeline that is promoted across separate development, test, and production workspaces. Occasionally the pipeline behaves differently between environments bec
- You are provisioning job compute for a newly built, business-critical ETL pipeline on Azure Databricks that will run on a fixed schedule for the foreseeable future. The team must minimize the risk of
- Databricks Runtime for Machine Learning preinstalls ML libraries
The Databricks Runtime for Machine Learning extends the standard runtime with preinstalled ML libraries such as PyTorch, TensorFlow, and scikit-learn (with GPU variants), so selecting it avoids manually installing the ML stack.
8 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. A data engineer must build features for a machine learning project and track experiments, and needs the Databricks feature-engineering
- You have an Azure Databricks workspace. A data science team needs interactive compute where PyTorch, TensorFlow, and scikit-learn are already available so they can start training models immediately. Y
- You have an Azure Databricks workspace. A data science team of ten engineers each spins up their own compute, and their models produce inconsistent results because everyone installs different versions
- You have an Azure Databricks workspace. A team trains scikit-learn and XGBoost models on modest tabular datasets that fit comfortably in memory, and does no deep-learning or neural-network training. T
- You have an Azure Databricks workspace. A model must be retrained on a fixed nightly schedule as a non-interactive pipeline, and the training code depends on scikit-learn and MLflow being present. You
- A data science team on your Azure Databricks workspace currently pip-installs scikit-learn, XGBoost, and MLflow onto every new all-purpose cluster before they can start work. The manual installs are s
- You have an Azure Databricks workspace with a nightly Lakeflow job that runs SQL and DataFrame transformations to load JSON files into a Delta table named Sales. The job is CPU-bound on scans, joins,
- You have an Azure Databricks workspace. A data science team needs a classic compute resource on which they can immediately use PyTorch, TensorFlow, and scikit-learn to train models. You must make thes
- Cluster-scoped libraries load for every notebook; notebook-scoped are session only
Cluster-scoped libraries install on the cluster and are available to every notebook attached to it, whereas notebook-scoped libraries installed with %pip apply only to the current notebook session and are discarded when the cluster restarts.
12 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. Your team built an internal Python utility packaged as a wheel (.whl) file that is not published to PyPI or any public index. You need
- You have an Azure Databricks workspace named Workspace1 with an all-purpose cluster named Cluster1 that a data engineering team shares. A custom Python wheel must be available to every notebook and jo
- You have an Azure Databricks workspace with an all-purpose cluster named Cluster1 that several data engineers attach their notebooks to. A new Python package must be available to every notebook and jo
- You have an Azure Databricks workspace. A data science team runs R workloads on an all-purpose cluster named ClusterDS that uses dedicated access mode. They need a specific analytics package that is p
- You have an Azure Databricks all-purpose cluster shared by several analysts. One analyst needs a newer version of a Python package for a single notebook. The change must not affect the package version
- You have an Azure Databricks all-purpose cluster. During development, an engineer installs several Python packages in a notebook using %pip install. After the cluster is restarted for maintenance, the
- You have an Azure Databricks all-purpose cluster named Cluster1 with a notebook currently attached and running. An admin installs a new compute-scoped library on Cluster1. The engineer using the attac
- You have an Azure Databricks workspace with a shared all-purpose cluster named Cluster1 used by several analysts. One analyst needs a newer version of a Python plotting library for a single explorator
- You have an Azure Databricks workspace named WS1 with a shared all-purpose cluster named ClusterR that several analysts attach notebooks to, and ClusterR also runs scheduled R jobs in production. An a
- You have an Azure Databricks cluster. A data engineering team needs the cluster to install a fixed set of about 20 pinned Python dependencies (all available on PyPI) as compute-scoped libraries. They
- You have an Azure Databricks all-purpose cluster named Cluster1 with a notebook already attached and running. You install a new cluster-scoped library on Cluster1, but the attached notebook still cann
- You have an Azure Databricks all-purpose cluster. Analysts install packages with %pip at the start of their notebooks, but after the cluster restarts the packages are gone and their notebooks fail unt
- Libraries install from package repositories or from files and volumes
Compute libraries can be installed from package repositories (PyPI, Maven, CRAN) or from uploaded artifacts such as wheel, egg, or JAR files stored in workspace files or Unity Catalog volumes.
8 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. Your team built an internal Python utility packaged as a wheel (.whl) file that is not published to PyPI or any public index. You need
- You have an Azure Databricks workspace running Databricks Runtime 15.4 LTS that is not enabled for Unity Catalog. Your team maintains a custom Python wheel in the workspace file tree next to the proje
- You have an Azure Databricks workspace enabled for Unity Catalog. A team runs R workloads on an all-purpose cluster named ClusterProd that uses standard access mode. You try to install an R package fr
- You have an Azure Databricks workspace enabled for Unity Catalog. A data scientist needs to install a custom JAR and a proprietary Maven library on a cluster for a short experiment. The JAR is not on
- You have an Azure Databricks workspace. A data science team runs R workloads on an all-purpose cluster named ClusterDS that uses dedicated access mode. They need a specific analytics package that is p
- You have an Azure Databricks workspace enabled for Unity Catalog. A team maintains an internal Python utility that they have historically distributed as a Python egg (.egg) file. They now run on a cur
- You have an Azure Databricks workspace on Databricks Runtime 15.x that is enabled for Unity Catalog. A team has historically stored a custom Python library in the DBFS root and installed it from there
- You have an Azure Databricks cluster. A data engineering team needs the cluster to install a fixed set of about 20 pinned Python dependencies (all available on PyPI) as compute-scoped libraries. They
- Standard access mode installs only allowlisted libraries
On standard (formerly shared) access mode compute, libraries and init scripts must be on the Unity Catalog allowlist maintained by a metastore admin, whereas dedicated access mode has no such restriction.
Trap The Unity Catalog allowlist governs standard access mode; dedicated (single-user) compute is not subject to it.
8 questions test this
- You are the metastore admin for a Unity Catalog metastore. Developers using standard access mode compute need to install several approved JARs and init scripts stored in a Unity Catalog volume. You ne
- You have an Azure Databricks workspace enabled for Unity Catalog. A team runs R workloads on an all-purpose cluster named ClusterProd that uses standard access mode. You try to install an R package fr
- You have a Unity Catalog-enabled Azure Databricks workspace. A data engineer must install a third-party JAR library, stored in a Unity Catalog volume, on a cluster that uses standard access mode so th
- You have an Azure Databricks workspace enabled for Unity Catalog. A data scientist needs to install a custom JAR and a proprietary Maven library on a cluster for a short experiment. The JAR is not on
- You have an Azure Databricks workspace enabled for Unity Catalog. A cluster in standard access mode needs a cluster-scoped init script stored in a Unity Catalog volume and a Python package from PyPI.
- You have a Unity Catalog-enabled Azure Databricks workspace. A data engineer must install a JAR library and run a cluster-scoped init script on their own compute, but metastore admins have not added t
- You have an Azure Databricks workspace enabled for Unity Catalog. A team maintains an internal Python utility that they have historically distributed as a Python egg (.egg) file. They now run on a cur
- You have an Azure Databricks workspace attached to a Unity Catalog metastore. A data engineering team needs to install a third-party Spark connector distributed as a JAR onto a cluster that uses stand
- Compute ACLs grant CAN ATTACH TO, CAN RESTART, or CAN MANAGE
Compute access control assigns three permission levels to users, groups, or service principals: CAN ATTACH TO (run commands and view logs), CAN RESTART (start, stop, and restart), and CAN MANAGE (edit configuration and permissions).
14 questions test this
- You have an Azure Databricks workspace that contains an all-purpose compute resource named TeamCluster. A team lead who is not a workspace admin must be able to grant and revoke other users' permissio
- You have an Azure Databricks workspace on the Premium plan that is enabled for Unity Catalog. A group of data scientists named dsteam1 must be able to self-provision their own all-purpose compute for
- You have an Azure Databricks workspace on the Premium plan. A group of data engineers must be able to create their own all-purpose compute for development, but you need to ensure that any compute they
- You have an Azure Databricks workspace enabled for Unity Catalog that contains an all-purpose cluster named DevCluster1. A group of data analysts named analysts1 must attach notebooks to DevCluster1,
- You have an Azure Databricks workspace on the Premium plan. Business analysts must be allowed to create their own all-purpose clusters, but only with an approved node type, a Long Term Support Databri
- You have an Azure Databricks workspace that contains an all-purpose cluster named OpsCluster1 used by a support team. A group of on-call engineers named oncall1 must be able to start, stop, and restar
- You have an Azure Databricks workspace that contains a shared all-purpose cluster named TeamCluster1. A team lead must be able to edit TeamCluster1 (resize it and change its libraries) and grant other
- You have an Azure Databricks workspace that contains an all-purpose compute resource named DevCluster used by a development team. You need to let a group of data scientists named DS1 attach notebooks
- You have an Azure Databricks workspace that contains a production all-purpose cluster named ProdCluster1. An external orchestrator authenticates as a service principal named sp-orch and must run comma
- You have an Azure Databricks workspace named Workspace1 that contains an all-purpose compute resource named Cluster1 used by a data engineering team. You need to allow an on-call operations group name
- You have an Azure Databricks workspace on the Premium plan. A workspace admin has created a compute policy named Analyst-Policy that enforces approved cluster settings. A group of analysts named analy
- You have an Azure Databricks workspace on the Premium plan that contains a production all-purpose compute resource named StreamProd1 running on standard access mode. A platform reliability group named
- You have an Azure Databricks workspace on the Premium plan. A data engineering team must be able to create only job compute (not all-purpose compute) on a Long Term Support Databricks Runtime, and eac
- You have an Azure Databricks workspace that contains an all-purpose compute resource named Cluster2. A senior engineer reports that they can attach notebooks to Cluster2 and restart it but cannot edit
- Access mode (standard vs dedicated) sets sharing and Unity Catalog support
A cluster's access mode determines sharing: standard access mode supports multiple concurrent users with full Unity Catalog governance, while dedicated access mode is assigned to a single user or group; both are Unity Catalog-enabled.
Trap The legacy No Isolation Shared access mode is not Unity Catalog-enabled.
8 questions test this
- You have an Azure Databricks workspace that contains an all-purpose cluster using the legacy No Isolation Shared access mode. The cluster is shared concurrently by several analysts, and all of them mu
- You have an Azure Databricks workspace enabled for Unity Catalog. An Azure Databricks group named team_ds needs an all-purpose cluster that only its members can use, running Databricks Runtime for Mac
- You have an Azure Databricks workspace on the Premium plan that is enabled for Unity Catalog. A group of data scientists named dsteam1 must be able to self-provision their own all-purpose compute for
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A team of eight analysts must share a single all-purpose compute resource to run interactive Python and SQL against catalog ta
- You have an Azure Databricks workspace attached to a Unity Catalog metastore. An existing all-purpose cluster uses the legacy No isolation shared access mode, and users report that it cannot query tab
- You have an Azure Databricks workspace enabled for Unity Catalog. Several data engineers must share one all-purpose cluster concurrently for collaborative development, every user must be governed by U
- You have an Azure Databricks workspace enabled for Unity Catalog. A data scientist needs an all-purpose cluster that runs a workload written in R on Databricks Runtime for Machine Learning. The cluste
- You have an Azure Databricks workspace on the Premium plan. A data engineering team must be able to create only job compute (not all-purpose compute) on a Long Term Support Databricks Runtime, and eac
- Creating compute requires the cluster-creation entitlement
A user can create all-purpose compute only if granted the unrestricted or policy-scoped cluster-creation entitlement; without it they can merely attach to existing compute they have been given access to.
- Cluster policies constrain what compute a user can create
A cluster (compute) policy is an admin-defined rule set that limits the compute a user may create or configure - allowed node types and Databricks Runtime versions, enforced auto-termination, maximum workers or DBU caps, and mandatory tags. Granting a user a policy scopes their cluster-creation entitlement to compute that complies with it, enforcing cost control and standards.
Trap A cluster policy governs the compute a user may CREATE (its configuration limits); that is different from a cluster ACL that grants Can Attach/Can Manage on an already-existing cluster.
14 questions test this
- You have an Azure Databricks workspace that contains an all-purpose compute resource named TeamCluster. A team lead who is not a workspace admin must be able to grant and revoke other users' permissio
- You have an Azure Databricks workspace enabled for Unity Catalog. An Azure Databricks group named team_ds needs an all-purpose cluster that only its members can use, running Databricks Runtime for Mac
- You have an Azure Databricks workspace on the Premium plan that is enabled for Unity Catalog. A group of data scientists named dsteam1 must be able to self-provision their own all-purpose compute for
- You have an Azure Databricks workspace on the Premium plan. A group of data engineers must be able to create their own all-purpose compute for development, but you need to ensure that any compute they
- You have an Azure Databricks workspace enabled for Unity Catalog that contains an all-purpose cluster named DevCluster1. A group of data analysts named analysts1 must attach notebooks to DevCluster1,
- You have an Azure Databricks workspace on the Premium plan. Business analysts must be allowed to create their own all-purpose clusters, but only with an approved node type, a Long Term Support Databri
- You have an Azure Databricks workspace that contains an all-purpose cluster named OpsCluster1 used by a support team. A group of on-call engineers named oncall1 must be able to start, stop, and restar
- You have an Azure Databricks workspace that contains a shared all-purpose cluster named TeamCluster1. A team lead must be able to edit TeamCluster1 (resize it and change its libraries) and grant other
- You have an Azure Databricks workspace on the Premium plan. You want to let a group create their own all-purpose compute through self-service while ensuring that every cluster they create uses a long-
- You have an Azure Databricks workspace that contains a production all-purpose cluster named ProdCluster1. An external orchestrator authenticates as a service principal named sp-orch and must run comma
- You have an Azure Databricks workspace on the Premium plan. A workspace admin has created a compute policy named Analyst-Policy that enforces approved cluster settings. A group of analysts named analy
- You have an Azure Databricks workspace on the Premium plan that contains a production all-purpose compute resource named StreamProd1 running on standard access mode. A platform reliability group named
- You have an Azure Databricks workspace on the Premium plan. A data engineering team must be able to create only job compute (not all-purpose compute) on a Long Term Support Databricks Runtime, and eac
- You have an Azure Databricks workspace that contains an all-purpose compute resource named Cluster2. A senior engineer reports that they can attach notebooks to Cluster2 and restart it but cannot edit
Create and Organize Objects in Unity Catalog
Read full chapterCheat sheet
Sharp facts the exam loves — scan these before test day.
- Unity Catalog addresses data as catalog.schema.object
Unity Catalog organizes every data object in a three-level namespace of catalog.schema.object (tables, views, volumes, functions, and models), replacing the legacy two-level hive_metastore.schema.table layout.
5 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. A project team needs a set of managed Delta tables, several views, a volume for raw ingestion files, a SQL UDF, and a registered ML mo
- You have two Unity Catalog catalogs named dev and prod that contain identically named schemas and tables. A notebook currently reads a table using the two-level reference sales.orders, and depending o
- You have an Azure Databricks workspace enabled for Unity Catalog and attached to a shared metastore. A curated lookup table is registered as reference.geo.regions in a shared catalog, and daily sales
- You have an Azure Databricks workspace attached to a Unity Catalog metastore named metastore1. Legacy pipelines still reference their tables with the two-level pattern hive_metastore.schema.table. You
- In the prod catalog you must create two tables that both need to be named customers: one owned by the sales domain and one owned by the marketing domain. Both tables must coexist without a naming coll
- Use a separate catalog per environment for data isolation
The catalog is the primary unit of data isolation in Unity Catalog, so a common naming convention creates a distinct catalog per environment (for example dev, test, and prod) to segregate data and permissions.
Trap Separating environments only by schema inside one shared catalog weakens the isolation boundary.
7 questions test this
- Contoso, Inc. has a single Unity Catalog metastore that is shared by three Azure Databricks workspaces belonging to its development, test, and production teams. The design must meet the following requ
- You are defining the naming and isolation convention for a new Azure Databricks lakehouse that will host development, test, and production data in one Unity Catalog metastore. The design must ensure t
- A retailer stores highly sensitive customer PII alongside non-customer reference data in one Unity Catalog metastore. Compliance requires that the sensitive customer data be isolated from the rest of
- You have two Unity Catalog catalogs named dev and prod that contain identically named schemas and tables. A notebook currently reads a table using the two-level reference sales.orders, and depending o
- You operate in a single Azure Databricks region with one Unity Catalog metastore that is shared by all workspaces. You must isolate development, test, and production data. The solution must ensure tha
- You have a Unity Catalog metastore shared by a development workspace and a production workspace. A catalog named prod_catalog holds production data. The solution must ensure that: prod_catalog is acce
- You maintain ETL notebooks that must be promoted unchanged from dev to test to prod in Unity Catalog. The solution must ensure that: the same schema and table names exist in every environment so the c
- Bind a catalog to specific workspaces to restrict its access
Workspace-catalog binding restricts a catalog so it is accessible only from designated workspaces, enforcing environment isolation and controlled external sharing across a metastore shared by several workspaces.
5 questions test this
- Your Unity Catalog metastore is attached to a development workspace and a production workspace. A catalog named prod_catalog must be accessible only from the production workspace. Some data engineers
- An hr_catalog contains sensitive HR data that, per compliance policy, may be processed only in a dedicated secure workspace. The catalog is in a metastore shared by several other workspaces whose user
- You have a Unity Catalog metastore shared by a development workspace and a production workspace. A catalog named prod_catalog holds production data. The solution must ensure that: prod_catalog is acce
- A single Unity Catalog metastore is shared by a finance workspace and a sales workspace. The solution must ensure that: finance_catalog is not discoverable or queryable from the sales workspace, so th
- You have a Unity Catalog metastore shared by several workspaces. A catalog named reference_catalog holds curated lookup tables. The solution must ensure that: analysts in every workspace can read refe
- CREATE CATALOG makes a top-level container in the metastore
CREATE CATALOG creates the top-level container within the metastore; an optional MANAGED LOCATION sets where its managed tables and volumes store data, otherwise they inherit managed storage from the metastore.
Trap CREATE CATALOG builds a catalog, not a schema; a contained schema needs CREATE SCHEMA catalog.schema.
16 questions test this
- You have an Azure Databricks workspace that was in service before it was enabled for Unity Catalog, so it still exposes a legacy per-workspace Hive metastore as the hive_metastore catalog. A regulated
- Your team has already registered a Unity Catalog external location named ext_curated that covers abfss://curated@lake.dfs.core.windows.net/, and you hold the CREATE MANAGED STORAGE privilege on it. Yo
- Your Azure Databricks workspace was enabled for Unity Catalog automatically, so its metastore has no metastore-level managed storage location. You need to create a new standard catalog named ops that
- You have an Azure Databricks workspace attached to a Unity Catalog metastore named metastore1. metastore1 does not yet contain a catalog named lakehouse. You need to create a schema named bronze that
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog and attached to a metastore named metastore1. The data platform team is onboarding a Payments business unit an
- You have an Azure Databricks workspace whose Unity Catalog metastore was configured with a metastore-level managed storage location. A data engineer runs CREATE CATALOG reporting without specifying a
- A data engineer on your team was asked to provision a new, independent top-level container in an existing Unity Catalog metastore named metastore1 to hold all of the Marketing department's schemas and
- You have an Azure Databricks workspace whose Unity Catalog metastore has a metastore-level managed storage location configured. A colleague runs CREATE CATALOG sales; with no MANAGED LOCATION clause a
- You have an Azure Databricks workspace attached to a Unity Catalog metastore. You need to create a new catalog named sales whose managed tables and managed volumes are physically stored in abfss://gol
- You have a Unity Catalog catalog named ops that was created with MANAGED LOCATION 'abfss://ops@lake.dfs.core.windows.net/ops'. Inside ops you run CREATE SCHEMA ops.audit MANAGED LOCATION 'abfss://audi
- You maintain a setup notebook that provisions Unity Catalog objects and is re-run on every deployment. On the first run it succeeds, but on later runs the line CREATE CATALOG analytics; throws an exce
- You have an Azure Databricks workspace enabled for Unity Catalog. You run CREATE CATALOG finance MANAGED LOCATION 'abfss://data@contoso.dfs.core.windows.net/finance'; and it is rejected even though th
- You have two Azure Databricks workspaces named Workspace1 and Workspace2 that are both attached to the same Unity Catalog metastore named metastore1. A new analytics program must be governed as a sing
- Contoso, Inc. has an Azure Databricks workspace that is enabled for Unity Catalog and attached to a metastore named metastore1 that already has a metastore-level managed storage location. The data pla
- You have an Azure Databricks workspace that is enabled for Unity Catalog and attached to a metastore named metastore1. A team needs a new top-level container in metastore1 under which they will create
- Your Unity Catalog metastore has a metastore-level managed storage location that all existing catalogs use by default. A new regulated catalog named hr must keep its managed tables and volumes in a de
- Creating a catalog requires the CREATE CATALOG metastore privilege
Only a metastore admin or a principal granted the CREATE CATALOG privilege on the metastore can create a catalog, and the creator becomes its owner with full control over the new object.
- Set a schema's storage with MANAGED LOCATION, not LOCATION, in Unity Catalog
CREATE SCHEMA catalog.schema MANAGED LOCATION '' sets a schema's managed storage in Unity Catalog; the LOCATION clause is a Hive-metastore-only syntax and is rejected for Unity Catalog schemas.
Trap LOCATION is not supported for a Unity Catalog schema; use MANAGED LOCATION instead.
9 questions test this
- You have an Azure Databricks workspace attached to a Unity Catalog metastore that contains a catalog named analytics. A data engineer runs CREATE SCHEMA analytics.bronze LOCATION 'abfss://lake@adls1.d
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A catalog named research already has a managed storage location. You need to create several schemas in research whose managed
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A catalog named finance stores its managed tables in the metastore's default storage. Compliance requires that all managed tab
- You manage an Azure Databricks workspace that is enabled for Unity Catalog and attached to a metastore named metastore_east. The metastore contains a catalog named retail_prod whose managed data curre
- You have an Azure Databricks workspace that is enabled for Unity Catalog and attached to a metastore whose catalog named logistics_prod already stores its managed tables in the metastore's default roo
- You have an Azure Databricks workspace enabled for Unity Catalog. You create a schema named archive inside a catalog named cold_store without specifying any storage clause. The managed tables you late
- You have an Azure Databricks workspace that is enabled for Unity Catalog and attached to a metastore. The metastore contains a catalog named sales_analytics that already uses the metastore's default m
- You have an Azure Databricks workspace that is enabled for Unity Catalog and attached to a metastore named metastore1. metastore1 contains a catalog named sales_prod and an external location named fin
- You have an Azure Databricks workspace that is enabled for Unity Catalog. When you create a schema, you want its managed tables and volumes stored at an external-location path that differs from the ca
- A schema is created two-level as catalog.schema
A schema (database) groups tables, views, and volumes and must be created inside a catalog with the two-level name catalog.schema; it cannot be created as a top-level object.
13 questions test this
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A schema named sales_curated contains a table named orders. An analyst connected with no default catalog set runs SELECT * FRO
- You have an Azure Databricks workspace that is enabled for Unity Catalog. The metastore contains an enterprise catalog named corp that all business domains share. You need to organize each domain's De
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A catalog named research already has a managed storage location. You need to create several schemas in research whose managed
- You have a Unity Catalog metastore that contains a catalog named ops. You need to create a schema named telemetry that is contained in ops and will group streaming Delta tables, views, and volumes for
- You have an Azure Databricks workspace that is enabled for Unity Catalog and whose active session has no default catalog set. The metastore contains a catalog named ops. A junior engineer created a sc
- You have an Azure Databricks workspace that is enabled for Unity Catalog and a catalog named enterprise already exists. You need a single logical container inside enterprise that groups a project's re
- You have an Azure Databricks workspace that is enabled for Unity Catalog with a catalog named prod. Three teams must each get their own logical grouping of tables and views inside prod, and you must b
- You have an Azure Databricks workspace that is enabled for Unity Catalog and attached to a metastore. A catalog named insurance_prod already exists and holds several production datasets. A new claims-
- You manage an Azure Databricks workspace that is enabled for Unity Catalog and attached to a metastore named metastore_east. The metastore contains a catalog named retail_prod whose managed data curre
- You have an Azure Databricks workspace that is enabled for Unity Catalog and attached to a metastore whose catalog named logistics_prod already stores its managed tables in the metastore's default roo
- You have an Azure Databricks workspace that is enabled for Unity Catalog. The metastore, named metastore_main, contains a catalog named prod_analytics. You are writing a deployment notebook that must
- You have an Azure Databricks workspace that is enabled for Unity Catalog and attached to a metastore. The metastore contains a catalog named sales_analytics that already uses the metastore's default m
- You have an Azure Databricks workspace that is enabled for Unity Catalog and attached to a metastore named metastore1. metastore1 contains a catalog named sales_prod and an external location named fin
- MANAGED LOCATION requires CREATE MANAGED STORAGE on an external location
Setting a schema's MANAGED LOCATION requires the CREATE MANAGED STORAGE privilege on the external location that covers the path; without an explicit managed location the schema inherits managed storage from its catalog or the metastore.
- Volumes are Unity Catalog objects that govern non-tabular files
A volume is a Unity Catalog object under a schema that governs access to non-tabular data such as images, CSV files, and model artifacts, accessed through the path /Volumes/catalog/schema/volume.
15 questions test this
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a catalog named ml_prod with a schema named vision. A computer-vision team must store and govern large numbers of
- You have an Azure Databricks workspace that is enabled for Unity Catalog. Your notebooks currently read raw CSV and image files through a legacy DBFS mount that Unity Catalog does not govern. You need
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog and contains a catalog named catalog1 with a schema named ml_assets. A team must store and govern a large coll
- You have an Azure Databricks workspace enabled for Unity Catalog. A partner team already stores several terabytes of image files in an existing ADLS Gen2 directory that your workspace can reach throug
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A team has uploaded CSV files to a Unity Catalog volume. They now need to: query the data as governed tabular rows; apply colu
- You have an Azure Databricks workspace enabled for Unity Catalog. A team needs a governed location for non-tabular files that will be produced and consumed only by Databricks. The solution must let Un
- You have an Azure Databricks workspace enabled for Unity Catalog. A directory of shared reference files (lookup CSVs and reference images) must be exposed so that specific groups receive read-only acc
- You have an Azure Databricks workspace that is enabled for Unity Catalog. An upstream system drops raw JSON files that an Auto Loader pipeline must ingest. You need a governed landing area for the raw
- You have an Azure Databricks workspace that is enabled for Unity Catalog with a catalog named analytics and a schema named staging that already has a managed storage location. A data engineering team
- You have an Azure Databricks workspace enabled for Unity Catalog. A schema named raw contains a volume named landing that holds CSV and image files. Data engineers working in SQL, Python, and Apache S
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A partner system already writes Parquet and JSON files to an existing ADLS Gen2 directory and will keep reading and writing th
- You have an Azure Databricks workspace enabled for Unity Catalog. A team wants a governed volume for temporary non-tabular working files that Databricks alone produces. A key requirement is that when
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog and contains a catalog named Prod with a schema named Media. A surveillance system deposits millions of image,
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A partner analytics application that runs outside Databricks continuously writes sensor readings as Parquet and image files in
- You have an Azure Databricks workspace that is enabled for Unity Catalog, with a catalog and schema that already have a managed storage location. A team needs a governed location to store model artifa
- Managed volumes use Unity Catalog storage; external volumes point at a location
A managed volume stores its files in the schema's managed storage and is fully lifecycle-managed by Unity Catalog, whereas an external volume registers an existing path under an external location for data that Databricks does not own.
Trap Dropping a managed volume deletes its files; dropping an external volume leaves the files in place.
10 questions test this
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a catalog named ml_prod with a schema named vision. A computer-vision team must store and govern large numbers of
- You have an Azure Databricks workspace enabled for Unity Catalog. A partner team already stores several terabytes of image files in an existing ADLS Gen2 directory that your workspace can reach throug
- You have an Azure Databricks workspace enabled for Unity Catalog. A team needs a governed location for non-tabular files that will be produced and consumed only by Databricks. The solution must let Un
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A schema contains a managed volume named raw_managed and an external volume named raw_external that is registered on an ADLS G
- You have an Azure Databricks workspace that is enabled for Unity Catalog with a catalog named analytics and a schema named staging that already has a managed storage location. A data engineering team
- You have an Azure Databricks workspace enabled for Unity Catalog. You must register Unity Catalog governance over a set of audit files that another team owns in cloud storage. A strict requirement is
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A partner system already writes Parquet and JSON files to an existing ADLS Gen2 directory and will keep reading and writing th
- You have an Azure Databricks workspace enabled for Unity Catalog. A team wants a governed volume for temporary non-tabular working files that Databricks alone produces. A key requirement is that when
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A partner analytics application that runs outside Databricks continuously writes sensor readings as Parquet and image files in
- You have an Azure Databricks workspace that is enabled for Unity Catalog, with a catalog and schema that already have a managed storage location. A team needs a governed location to store model artifa
- A view is a stored read-only query that materializes no data
A view is a saved SELECT query that is evaluated each time it is read; it stores no data of its own and can restrict or reshape the columns exposed from its base tables.
16 questions test this
- Contoso, Inc. has an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. A managed Delta table named Orders in catalog1.sales holds billions of rows and receives new orders
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a Delta table named Employees with a salary column. You need a single object that all analysts query, where member
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A Power BI dashboard repeatedly runs the same expensive aggregation over a large gold Delta table named Sales_Gold. You need a
- You have an Azure Databricks workspace enabled for Unity Catalog with a Pro SQL warehouse. You need a Unity Catalog object that: stores the precomputed results of a complex aggregation query so repeat
- You have an Azure Databricks workspace enabled for Unity Catalog. An engineer created a materialized view named customer_contacts to expose a subset of columns from a Delta table for a compliance team
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A data engineer maintains a daily sales summary by running a nightly job that fully recomputes and overwrites a managed Delta
- You have an Azure Databricks workspace that is enabled for Unity Catalog. You need a gold dataset that joins a fact table to a slowly changing dimension table and that: is reused by several BI dashboa
- You have an Azure Databricks workspace enabled for Unity Catalog. A managed Delta table named web_events is continuously appended by an ingestion pipeline. You need a Unity Catalog object that: presen
- You have an Azure Databricks workspace enabled for Unity Catalog. The catalog1.hr schema contains a managed Delta table named Employees with columns employee_id, full_name, department, salary, and ssn
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A heavy aggregation over a large gold Delta table named Web_Events is queried thousands of times per day by dashboards, while
- You have an Azure Databricks workspace enabled for Unity Catalog. A very large managed Delta table named ledger is queried by a reconciliation report only a few times per month, and each run must refl
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A view named Sales_Summary is defined over a managed Delta table named Sales1. A nightly job fails with an error when it attem
- You have an Azure Databricks workspace enabled for Unity Catalog. Analysts repeatedly write the same join of three Delta tables (customers, orders, and regions) with renamed and derived columns. You n
- You are developing in an Azure Databricks notebook. You compute an intermediate result that is referenced by several later cells in the same notebook. You need an object that: can be queried by the la
- You have an Azure Databricks workspace enabled for Unity Catalog. A data engineer defined a standard view named daily_sales_summary over a large Delta table to feed an analytics dashboard. Users repor
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A notebook defines a temporary view named Curated that reshapes columns from a base Delta table. A separate team's job in anot
- A materialized view stores precomputed results refreshed incrementally
A materialized view precomputes and stores query results and refreshes them incrementally through a Lakeflow declarative pipeline on serverless compute, speeding repeated reads at the cost of storage and scheduled refresh.
Trap A materialized view stores data and must be refreshed; a standard view does neither.
13 questions test this
- Contoso, Inc. has an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. A managed Delta table named Orders in catalog1.sales holds billions of rows and receives new orders
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A Power BI dashboard repeatedly runs the same expensive aggregation over a large gold Delta table named Sales_Gold. You need a
- You have an Azure Databricks workspace enabled for Unity Catalog with a Pro SQL warehouse. You need a Unity Catalog object that: stores the precomputed results of a complex aggregation query so repeat
- You have an Azure Databricks workspace enabled for Unity Catalog. An engineer created a materialized view named customer_contacts to expose a subset of columns from a Delta table for a compliance team
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A data engineer maintains a daily sales summary by running a nightly job that fully recomputes and overwrites a managed Delta
- You have an Azure Databricks workspace that is enabled for Unity Catalog. You need a gold dataset that joins a fact table to a slowly changing dimension table and that: is reused by several BI dashboa
- You have an Azure Databricks workspace enabled for Unity Catalog. A managed Delta table named web_events is continuously appended by an ingestion pipeline. You need a Unity Catalog object that: presen
- You have an Azure Databricks workspace enabled for Unity Catalog. The catalog1.hr schema contains a managed Delta table named Employees with columns employee_id, full_name, department, salary, and ssn
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A heavy aggregation over a large gold Delta table named Web_Events is queried thousands of times per day by dashboards, while
- You have an Azure Databricks workspace that is enabled for Unity Catalog. You maintain a materialized view named Daily_Revenue that aggregates a large managed Delta table with row tracking enabled. Yo
- You have an Azure Databricks workspace enabled for Unity Catalog. A very large managed Delta table named ledger is queried by a reconciliation report only a few times per month, and each run must refl
- You have an Azure Databricks workspace enabled for Unity Catalog. Analysts repeatedly write the same join of three Delta tables (customers, orders, and regions) with renamed and derived columns. You n
- You have an Azure Databricks workspace enabled for Unity Catalog. A data engineer defined a standard view named daily_sales_summary over a large Delta table to feed an analytics dashboard. Users repor
- A table persists data, defaulting to the Delta Lake format
A Unity Catalog table stores rows and columns using the Delta Lake format by default, and can be created empty, with CREATE TABLE AS SELECT (CTAS), or with CREATE OR REPLACE TABLE.
- Lakehouse Federation needs a connection first, then a foreign catalog
To federate an external database you first create a connection object that stores the server host and credentials, then create a foreign catalog that uses that connection to mirror the external database's schemas in Unity Catalog.
8 questions test this
- You are configuring Lakehouse Federation so that Azure Databricks can run federated queries against a Microsoft SQL Server database. Unity Catalog must be able to reach the SQL Server host and authent
- You have a new Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. An operational Teradata system named tdprod hosts a database named Billing. Analysts must query Billing's
- You have an Azure Databricks workspace enabled for Unity Catalog. A colleague has already created a Unity Catalog connection to an external MySQL database named Sales. You need to make the Sales schem
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. Your team runs an on-premises Teradata system named TeraWarehouse that hosts a production database named Anal
- You have an Azure Databricks workspace enabled for Unity Catalog. You must expose a live PostgreSQL database's tables in Unity Catalog and query them in place, without copying any data. A teammate pro
- You manage Lakehouse Federation for an Azure Databricks workspace. Three foreign catalogs mirror three databases on a single Oracle server, all created from one connection named oracle_conn. The Oracl
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. You need to make the schemas and tables of an external PostgreSQL database queryable in Workspace1 through La
- You have an Azure Databricks workspace enabled for Unity Catalog. A single PostgreSQL server hosts three separate databases named sales, hr, and ops. You need each database to appear as its own catalo
- Federated queries run in place with no data copy
A foreign catalog runs Lakehouse Federation queries directly against the source system so its schemas and tables appear alongside other Unity Catalog objects and are queried in place, with no data copied into Databricks-managed storage.
Trap An ingestion pipeline or a managed table would copy the data; only a foreign catalog queries the source in place.
13 questions test this
- You have a new Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. An operational Teradata system named tdprod hosts a database named Billing. Analysts must query Billing's
- You have an Azure Databricks workspace enabled for Unity Catalog. Analysts must query a Snowflake database named Finance from Databricks. The solution must expose Finance in Unity Catalog, must not st
- You have an Azure Databricks workspace enabled for Unity Catalog. A colleague has already created a Unity Catalog connection to an external MySQL database named Sales. You need to make the Sales schem
- You have an Azure Databricks workspace enabled for Unity Catalog. Data scientists need to query an external Oracle database from Databricks. The Oracle tables must be browsable in Catalog Explorer alo
- You have an Azure Databricks workspace enabled for Unity Catalog. A BI team needs to build Power BI reports directly on current data in a Google BigQuery dataset. Requirements: queries must run agains
- You have an Azure Databricks workspace enabled for Unity Catalog. Analysts need occasional, read-only reporting on live data in an Azure SQL Database named OrdersDB. Requirements: the data must NOT be
- You have an Azure Databricks workspace enabled for Unity Catalog. A Power BI dashboard built on Databricks must always reflect the very latest rows in an operational Microsoft SQL Server database. The
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. Your team runs an on-premises Teradata system named TeraWarehouse that hosts a production database named Anal
- You have an Azure Databricks workspace enabled for Unity Catalog. You must expose a live PostgreSQL database's tables in Unity Catalog and query them in place, without copying any data. A teammate pro
- You have an Azure Databricks workspace enabled for Unity Catalog. You need Snowflake warehouse tables to be queryable from Databricks so that Unity Catalog governs access with data lineage and fine-gr
- You have an Azure Databricks workspace enabled for Unity Catalog. A nightly Lakeflow ingestion pipeline copies an operational Microsoft SQL Server database named Orders into managed Delta tables so an
- You have an Azure Databricks workspace enabled for Unity Catalog. For compliance reasons, the data from an external Azure Synapse (SQL Data Warehouse) database must never be copied into Databricks sto
- You have an Azure Databricks workspace enabled for Unity Catalog. Data analysts must query an operational Oracle database named Inventory whose tables and columns change frequently as developers ship
- Dropping a managed table deletes its underlying data
A managed table stores its data files in Unity Catalog managed storage, so DROP TABLE removes both the table metadata and the underlying data files.
Trap Dropping an external table removes only the metadata and leaves the files intact.
12 questions test this
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog and contains a catalog named etl_stage. A nightly Lakeflow job creates several intermediate staging tables in
- You have an Azure Databricks workspace enabled for Unity Catalog. Two days ago, a managed Delta table named Customers was dropped by accident. No backup or clone of Customers was ever created, and the
- You have an Azure Databricks workspace that is enabled for Unity Catalog. Two hours ago, an engineer accidentally ran DROP TABLE on a managed Delta table named finance.reporting.ledger. The recovery m
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A data governance policy requires that when a dataset is decommissioned by dropping its table, the underlying data files must
- You have an Azure Databricks workspace with a Unity Catalog external Delta table named analytics.gold.customer that was created with a LOCATION clause. You need to convert it to a Unity Catalog manage
- You have an Azure Databricks workspace enabled for Unity Catalog. A developer plans to run DROP TABLE on a managed Delta table named Archive to free the name, but the business still needs Archive's da
- You have an Azure Databricks workspace enabled for Unity Catalog. A Unity Catalog external Delta table named Curated is stored under an external location. To gain automatic optimization and let Databr
- You have an Azure Databricks workspace enabled for Unity Catalog. A nightly ETL job creates dozens of intermediate tables and drops them again at the end of each run. You need the underlying data file
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A catalog contains a managed Delta table named Orders and an external Delta table named ArchivedOrders, where ArchivedOrders w
- You have an Azure Databricks workspace enabled for Unity Catalog. A table named Sales is an external Delta table defined with a LOCATION clause over abfss://data@contoso.dfs.core.windows.net/sales, an
- You have an Azure Databricks workspace enabled for Unity Catalog. A partner delivers a large, continuously updated dataset as Avro files in abfss://partner@contoso.dfs.core.windows.net/feed, registere
- You have an Azure Databricks workspace that is enabled for Unity Catalog. Your team currently stores gold-layer tables as external tables and reports two problems: no automatic file-layout optimizatio
- An external table is defined with LOCATION and keeps its data on drop
An external table is created with a LOCATION clause pointing at a path under an external location, so Unity Catalog governs only its metadata and DROP TABLE leaves the underlying files untouched.
13 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog and an external location already registered for abfss://raw@contoso.dfs.core.windows.net/events. You are writing a CREATE TABLE stateme
- You have an Azure Databricks workspace that is enabled for Unity Catalog. An engineer runs CREATE TABLE ... LOCATION 'abfss://raw@adls.dfs.core.windows.net/events' to register existing files as an ext
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A data governance policy requires that when a dataset is decommissioned by dropping its table, the underlying data files must
- You have an Azure Databricks workspace that is enabled for Unity Catalog with a catalog named sales and a schema named curated. A Unity Catalog external location already grants access to abfss://data@
- You have an Azure Databricks workspace with a Unity Catalog external Delta table named analytics.gold.customer that was created with a LOCATION clause. You need to convert it to a Unity Catalog manage
- You have an Azure Databricks workspace that is enabled for Unity Catalog. To reduce ADLS Gen2 storage costs, an engineer ran DROP TABLE on a large external table named archive.cold.logs that had been
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A curated Parquet dataset in an ADLS Gen2 container is written and owned by a separate Azure service, and that service must ke
- You have an Azure Databricks workspace enabled for Unity Catalog. A developer plans to run DROP TABLE on a managed Delta table named Archive to free the name, but the business still needs Archive's da
- You have an Azure Databricks workspace enabled for Unity Catalog. A Unity Catalog external Delta table named Curated is stored under an external location. To gain automatic optimization and let Databr
- You have an Azure Databricks workspace enabled for Unity Catalog. A nightly ETL job creates dozens of intermediate tables and drops them again at the end of each run. You need the underlying data file
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A catalog contains a managed Delta table named Orders and an external Delta table named ArchivedOrders, where ArchivedOrders w
- You have an Azure Databricks workspace enabled for Unity Catalog. A table named Sales is an external Delta table defined with a LOCATION clause over abfss://data@contoso.dfs.core.windows.net/sales, an
- You have an Azure Databricks workspace enabled for Unity Catalog. A partner delivers a large, continuously updated dataset as Avro files in abfss://partner@contoso.dfs.core.windows.net/feed, registere
- AI/BI Genie answers natural-language questions over a curated data set
An AI/BI Genie space lets business users ask natural-language questions that Genie converts to SQL over a curated set of Unity Catalog tables, enabling self-service data discovery without writing queries.
9 questions test this
- Your team already publishes an AI/BI dashboard of monthly KPIs from a curated Unity Catalog schema. Business users keep emailing the analytics team ad hoc follow-up questions that the fixed dashboard
- A colleague created an AI/BI Genie space by adding every table from a large Unity Catalog catalog. Business users now complain that Genie's answers are frequently wrong or irrelevant, and responses ar
- You share a single AI/BI Genie space with two sales teams that must each see only their own region's rows in a shared sales table. The space is configured with one author's serverless SQL warehouse. Y
- Analysts use an AI/BI Genie space over your curated Unity Catalog sales tables. Leadership now asks whether the same space can answer questions about the text inside scanned PDF contracts stored in a
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named retail_sales contains curated Delta tables and views for weekly revenue, units sold, and returns by store and region.
- You are building an AI/BI Genie space for a finance team. The source data is spread across 45 highly normalized Unity Catalog tables, and early testing shows Genie generates inaccurate joins and strug
- An AI/BI Genie space for the marketing team returns inaccurate answers. A colleague proposes giving Genie everything by adding every table in the metastore to the space and removing the curated instru
- You have a single AI/BI Genie space shared with sales analysts from multiple regions. It is built on a curated Unity Catalog table named Sales that includes a region column. Every analyst must query t
- Contoso, Ltd. has an Azure Databricks workspace that is enabled for Unity Catalog and contains a catalog named sales_gold with a curated set of governed tables. The regional sales managers are busines
- Genie instructions and example queries steer accurate answers
Configuring Genie general instructions, example SQL queries, and trusted or certified answers guides how Genie interprets domain terms and business logic, improving the accuracy of the answers it generates for data discovery.
Trap Genie relies on the curated tables plus its instructions, not on unrestricted access to the whole metastore.
12 questions test this
- A colleague created an AI/BI Genie space by adding every table from a large Unity Catalog catalog. Business users now complain that Genie's answers are frequently wrong or irrelevant, and responses ar
- In your AI/BI Genie space, questions that combine an orders table and a customers table often return wrong numbers because Genie joins the tables on the wrong columns. You need Genie to generate the c
- In your AI/BI Genie space, users often ask a broad, ambiguous prompt, give me a breakdown of team performance, and Genie returns inconsistent SQL because the phrase maps to a specific multi-step calcu
- Compliance requires that when business users ask your AI/BI Genie space for the company's regulatory capital ratio, Genie must return an answer produced by logic that a data steward has already vetted
- In an AI/BI Genie space, executives repeatedly ask for quarter-to-date bookings by segment, a high-visibility figure that must be computed with one specific, analyst-verified query every time. You nee
- You manage an AI/BI Genie space built on a curated set of Unity Catalog sales tables. Business users frequently ask about net revenue, but Genie calculates it inconsistently, sometimes subtracting ret
- You curate an AI/BI Genie space for a sales team. When users ask about sales performance without specifying a time range or sales channel, you want Genie to pause and ask them to clarify those details
- You are building an AI/BI Genie space for a finance team. The source data is spread across 45 highly normalized Unity Catalog tables, and early testing shows Genie generates inaccurate joins and strug
- An AI/BI Genie space for the marketing team returns inaccurate answers. A colleague proposes giving Genie everything by adding every table in the metastore to the space and removing the curated instru
- Analysts using your AI/BI Genie space frequently ask about gross margin, but Genie computes it inconsistently because people define the formula differently. You need Genie to apply one exact, reusable
- Business users of your AI/BI Genie space ask questions using full state names, such as sales in Florida, but the underlying table stores two-letter codes such as FL. Genie generates SQL with a filter
- You manage an AI/BI Genie space in Azure Databricks that business analysts use to explore a curated set of sales tables. For several recurring questions, such as open pipeline by region, Genie generat
Secure and govern Unity Catalog objects
Secure Unity Catalog Objects
Read full chapterCheat sheet
Sharp facts the exam loves — scan these before test day.
- GRANT assigns a privilege on a securable to a user, group, or service principal
Access to a Unity Catalog securable is granted with GRANT ON TO , where the principal can be a user, an account group, or a service principal, and REVOKE removes it; common privileges include SELECT, MODIFY, and CREATE.
Trap A principal is not limited to individual users; groups and service principals are equally valid grant targets and groups are preferred for manageability.
8 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. A group named data-engineers must be able to create new tables inside an existing schema named bronze in a catalog named lakehouse, bu
- You have an Azure Databricks workspace enabled for Unity Catalog. A nightly Lakeflow job runs as a service principal named sp_ingest that already holds USE CATALOG on catalog1 and USE SCHEMA on catalo
- You have an Azure Databricks workspace enabled for Unity Catalog. A group named data_engineers must be able to create new tables in the schema catalog1.staging. The group already holds USE CATALOG on
- You have an Azure Databricks workspace enabled for Unity Catalog. Thirty analysts in a growing team all need identical SELECT access to a set of tables in a catalog named sales, and team membership ch
- You have an Azure Databricks workspace enabled for Unity Catalog. A group named contractors was previously granted the MODIFY privilege on a table named finance.ledger.Postings for a short-term projec
- You have an Azure Databricks workspace enabled for Unity Catalog. A group named etl-writers needs to insert, update, and delete rows in a table named warehouse.staging.Loads. The group must NOT be abl
- You have an Azure Databricks workspace enabled for Unity Catalog. A group named etl_writers has been granted SELECT and MODIFY on the table catalog2.raw.events, but their write jobs fail with a permis
- You have an Azure Databricks workspace enabled for Unity Catalog. A group named contractors was previously granted SELECT on the table catalog1.hr.salaries. The contractors' engagement has ended, and
- Reading a table also requires USE CATALOG and USE SCHEMA on its parents
To query a table a principal needs SELECT on the table plus USE CATALOG on its catalog and USE SCHEMA on its schema; the USE privileges grant traversal of the three-level namespace but do not by themselves expose any data.
Trap SELECT on the table alone is insufficient; without USE CATALOG and USE SCHEMA on the parents the query fails with a permission error.
15 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. A group named analysts has been granted SELECT on the table catalog1.finance.transactions, but when members run a query against catalo
- You have an Azure Databricks workspace enabled for Unity Catalog. The catalog sales contains several schemas. A group named emea_reporting must be able to read all current and future tables in the sal
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named enterprise contains several schemas, including one named hr that holds sensitive tables and another named logistics. A
- You have an Azure Databricks workspace enabled for Unity Catalog. A schema named catalog1.lake contains tables, views, and volumes, and more of each are added over time. A group named ds_team must be
- You have an Azure Databricks workspace enabled for Unity Catalog. An administrator wants a group named platform-readers to read every table in a catalog named datalake. The administrator granted SELEC
- You have an Azure Databricks workspace enabled for Unity Catalog. A group named auditors has been granted USE CATALOG on a catalog named ops and USE SCHEMA on a schema named events, but running SELECT
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named finance contains a schema named reporting, which contains a table named GLBalances. A business analyst has been grante
- You have an Azure Databricks workspace enabled for Unity Catalog. A group named etl-writers needs to insert, update, and delete rows in a table named warehouse.staging.Loads. The group must NOT be abl
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named crm contains a schema named marketing, which contains a table named Campaigns. A group named campaign-analysts current
- You have an Azure Databricks workspace enabled for Unity Catalog. A new group named auditors has no privileges anywhere in the metastore. The auditors must be able to run read-only queries against exa
- You have an Azure Databricks workspace enabled for Unity Catalog. A group named etl_writers has been granted SELECT and MODIFY on the table catalog2.raw.events, but their write jobs fail with a permis
- You have an Azure Databricks workspace enabled for Unity Catalog. Through a BROWSE grant on a catalog named sales, a group named regional-managers can see that a table named sales.emea.Revenue exists
- You have an Azure Databricks workspace enabled for Unity Catalog. You granted a group named support_team USE CATALOG on catalog1 and USE SCHEMA on catalog1.ops so they could navigate the namespace. Me
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named analytics contains dozens of schemas, and new schemas and tables are added every week. A group named bi_readers must b
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named research is expected to gain many new schemas over the coming year as new projects start. A group named research-reade
- A privilege granted on a catalog or schema is inherited by its child objects
Unity Catalog privileges are inherited down the object hierarchy, so a privilege granted on a catalog applies to all of its current and future schemas and tables, and a grant on a schema applies to its tables, views, and volumes.
7 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. The catalog sales contains several schemas. A group named emea_reporting must be able to read all current and future tables in the sal
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named enterprise contains several schemas, including one named hr that holds sensitive tables and another named logistics. A
- You have an Azure Databricks workspace enabled for Unity Catalog. A schema named catalog1.lake contains tables, views, and volumes, and more of each are added over time. A group named ds_team must be
- You have an Azure Databricks workspace enabled for Unity Catalog. An administrator wants a group named platform-readers to read every table in a catalog named datalake. The administrator granted SELEC
- You have an Azure Databricks workspace enabled for Unity Catalog. A new group named auditors has no privileges anywhere in the metastore. The auditors must be able to run read-only queries against exa
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named analytics contains dozens of schemas, and new schemas and tables are added every week. A group named bi_readers must b
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named research is expected to gain many new schemas over the coming year as new projects start. A group named research-reade
- Object owners and MANAGE control who can grant on a securable
In Unity Catalog the owner of a securable (a user, group, or service principal) implicitly holds all privileges on it and is the principal who can GRANT/REVOKE, ALTER, and DROP it; granting the MANAGE privilege lets a non-owner administer the object, including granting and revoking privileges and even dropping or transferring it, without being the owner, and ownership can be reassigned with ALTER OWNER TO.
Trap Holding SELECT is not enough to administer an object - only the owner or a MANAGE holder can grant, drop, or transfer it, and MANAGE differs from ownership only in that it is not automatically given the object's data privileges (it must self-grant SELECT).
- UC principals are account-level identities federated from Microsoft Entra ID
Users, groups, and service principals in Unity Catalog are account-level identities, typically provisioned from Microsoft Entra ID via SCIM; account groups must be assigned to a workspace through identity federation before they can be granted privileges there.
Trap Groups are managed at the account level, not per-workspace - grants target account-level principals federated to the workspace, not a workspace-local group.
- Object-level grants cover every column; column limits need a view, mask, or ABAC
A SELECT grant applies to the entire table securable and cannot be scoped to individual columns, so column-level access control is achieved by layering a view that exposes only permitted columns, a column mask, or an ABAC policy on top of the base grant.
Trap Granting SELECT on only the non-sensitive columns is not a Unity Catalog capability; it would break SELECT * with a permission error rather than hide values.
16 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. Business users query a reporting object named quarterly_report, which is a view built on several base tables and whose rep_commission
- You have an Azure Databricks workspace enabled for Unity Catalog. A table owner applied column masks to the ssn and salary columns of a table named hr.people so that a benefits_team group would see re
- You have an Azure Databricks workspace enabled for Unity Catalog. A single Delta table named payroll has a column named bank_account that must be redacted for most users. The masking logic is specific
- You have an Azure Databricks workspace enabled for Unity Catalog. You created a dynamic view named orders_secure that redacts the customer_ssn column for everyone except the account group compliance.
- You manage an Azure Databricks workspace that is enabled for Unity Catalog. A catalog named grid_ops contains a wide managed Delta table named asset_readings with 22 columns, several of which hold con
- You have an Azure Databricks workspace enabled for Unity Catalog. All analysts must be able to query every row of a single HR table named compensation, but the salary column must show a redacted value
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named finance contains a schema named ledger with a managed Delta table named gl_entries that has the columns entry_id, cost
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named lakehouse_prod contains more than 300 tables, and columns that hold personal data are labeled with a governed tag name
- You have an Azure Databricks workspace enabled for Unity Catalog. An external analytics vendor group named vendor_bi must run queries that return every row of a Unity Catalog table named telemetry.dev
- You have an Azure Databricks workspace enabled for Unity Catalog. You are defining a dynamic view over a table named sales_raw so that only members of the account-level group pii_readers can see the r
- You have a Unity Catalog metastore whose catalog named lakehouse contains more than 60 tables. Columns that hold personal data are labeled with a governed tag named pii. You need to mask every pii-tag
- You have an Azure Databricks workspace enabled for Unity Catalog. You are about to publish a dynamic view named marketing_secure that redacts several columns for users outside the account group market
- You have a Unity Catalog table named ops.tickets that is queried directly by several existing dashboards, and the object name cannot change. The table has a column named assignee_ssn. You need to ensu
- You have an Azure Databricks workspace enabled for Unity Catalog. In a dynamic view over a table named transactions, the card_number column (an integer) must return its real value only to members of t
- You have an Azure Databricks workspace enabled for Unity Catalog. Your data governance team currently masks sensitive columns by hand-building a dynamic view for each table. They now require a mechani
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named Sales1 contains a schema named crm with a table named Customers that has the columns customer_id, region, email, and s
- A dynamic view redacts columns per group with is_account_group_member in CASE
A dynamic view wraps a base table and uses CASE expressions calling is_account_group_member() so that members of an authorized group receive the real column value while all other callers receive NULL or a redacted literal.
16 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. You are writing a dynamic view over a Unity Catalog table and need the redaction logic to reveal a column only to users who belong to
- You have an Azure Databricks workspace enabled for Unity Catalog. Business users query a reporting object named quarterly_report, which is a view built on several base tables and whose rep_commission
- You have an Azure Databricks workspace enabled for Unity Catalog. You created a dynamic view named orders_secure that redacts the customer_ssn column for everyone except the account group compliance.
- You have a dynamic view that must reveal a salary column only to members of an account-level group named comp_admins that is defined in your Azure Databricks account and synced from Microsoft Entra ID
- You have an Azure Databricks workspace enabled for Unity Catalog. All analysts must be able to query every row of a single HR table named compensation, but the salary column must show a redacted value
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named finance contains a schema named ledger with a managed Delta table named gl_entries that has the columns entry_id, cost
- You have an Azure Databricks workspace enabled for Unity Catalog. A dynamic view named sales_redacted is defined as SELECT user_id, CASE WHEN is_account_group_member('auditors') THEN email ELSE 'REDAC
- You have an Azure Databricks workspace enabled for Unity Catalog. An external analytics vendor group named vendor_bi must run queries that return every row of a Unity Catalog table named telemetry.dev
- You have an Azure Databricks workspace enabled for Unity Catalog whose groups are all defined at the account level and synced from Microsoft Entra ID. A colleague built a dynamic view named claims_sec
- You have an Azure Databricks workspace enabled for Unity Catalog. You are defining a dynamic view over a table named sales_raw so that only members of the account-level group pii_readers can see the r
- You have a Unity Catalog metastore whose catalog named lakehouse contains more than 60 tables. Columns that hold personal data are labeled with a governed tag named pii. You need to mask every pii-tag
- You have a Unity Catalog table named crm.customers with a column named contact_phone. You need to expose a version of the table to the support group in which members of the onshore_agents group see th
- You have an Azure Databricks workspace enabled for Unity Catalog. You are about to publish a dynamic view named marketing_secure that redacts several columns for users outside the account group market
- You have a Unity Catalog table named ops.tickets that is queried directly by several existing dashboards, and the object name cannot change. The table has a column named assignee_ssn. You need to ensu
- You have a Unity Catalog table named billing.invoices with a column named card_number. You need to publish a single shared view to the analysts group in which members of fraud_team see the full card_n
- You have an Azure Databricks workspace enabled for Unity Catalog. In a dynamic view over a table named transactions, the card_number column (an integer) must return its real value only to members of t
- Grant the secure view and withhold the base table so users query only the view
For view-based access control you grant SELECT on the dynamic or restricted view and do not grant access to the underlying base table, forcing every principal through the view where the column and row rules are enforced.
- A dynamic view enforces row-level security with a caller-identity WHERE predicate
Row-level security through a dynamic view adds a WHERE predicate built from current_user() or is_account_group_member(), returning only the rows whose values match the querying principal, such as their own region or business unit.
23 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. A dynamic view named my_records enforces per-user row-level security with WHERE owner_email = current_user(). An automated Lakeflow jo
- You have an Azure Databricks workspace enabled for Unity Catalog that contains a managed Delta table named Transactions with a total column. Requirement: members of the account-level managers group mu
- You have an Azure Databricks workspace enabled for Unity Catalog. Catalog1 contains tables named Customers and Orders. A partner analyst group must query a single combined dataset of customer and orde
- You have an Azure Databricks workspace enabled for Unity Catalog. Users are organized into regional subgroups such as emea_west and emea_east, and those subgroups are themselves members of a parent ac
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named crm contains two managed Delta tables, Customers and Orders, that share a customer_id key; Orders carries a region col
- You have an Azure Databricks workspace enabled for Unity Catalog. An existing standard view named sales_summary aggregates data from several base tables. You must now restrict the rows of sales_summar
- You have an Azure Databricks workspace enabled for Unity Catalog. A table named Ledger has a business_unit column. The account-level group auditors must see every row, while each business-unit group m
- You have an Azure Databricks workspace enabled for Unity Catalog. You created a dynamic view named CustomersSecure over a base table named Customers; its predicate filters rows with is_account_group_m
- You have an Azure Databricks workspace enabled for Unity Catalog. A dynamic view named orders_secure correctly filters rows by the caller's region and reads from a base table named Orders. The analyst
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. Catalog1 contains a table named Sales that includes a region column. Regional analyst teams are organized int
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. A catalog named sales_cat contains a managed Delta table named Orders that includes a region column holding v
- You have an Azure Databricks workspace enabled for Unity Catalog. A table named Employees has a department column. Each department's managers must see only their own department's employee rows from th
- You have an Azure Databricks workspace enabled for Unity Catalog. A table named CustomerContacts has region and email columns. You must expose a single governed object to an analyst group in which the
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A schema named finance contains a managed Delta table named Expenses that includes an owner_email column identifying the emplo
- You have an Azure Databricks workspace enabled for Unity Catalog. A dynamic view is defined as CREATE VIEW my_orders AS SELECT * FROM orders WHERE sales_rep_email = current_user(). The orders table st
- You have an Azure Databricks workspace enabled for Unity Catalog that contains a reporting view named SalesReport, which several BI dashboards already query. You need to add row-level security so each
- You manage an Azure Databricks workspace that was recently attached to a Unity Catalog metastore. A dynamic view named sales_secure filters rows with the predicate WHERE is_member('managers'), and the
- You have an Azure Databricks workspace enabled for Unity Catalog. A managed Delta table named Sales carries a region column. Which regions each user may see is governed by a frequently changing entitl
- You have an Azure Databricks workspace enabled for Unity Catalog. A managed Delta table named Customers has a region column and an email column. Requirements delivered through one object: analysts mus
- You have an Azure Databricks workspace enabled for Unity Catalog. A single managed Delta table named Sales holds data for five business units, each identified by a business_unit column and each mapped
- You have an Azure Databricks workspace enabled for Unity Catalog. You must expose a single curated dataset that combines columns from two governed tables to one executive group, restricted to only the
- You have an Azure Databricks workspace enabled for Unity Catalog. Catalog1 contains a table named Accounts with a column named account_owner that stores each sales rep's login email. Reps join and lea
- You have an Azure Databricks workspace enabled for Unity Catalog. A table named Cases has an assigned_agent column holding each support agent's login email. Each agent must see only the rows where ass
- Data-driven row-level security joins to an entitlement mapping table
A scalable row-level-security pattern joins the base table to a mapping table that records which principal or group may see which key values, so entitlement changes are made by editing data rather than by rewriting the view definition.
- An Azure Key Vault-backed secret scope exposes Key Vault secrets read-only
An Azure Key Vault-backed secret scope maps a Databricks secret scope onto an Azure Key Vault so notebooks can read its secrets; it is a read-only interface, meaning the secret values are created, updated, and rotated in Azure rather than in Databricks.
Trap A Key Vault-backed scope cannot be written from Databricks; secrets must be added and rotated in the Azure Key Vault itself.
13 questions test this
- Fabrikam has an Azure Databricks workspace enabled for Unity Catalog. Notebooks read credentials through an Azure Key Vault-backed secret scope named kv-scope that maps to the key vault KV1. A new pip
- You have an Azure Databricks workspace with an Azure Key Vault-backed secret scope named kv-scope that maps to a key vault named KV1. A database password stored in KV1 must be rotated regularly, and t
- Contoso, Inc. has an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. The security team requires that every credential used by production pipelines be created, updated, a
- You have an Azure Databricks workspace where a scheduled Lakeflow job reads an ADLS Gen2 account key from an Azure Key Vault-backed secret scope named kv-scope. Your security team just rotated that ke
- Contoso runs an Azure Databricks workspace named Workspace1 that reads a PostgreSQL password through an Azure Key Vault-backed secret scope named kv-scope, which maps to the key vault KV1. Security is
- Northwind's Azure Databricks workspace already uses Azure Key Vault-backed secret scopes for production. A development team now needs to create, update, and delete a handful of short-lived experiment
- Adventure Works runs two Azure Databricks workspaces, WS1 and WS2, that both connect to the same production database using the same password. The security team stores that password in a single Azure K
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. Your central security team must create, rotate, and audit the production database and storage credentials exc
- An administrator rotates a database credential by updating its value in the Azure Key Vault that backs an Azure Key Vault-backed secret scope in your workspace. A scheduled Lakeflow job reads the cred
- Litware's security team stores every production credential in an Azure Key Vault named KV1 and requires that all secret values be created, rotated, and audited only in Azure, never inside Databricks.
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A Structured Streaming notebook must read events from an Azure Event Hubs namespace, authenticating with a connection string t
- Your Azure Databricks workspace exposes credentials to notebooks through an Azure Key Vault-backed secret scope named kv-scope that maps to the key vault KV1. A legacy service account is being decommi
- You are configuring an Azure Databricks workspace to read credentials from an Azure Key Vault named KV1. When you try to create an Azure Key Vault-backed secret scope for KV1 from the workspace, the o
- dbutils.secrets.get reads a secret and Databricks redacts it from output
Code retrieves a secret with dbutils.secrets.get(scope, key) instead of hardcoding credentials, and Databricks automatically replaces any printed secret value with [REDACTED] so it cannot leak into notebook cell output or logs.
13 questions test this
- You have an Azure Databricks workspace named Workspace1 with an all-purpose cluster used by a data engineering team. A notebook on the cluster launches a third-party command-line ingestion tool that r
- You have an Azure Databricks cluster where a JDBC connector reads its password from a Spark configuration property at startup. The password is stored in a secret scope named jdbc-scope, and it must no
- You have an Azure Databricks workspace. A notebook connects to an Azure Data Lake Storage Gen2 account by using a storage account key that is currently written directly in a notebook cell. A security
- You maintain an Azure Databricks notebook that connects to an external PostgreSQL database with a JDBC read. The password is stored as the key db-pw in a secret scope named app-scope, and company poli
- You are building an Azure Databricks notebook that calls an external vendor REST API to pull reference data for a Lakeflow pipeline. The API bearer token is stored as the key api-token in a secret sco
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. Your central security team must create, rotate, and audit the production database and storage credentials exc
- A notebook in your Azure Databricks workspace must load a binary signing key that is stored as the secret key sign-key in a secret scope named crypto-scope. The value is raw bytes that are not valid U
- You have an Azure Databricks workspace with a secret scope named prod-scope that holds production credentials. A teammate assumes that because Databricks shows secrets as [REDACTED] in output, no one
- An administrator rotates a database credential by updating its value in the Azure Key Vault that backs an Azure Key Vault-backed secret scope in your workspace. A scheduled Lakeflow job reads the cred
- Litware's security team stores every production credential in an Azure Key Vault named KV1 and requires that all secret values be created, rotated, and audited only in Azure, never inside Databricks.
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A Structured Streaming notebook must read events from an Azure Event Hubs namespace, authenticating with a connection string t
- An analyst uses a SQL warehouse in your Azure Databricks workspace and runs a query that references a stored credential with the secret SQL function, for example SELECT secret('db-scope', 'db-pw'). Th
- A Lakeflow Jobs task in your Azure Databricks workspace must connect to several databases whose passwords are stored under different keys in a secret scope named db-scope. The task needs to discover t
- Secret access is governed by READ, WRITE, and MANAGE scope ACLs
Secret scope access control assigns per-scope ACLs at the READ, WRITE, and MANAGE levels, and a principal needs at least READ on the scope, which permits reading secret values and listing keys, before dbutils.secrets.get will succeed.
- A service principal is a non-human identity for automated data workloads
A service principal is an identity created for tools, jobs, and CI/CD rather than a person, and it is granted Unity Catalog privileges like any principal so automated pipelines can authenticate and access data without depending on an individual user's account.
22 questions test this
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a catalog named catalog1 with a schema named sales. You created a service principal named etl_sp to run an automat
- You have a CI/CD pipeline in Azure DevOps that deploys Databricks Asset Bundles to a workspace on every merge to the main branch. The pipeline runs unattended, with no interactive user present. Requir
- You have an Azure Databricks workspace that is enabled for Unity Catalog. Currently, several data engineers run production data-loading jobs under their own user accounts, so each engineer holds write
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A Lakeflow Spark Declarative Pipelines (SDP) pipeline named Pipeline1 publishes tables to a catalog. The engineer who created
- You have an external reporting application that connects to a Databricks SQL warehouse every hour to refresh dashboards. It runs as a background service with no interactive user. Requirements: the con
- You have an Azure Databricks workspace. You want to configure a production job to Run as an existing service principal named prod_sp that you did not create. When you edit the job's Run as field, prod
- Contoso, Inc. has an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. A GitHub Actions workflow deploys notebooks and Lakeflow Jobs to Workspace1 every night by authentic
- You have an Azure Databricks workspace that is enabled for Unity Catalog. While reviewing system logs, you notice an Azure Databricks-managed service principal that is performing background operations
- You have an Azure Databricks workspace that is enabled for Unity Catalog. Several unrelated production jobs currently all run as a single service principal that holds broad SELECT and MODIFY privilege
- You have a Lakeflow Declarative Pipeline in Azure Databricks that publishes several streaming tables to Unity Catalog. The pipeline currently runs as its author, who is leaving the company. Requiremen
- You have a Lakeflow Job that writes to a production catalog. The job currently runs as a lead engineer who happens to hold broad, workspace-wide Unity Catalog privileges. Requirements: the job must be
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A critical production Lakeflow Job named Job1 was created by an engineer and, by default, runs as that engineer, who is leavin
- You have a Lakeflow Job that must read from and write to an Azure Data Lake Storage Gen2 account. Access to that storage account is granted only to a specific service principal, not to any individual
- You need an automation identity for a scheduled job that must authenticate to Azure Databricks to run and must also authenticate directly to an Azure Data Lake Storage Gen2 account and an Azure Key Va
- You have an Azure Databricks workspace. An internally built scheduling application must call the Azure Databricks REST API on a recurring basis to start jobs and read run status. The application runs
- You have a Databricks service principal that a Lakeflow ingestion pipeline runs as. The pipeline fails with a permission error while reading its source table, catalog1.bronze.events. Requirements: the
- You manage Unity Catalog access for many automated pipelines in an Azure Databricks workspace, and each pipeline runs as its own service principal. Requirements: you want to grant one common set of re
- You have an Azure Databricks workspace. You are setting up an identity for an automated workload that must authenticate to Azure Databricks and, at the same time, authenticate directly to other Azure
- You have several production Lakeflow Jobs that fail intermittently. Investigation shows that each job runs as the user who created it, and every failure coincides with that user losing a Unity Catalog
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A nightly ETL job ingests data into Unity Catalog tables and currently authenticates by using a data engineer's personal acces
- You have a production Lakeflow Job that writes to a curated Gold table. Company policy states that no individual user may hold write access to production Gold tables, yet the job must write to them, a
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a production table named Orders. A nightly Lakeflow Job must update rows in Orders, but business analysts must kee
- Running a job as a service principal decouples it from a user account
Configuring a Lakeflow Job or pipeline to run as a service principal keeps it working when the original author leaves or loses access, and confines the job's data access to exactly the Unity Catalog privileges granted to that service principal.
16 questions test this
- You have an Azure Databricks workspace that is enabled for Unity Catalog. Currently, several data engineers run production data-loading jobs under their own user accounts, so each engineer holds write
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A Lakeflow Job named Job1 is configured to Run as a service principal named prod_sp, which has SELECT on a sensitive catalog.
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A Lakeflow Spark Declarative Pipelines (SDP) pipeline named Pipeline1 publishes tables to a catalog. The engineer who created
- You have an external reporting application that connects to a Databricks SQL warehouse every hour to refresh dashboards. It runs as a background service with no interactive user. Requirements: the con
- You have an Azure Databricks workspace. You want to configure a production job to Run as an existing service principal named prod_sp that you did not create. When you edit the job's Run as field, prod
- Contoso, Inc. has an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. A GitHub Actions workflow deploys notebooks and Lakeflow Jobs to Workspace1 every night by authentic
- You have an Azure Databricks workspace that is enabled for Unity Catalog. Several unrelated production jobs currently all run as a single service principal that holds broad SELECT and MODIFY privilege
- You have a Lakeflow Declarative Pipeline in Azure Databricks that publishes several streaming tables to Unity Catalog. The pipeline currently runs as its author, who is leaving the company. Requiremen
- You have a Lakeflow Job that writes to a production catalog. The job currently runs as a lead engineer who happens to hold broad, workspace-wide Unity Catalog privileges. Requirements: the job must be
- You have an Azure Databricks workspace. A scheduled Lakeflow Job must read from and write to an Azure Data Lake Storage Gen2 account whose access is controlled by a service principal. The job must acc
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A critical production Lakeflow Job named Job1 was created by an engineer and, by default, runs as that engineer, who is leavin
- You have a Lakeflow Job that must read from and write to an Azure Data Lake Storage Gen2 account. Access to that storage account is granted only to a specific service principal, not to any individual
- You have several production Lakeflow Jobs that fail intermittently. Investigation shows that each job runs as the user who created it, and every failure coincides with that user losing a Unity Catalog
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A nightly ETL job ingests data into Unity Catalog tables and currently authenticates by using a data engineer's personal acces
- You have a production Lakeflow Job that writes to a curated Gold table. Company policy states that no individual user may hold write access to production Gold tables, yet the job must write to them, a
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a production table named Orders. A nightly Lakeflow Job must update rows in Orders, but business analysts must kee
- Service principals authenticate with OAuth machine-to-machine tokens
A service principal authenticates non-interactively using OAuth machine-to-machine (M2M) tokens minted from its client ID and secret, which are the recommended automation credential in place of long-lived personal access tokens.
- An Access Connector managed identity authenticates the workspace to Azure storage
Resource access to ADLS Gen2 uses an Access Connector for Azure Databricks, a first-party Azure resource whose system- or user-assigned managed identity is granted a storage role such as Storage Blob Data Contributor, letting Databricks reach the storage account with no stored keys.
Trap A managed identity authenticates the underlying storage resource; a service principal instead represents a principal whose Unity Catalog privileges govern data access, not the storage connection.
20 questions test this
- You have several Azure Databricks Access Connectors and Azure resources that must all authenticate to storage under a single identity whose permissions and lifecycle stay consistent even if an individ
- Fabrikam has an Azure Databricks workspace enabled for Unity Catalog and a storage credential named cred_sales that wraps an Access Connector managed identity holding the Storage Blob Data Contributor
- You have an Azure Databricks workspace enabled for Unity Catalog and an Access Connector whose managed identity already has the Storage Blob Data Contributor role on an ADLS Gen2 account. You need Uni
- Contoso Ltd. has an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog and must read and write Parquet files in an Azure Data Lake Storage Gen2 account named adlssales. A ju
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog and an Azure Data Lake Storage Gen2 account named adlscore. You have created an Access Connector for Azure Dat
- You have an Azure Databricks workspace enabled for Unity Catalog. An Access Connector's managed identity has the Storage Blob Data Contributor role on an ADLS Gen2 account named adls1, which holds thr
- You have an Azure Databricks workspace enabled for Unity Catalog and one Access Connector for Azure Databricks whose managed identity can access two ADLS Gen2 containers named bronze and silver. You n
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog and a new Azure Data Lake Storage Gen2 account named adls1. You need to allow Databricks to read from and writ
- You have an Azure Databricks workspace enabled for Unity Catalog. An engineer created a Microsoft Entra service principal, added it to a group, and granted the group SELECT on the external tables in a
- You have an Azure Databricks workspace enabled for Unity Catalog. Business analysts must query an external table whose files live in an ADLS Gen2 container that is already governed by an external loca
- You are setting up a new Azure Databricks environment that is enabled for Unity Catalog and must authenticate to a new Azure Data Lake Storage Gen2 account named adlscore with no stored keys, secrets,
- You are creating a new Unity Catalog metastore in Azure Databricks. The metastore's root storage will be an ADLS Gen2 container, and the metastore must authenticate to that container with no stored ac
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog and an Azure Data Lake Storage Gen2 account named adls2. A junior engineer enabled a system-assigned managed i
- You have an Azure Databricks workspace enabled for Unity Catalog and an Access Connector for Azure Databricks whose managed identity will back a storage credential. You need Databricks to read, write,
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. You must let Workspace1 read and write data in an Azure Data Lake Storage Gen2 account named adlsprod. The so
- You have an Azure Databricks workspace enabled for Unity Catalog. A legacy notebook mounts an ADLS Gen2 container to /mnt/sales by using a Microsoft Entra service principal whose client secret is kept
- You have created an Access Connector for Azure Databricks and granted its managed identity the Storage Blob Data Contributor role on an ADLS Gen2 account. In your Unity Catalog metastore you now need
- You have an Azure Databricks workspace enabled for Unity Catalog. A storage credential holds an Access Connector's managed identity that has the Storage Blob Data Contributor role on an entire ADLS Ge
- You have an Azure Databricks workspace deployed in your own Azure virtual network (VNet injection). An ADLS Gen2 account named adlssecure is protected by a storage firewall that denies public network
- You have an Azure Databricks workspace enabled for Unity Catalog and a storage credential named cred1 that holds an Access Connector's managed identity with access to an ADLS Gen2 account. You need en
- A storage credential wraps the managed identity for an external location to use
In Unity Catalog the Access Connector's managed identity is registered as a storage credential, and an external location then references that credential to govern reads and writes to a specific ADLS Gen2 container path.
15 questions test this
- Fabrikam has an Azure Databricks workspace enabled for Unity Catalog and a storage credential named cred_sales that wraps an Access Connector managed identity holding the Storage Blob Data Contributor
- You have an Azure Databricks workspace enabled for Unity Catalog and an Access Connector whose managed identity already has the Storage Blob Data Contributor role on an ADLS Gen2 account. You need Uni
- Contoso Ltd. has an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog and must read and write Parquet files in an Azure Data Lake Storage Gen2 account named adlssales. A ju
- You have an Azure Databricks workspace enabled for Unity Catalog. An Access Connector's managed identity has the Storage Blob Data Contributor role on an ADLS Gen2 account named adls1, which holds thr
- You have an Azure Databricks workspace enabled for Unity Catalog and one Access Connector for Azure Databricks whose managed identity can access two ADLS Gen2 containers named bronze and silver. You n
- You have an Azure Databricks workspace enabled for Unity Catalog and an Access Connector for Azure Databricks whose managed identity already holds the Storage Blob Data Contributor role on an ADLS Gen
- You have an Azure Databricks workspace enabled for Unity Catalog. You are scripting the setup that lets Unity Catalog govern a new ADLS Gen2 container path. You have already created an Access Connecto
- You have an Azure Databricks workspace enabled for Unity Catalog. An engineer created a Microsoft Entra service principal, added it to a group, and granted the group SELECT on the external tables in a
- You have an Azure Databricks workspace enabled for Unity Catalog. Business analysts must query an external table whose files live in an ADLS Gen2 container that is already governed by an external loca
- You are creating a new Unity Catalog metastore in Azure Databricks. The metastore's root storage will be an ADLS Gen2 container, and the metastore must authenticate to that container with no stored ac
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog and an Azure Data Lake Storage Gen2 account named adls2. A junior engineer enabled a system-assigned managed i
- You have an Azure Databricks workspace enabled for Unity Catalog. A legacy notebook mounts an ADLS Gen2 container to /mnt/sales by using a Microsoft Entra service principal whose client secret is kept
- You have created an Access Connector for Azure Databricks and granted its managed identity the Storage Blob Data Contributor role on an ADLS Gen2 account. In your Unity Catalog metastore you now need
- You have an Azure Databricks workspace enabled for Unity Catalog. A storage credential holds an Access Connector's managed identity that has the Storage Blob Data Contributor role on an entire ADLS Ge
- You have an Azure Databricks workspace enabled for Unity Catalog and a storage credential named cred1 that holds an Access Connector's managed identity with access to an ADLS Gen2 account. You need en
- Managed identities are preferred over storage account keys or SAS tokens
Authenticating storage access through an Access Connector managed identity is recommended over embedding storage account keys or SAS tokens, because the credential is managed by Azure and is never exposed in notebook code or cluster configuration.
Govern Unity Catalog Objects
Read full chapterCheat sheet
Sharp facts the exam loves — scan these before test day.
- Table and column descriptions are added with the COMMENT clause
Descriptions for discovery are set with the COMMENT clause or COMMENT ON and can be edited in Catalog Explorer; a table comment documents the dataset and per-column comments document each field, all stored as Unity Catalog metadata.
15 questions test this
- You have a Unity Catalog catalog that contains more than 5,000 tables migrated from a legacy system, and almost none of them have descriptions. You need to document the tables quickly so they become d
- You are authoring a CREATE TABLE statement for a new managed Delta table named Inventory in Unity Catalog. Governance requires that the dataset's description be captured as Unity Catalog metadata at t
- You have an Azure Databricks workspace enabled for Unity Catalog. The catalog ops_prod contains a managed Delta table named Assets that was repurposed months ago, but its existing table description st
- You are authoring a notebook that runs a CREATE TABLE statement to build a new managed Delta table named Inventory in a Unity Catalog schema. Company policy requires that every new table ship with a d
- You have an Azure Databricks workspace enabled for Unity Catalog. The catalog analytics_prod contains fully commented tables and columns. A data-discovery team must be able to browse these objects and
- You have an Azure Databricks workspace enabled for Unity Catalog. Your team currently keeps the definitions of tables and columns in an external wiki, but consumers browsing Catalog Explorer still can
- You have an Azure Databricks workspace enabled for Unity Catalog. The catalog crm_prod contains a managed Delta table named Accounts whose columns have cryptic names such as c_id, mrr, and geo. Requir
- You have a Unity Catalog Delta table named catalog1.schema1.Payments with a column named amt. You need to attach the description 'Payment amount in USD' to the amt column so it is stored as column met
- In a Unity Catalog catalog, a colleague applied several tags to a table named Shipments hoping to describe what the table is for, but data consumers browsing Catalog Explorer still cannot read a plain
- You have a Unity Catalog managed Delta table named Customers in a catalog named crm_cat. The table has columns cust_id, dob, and rfm_score, but analysts do not understand what the individual fields me
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named sales_cat contains a managed Delta table named Orders. When data consumers browse the catalog, they cannot tell what O
- You have a Unity Catalog metastore with several catalogs and schemas. When users browse the catalog tree in Catalog Explorer, they cannot tell the purpose of a schema named finance_gold. You need to a
- Contoso, Inc. has an Azure Databricks workspace enabled for Unity Catalog. The catalog sales_prod contains a Delta table named Orders that was created with no description, so analysts browsing Catalog
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog and for AI-assistive features. A newly onboarded catalog named mktg_prod contains a wide managed Delta table n
- You have added table and column comments to several tables in a Unity Catalog catalog named analytics_cat to improve discoverability. A group of business users must be able to see these descriptions w
- AI-generated comments propose table and column descriptions for review
Catalog Explorer can suggest AI-generated table and column descriptions that a data steward reviews and accepts, accelerating the documentation of large catalogs so that objects become discoverable more quickly.
7 questions test this
- You have a Unity Catalog catalog that contains more than 5,000 tables migrated from a legacy system, and almost none of them have descriptions. You need to document the tables quickly so they become d
- A data steward uses the AI generate option in Catalog Explorer to document a Unity Catalog table. Your governance policy requires that a person verify each description for accuracy before it is stored
- A team wants to identify and label which columns in a Unity Catalog table contain PII such as email addresses and national ID numbers. A colleague proposes generating AI comments in Catalog Explorer t
- You have an Azure Databricks workspace that is enabled for AI-assistive features and Unity Catalog. A recently migrated catalog named retail_raw contains several thousand tables and columns that have
- You have an Azure Databricks workspace enabled for AI-assistive features and Unity Catalog. A newly created catalog named finance_raw contains many undocumented tables and columns. A data steward assu
- You have an Azure Databricks workspace enabled for AI-assistive features and Unity Catalog. In Catalog Explorer, a data steward opens a wide table and clicks AI generate above the column list, and a s
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog and for AI-assistive features. A newly onboarded catalog named mktg_prod contains a wide managed Delta table n
- Descriptions persist as metadata and power search and discovery
Because comments persist as Unity Catalog metadata they survive schema evolution and surface in Catalog Explorer search and AI/BI Genie, letting users find and understand data without opening the underlying files.
- Governed tags are the account-level attribute vocabulary ABAC builds on
Governed tags are a centrally defined, account-level set of tag keys and allowed values, with permissions controlling who may apply each tag; they are the attributes that attribute-based access control policies evaluate to decide protection.
14 questions test this
- You are a governance admin for an Azure Databricks account that is enabled for Unity Catalog. Before any attribute-based access control (ABAC) policies are written, you must establish the classificati
- Your governance team created an account-level governed tag named pii. A data steward must apply pii:ssn to columns in the prod.hr schema and already holds APPLY TAG on those tables, yet every attempt
- In a Unity Catalog metastore, a governance team must guarantee that sensitive columns tagged pii stay masked across an entire catalog. A specific concern is that individual table owners have previousl
- Contoso operates an Azure Databricks account with three Unity Catalog metastores in different regions. The governance team must establish one classification vocabulary of tag keys such as sensitivity,
- You have a Unity Catalog catalog named sales whose tables each include a column tagged region. You must ensure that members of the EMEA analyst group see only rows where region is EMEA, that the rule
- You have a Unity Catalog catalog named prod that contains 60 tables across several schemas, and new tables are added every week. Columns holding Social Security numbers are tagged pii:ssn. You must en
- You manage a Unity Catalog catalog named finance that contains dozens of Delta tables, and new tables are added every week. Several columns across these tables hold personally identifiable information
- Your organization has one Azure Databricks account that contains multiple Unity Catalog metastores in different regions. The data-governance team wants a single classification taxonomy to serve as the
- In your ABAC design, a column mask policy on the prod catalog masks every column tagged pii:email. A security reviewer notes that the mask applies only where the pii:email tag is present and asks how
- You are preparing governed tags to drive ABAC in a Unity Catalog account. Analysts have historically labeled sensitivity by typing free-form values such as Confidential, confidential, and CONF, and th
- In your Azure Databricks account, different teams tag sensitive columns inconsistently, using PII, pii, and personal for the same concept, which breaks ABAC policies that expect a fixed vocabulary. Yo
- You plan to protect every table under the finance catalog with an ABAC policy keyed on a domain:finance classification. To minimize tagging effort, you assign the governed tag domain:finance only to t
- In an ABAC-governed Unity Catalog account, protection of pii columns depends on the governed tag pii being present on those columns. A security review warns that some data creators could remove the pi
- You have an Azure Databricks account that uses governed tags as the attributes for ABAC. A team of data stewards must be able to classify tables and columns by applying the existing governed tag class
- An ABAC policy applies filters or masks automatically to every tag-matched object
An attribute-based access control (ABAC) policy is attached at a catalog, schema, or table and uses governed-tag conditions to apply a row filter or column mask to every current and future object carrying the matching tag, so one policy governs many tables at once.
Trap ABAC scales a single tag-driven policy across many tables; a table-level SET MASK or SET ROW FILTER must be configured on each table individually.
14 questions test this
- You have an Azure Databricks account with Unity Catalog. A catalog named corp contains several schemas, including a schema named hr whose tables have columns labeled with a governed tag. You need a si
- In a Unity Catalog metastore, a governance team must guarantee that sensitive columns tagged pii stay masked across an entire catalog. A specific concern is that individual table owners have previousl
- You created an ABAC column mask policy on the prod catalog that masks pii:ssn columns for the analysts group, and you confirmed that the masking function works. After deployment, analysts report they
- You have a Unity Catalog catalog named sales whose tables each include a column tagged region. You must ensure that members of the EMEA analyst group see only rows where region is EMEA, that the rule
- A governance admin created an ABAC column mask policy at a catalog to mask pii-tagged columns for the analyst group. The analysts report that they cannot query the tables at all and receive an error i
- You have a Unity Catalog catalog named prod that contains 60 tables across several schemas, and new tables are added every week. Columns holding Social Security numbers are tagged pii:ssn. You must en
- You have a Unity Catalog catalog named sales whose tables each contain a column that is labeled with the governed tag region. Requirements: members of the EMEA team must see only the rows whose region
- You manage a Unity Catalog catalog named finance that contains dozens of Delta tables, and new tables are added every week. Several columns across these tables hold personally identifiable information
- You have an Azure Databricks catalog named finance whose tables include a column labeled with the governed tag pii:card, and new tables carrying that tag are onboarded every week. Analysts must be abl
- In your ABAC design, a column mask policy on the prod catalog masks every column tagged pii:email. A security reviewer notes that the mask applies only where the pii:email tag is present and asks how
- You are preparing governed tags to drive ABAC in a Unity Catalog account. Analysts have historically labeled sensitivity by typing free-form values such as Confidential, confidential, and CONF, and th
- You plan to protect every table under the finance catalog with an ABAC policy keyed on a domain:finance classification. To minimize tagging effort, you assign the governed tag domain:finance only to t
- In an ABAC-governed Unity Catalog account, protection of pii columns depends on the governed tag pii being present on those columns. A security review warns that some data creators could remove the pi
- A catalog owner attached an ABAC row filter policy to the prod catalog that hides sensitive rows from most analysts. A table owner within prod wants their own team to see all rows of one table and ask
- Tags assigned to a parent object are inherited by child objects
A governed tag applied to a catalog or schema is inherited by the schemas and tables beneath it, but not by individual table columns, so tagging a parent propagates the attribute that ABAC policies and discovery rely on to descendant tables; a column-level classification must be tagged on the column directly.
- A row filter removes whole rows via ALTER TABLE ... SET ROW FILTER
A row filter is a boolean SQL UDF attached with ALTER TABLE SET ROW FILTER; the function is evaluated per row and returns TRUE to keep the row or FALSE/NULL to drop it, so it controls which entire rows a principal sees at query time.
Trap A row filter removes whole rows and cannot reveal only part of a column value; use a column mask for partial redaction.
20 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named sales_cat contains a table named Orders that stores sales records for every region in a region column. Business analys
- You have an Azure Databricks workspace enabled for Unity Catalog. A table named Members has a passport_number column. A reporting team must keep running their existing SELECT * queries against Members
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Payroll with a salary column. Requirements: analysts must run their existing reports,
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Ledger. Each user must be exposed only the rows for the business units they are author
- You have an Azure Databricks workspace enabled for Unity Catalog. A table named Customers contains a phone_number column. A support team must continue to query every customer row in Customers but must
- You have an Azure Databricks workspace enabled for Unity Catalog. A managed Delta table named Invoices holds records for every branch in a branch column. Requirements: each sales representative must s
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Transactions that is loaded by a production pipeline and queried by auditors. Requirem
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Projects that is the single source of truth for all project records. Requirements: ext
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Cases with a confidential flag. Requirements: members of the Contractors group must no
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Contacts whose phone, email, and ssn columns must all be redacted to non-privileged us
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Accounts with an account_number column. Requirements: support analysts must still see
- You have an Azure Databricks workspace enabled for Unity Catalog. A managed Delta table named Customers contains name, address, and country columns and is queried by several regional support teams. Re
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Leads with an email column. Requirements: marketing analysts must be able to analyze t
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Orders with a region column. Requirements: regional analysts must query Orders directl
- You have an Azure Databricks workspace enabled for Unity Catalog. A table named Accounts has an owner_email column. Each analyst must see only the rows where owner_email matches their own login, all d
- You have an Azure Databricks workspace enabled for Unity Catalog. A managed Delta table named Applicants contains an ssn column. Requirements: analysts must be able to see only the last four character
- You have an Azure Databricks workspace enabled for Unity Catalog. A table named HR_Records must be governed so that: analysts see only the rows for their own region; within the rows they can see, the
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Members with a country column and a national_id column. Requirements: analysts must se
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Patients with a diagnosis column. Requirements: members of the CareTeam group must see
- You have an Azure Databricks workspace enabled for Unity Catalog. A managed Delta table named Deals stores opportunities for every region in a region column. Analysts already hold the SELECT privilege
- A column mask redacts values via ALTER TABLE ... ALTER COLUMN ... SET MASK
A column mask is a SQL UDF attached with ALTER TABLE ALTER COLUMN SET MASK; it rewrites each returned value at query time, for example showing only the text after the @ in an email or only the last four digits of a card, while every row is still returned.
Trap Masking only sensitive columns while keeping table SELECT follows least privilege and lets queries run without errors, unlike revoking column access.
20 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. A catalog named sales_cat contains a table named Orders that stores sales records for every region in a region column. Business analys
- You have an Azure Databricks workspace enabled for Unity Catalog. A table named Members has a passport_number column. A reporting team must keep running their existing SELECT * queries against Members
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Payroll with a salary column. Requirements: analysts must run their existing reports,
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Ledger. Each user must be exposed only the rows for the business units they are author
- You have an Azure Databricks workspace enabled for Unity Catalog. A table named Customers contains a phone_number column. A support team must continue to query every customer row in Customers but must
- You have an Azure Databricks workspace enabled for Unity Catalog. A managed Delta table named Invoices holds records for every branch in a branch column. Requirements: each sales representative must s
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Transactions that is loaded by a production pipeline and queried by auditors. Requirem
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Projects that is the single source of truth for all project records. Requirements: ext
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Cases with a confidential flag. Requirements: members of the Contractors group must no
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Contacts whose phone, email, and ssn columns must all be redacted to non-privileged us
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Accounts with an account_number column. Requirements: support analysts must still see
- You have an Azure Databricks workspace enabled for Unity Catalog. A managed Delta table named Customers contains name, address, and country columns and is queried by several regional support teams. Re
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Leads with an email column. Requirements: marketing analysts must be able to analyze t
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Orders with a region column. Requirements: regional analysts must query Orders directl
- You have an Azure Databricks workspace enabled for Unity Catalog. A table named Accounts has an owner_email column. Each analyst must see only the rows where owner_email matches their own login, all d
- You have an Azure Databricks workspace enabled for Unity Catalog. A managed Delta table named Applicants contains an ssn column. Requirements: analysts must be able to see only the last four character
- You have an Azure Databricks workspace enabled for Unity Catalog. A table named HR_Records must be governed so that: analysts see only the rows for their own region; within the rows they can see, the
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Members with a country column and a national_id column. Requirements: analysts must se
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Patients with a diagnosis column. Requirements: members of the CareTeam group must see
- You have an Azure Databricks workspace enabled for Unity Catalog. A managed Delta table named Deals stores opportunities for every region in a region column. Analysts already hold the SELECT privilege
- Row filters and column masks attach to base tables, not to standard views
Table-level row filters and column masks are attached to base tables and cannot be placed on a standard view, while ABAC policies extend the same row-filter and column-mask protection to materialized views and streaming tables; once attached they are enforced for every query through any SQL warehouse, notebook, or client.
- delta.deletedFileRetentionDuration sets the VACUUM retention window
The table property delta.deletedFileRetentionDuration defines how long removed data files are retained before VACUUM is permitted to delete them, defaulting to 7 days; raising it lengthens the window during which older versions stay recoverable.
18 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. It contains a Unity Catalog managed Delta table named Orders on which predictive optimization runs VACUUM automatically. A new complia
- You have an Azure Databricks workspace with a Delta table named Transactions. The data governance team requires that time-travel queries reliably return any table version from the last 90 days, no mor
- You have an Azure Databricks workspace with a managed Delta table named Inventory. You need to lengthen the window during which data files removed by an update or delete stay physically present so tha
- You have a Delta table named Events. A colleague set delta.logRetentionDuration to interval 90 days expecting to be able to time travel 90 days back, but VACUUM runs on Events on the default schedule.
- You have a Delta table named Payments. A team currently reclaims storage by running VACUUM Payments RETAIN 336 HOURS by hand, but they sometimes forget the clause and files are purged at the 7-day def
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a Unity Catalog managed Delta table named LedgerHistory. Auditors must be able to query the table at any point in
- You have a Delta table named Shipments. Data files are retained well beyond 45 days because delta.deletedFileRetentionDuration was raised. An analyst runs a SELECT ... TIMESTAMP AS OF query for a date
- You have an Azure Databricks workspace with a managed Delta table named Warehouse. Some ETL jobs against Warehouse run for two to three days and write files that are not committed until the job finish
- You have a managed Delta table named Telemetry in Unity Catalog. A nightly job runs VACUUM on Telemetry with default settings. Analysts report that TIMESTAMP AS OF queries succeed for the last few day
- You have an Azure Databricks workspace with a Delta table named Ledger. Auditors must be able to reference older table versions by version number and timestamp for as long as the commit history is kep
- You have a managed Delta table named Inventory in Unity Catalog. After a bad batch load, you try to run RESTORE TABLE Inventory TO VERSION AS OF an older version from three weeks ago, but the command
- You have a Delta table named AccessLogs. A data-minimization policy states that no time-travel query may reference any table version older than 15 days, and the version history should not be kept beyo
- You have a Delta table named Clickstream. A daily OPTIMIZE job compacts small files, and VACUUM then reclaims the pre-compaction files on the default schedule. Data scientists report that time travel
- You have an Azure Databricks workspace with a Delta table named Sales. Auditors must be able to run DESCRIBE HISTORY on Sales and see the operation history stretching back 60 days. The data files are
- You have a managed Delta table named Contacts in Unity Catalog. A data-minimization policy states that the table's operation history metadata must not be kept longer than 14 days, but the ability to r
- You have a managed Delta table named Events in Unity Catalog. An engineer set only delta.logRetentionDuration to a large value expecting longer time travel, but TIMESTAMP AS OF queries against Events
- You have an Azure Databricks workspace enabled for Unity Catalog that contains a managed Delta table named Orders. Predictive optimization runs VACUUM on Orders automatically. Analysts must be able to
- You have a Delta table named Customers that stores personal data. To support time travel, delta.deletedFileRetentionDuration was previously raised to interval 60 days, so files removed by deletes now
- delta.logRetentionDuration bounds how far back time travel can go
The table property delta.logRetentionDuration controls how long transaction-log history is kept, defaulting to 30 days, which bounds the versions and timestamps that time-travel queries can reference.
18 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. It contains a Unity Catalog managed Delta table named Orders on which predictive optimization runs VACUUM automatically. A new complia
- You have an Azure Databricks workspace with a Delta table named Transactions. The data governance team requires that time-travel queries reliably return any table version from the last 90 days, no mor
- You have an Azure Databricks workspace with a managed Delta table named Inventory. You need to lengthen the window during which data files removed by an update or delete stay physically present so tha
- You have a Delta table named Events. A colleague set delta.logRetentionDuration to interval 90 days expecting to be able to time travel 90 days back, but VACUUM runs on Events on the default schedule.
- You have a Delta table named Payments. A team currently reclaims storage by running VACUUM Payments RETAIN 336 HOURS by hand, but they sometimes forget the clause and files are purged at the 7-day def
- You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a Unity Catalog managed Delta table named LedgerHistory. Auditors must be able to query the table at any point in
- You have a Delta table named Shipments. Data files are retained well beyond 45 days because delta.deletedFileRetentionDuration was raised. An analyst runs a SELECT ... TIMESTAMP AS OF query for a date
- You have a managed Delta table named Telemetry in Unity Catalog. A nightly job runs VACUUM on Telemetry with default settings. Analysts report that TIMESTAMP AS OF queries succeed for the last few day
- You have an Azure Databricks workspace with a Delta table named Ledger. Auditors must be able to reference older table versions by version number and timestamp for as long as the commit history is kep
- You have a managed Delta table named Inventory in Unity Catalog. After a bad batch load, you try to run RESTORE TABLE Inventory TO VERSION AS OF an older version from three weeks ago, but the command
- You have a Delta table named AccessLogs. A data-minimization policy states that no time-travel query may reference any table version older than 15 days, and the version history should not be kept beyo
- You have a managed Delta table named AuditLog in a Unity Catalog catalog. A compliance policy requires that DESCRIBE HISTORY on AuditLog can list write operations going back several months for review,
- You have a Delta table named Clickstream. A daily OPTIMIZE job compacts small files, and VACUUM then reclaims the pre-compaction files on the default schedule. Data scientists report that time travel
- You have an Azure Databricks workspace with a Delta table named Sales. Auditors must be able to run DESCRIBE HISTORY on Sales and see the operation history stretching back 60 days. The data files are
- You have a managed Delta table named Contacts in Unity Catalog. A data-minimization policy states that the table's operation history metadata must not be kept longer than 14 days, but the ability to r
- You have a managed Delta table named Events in Unity Catalog. An engineer set only delta.logRetentionDuration to a large value expecting longer time travel, but TIMESTAMP AS OF queries against Events
- You have a managed Delta table named Metrics in Unity Catalog. A compliance rule requires that DESCRIBE HISTORY on Metrics keep listing write operations for the last 90 days, and this listing must rem
- You have a Delta table named Customers that stores personal data. To support time travel, delta.deletedFileRetentionDuration was previously raised to interval 60 days, so files removed by deletes now
- Running VACUUM permanently deletes old files and forfeits earlier time travel
VACUUM permanently removes data files that are no longer referenced by the latest table state and are older than the retention threshold, after which you can no longer time-travel to a version whose files were purged, trading storage cost against recoverability.
- Unity Catalog captures lineage automatically down to the column level
For queries and workflows run on Azure Databricks, Unity Catalog captures runtime data lineage automatically down to the column level with no configuration, and aggregates it across every workspace attached to the metastore.
12 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. A Salesforce extract is loaded by an external ETL tool into a Unity Catalog table named bronze.crm.leads, and a Power BI report consum
- Your company has two Azure Databricks workspaces, WorkspaceA and WorkspaceB, that are both attached to the same Unity Catalog metastore. An ETL job in WorkspaceA writes a Unity Catalog table named sal
- You have an Azure Databricks workspace enabled for Unity Catalog. A Delta table named gold.finance.revenue has a column named net_revenue, and an analyst reports an unexpected value in it. Before you
- You have an Azure Databricks workspace that is enabled for Unity Catalog. The managed table silver.customers contains a column named customer_email that is classified as PII. To scope a privacy review
- You have an Azure Databricks workspace enabled for Unity Catalog with automatic data lineage. You plan to rename a heavily referenced table from prod.core.cust to prod.core.customer with ALTER TABLE .
- You have two Azure Databricks workspaces, Workspace1 and Workspace2, that are both attached to the same Unity Catalog metastore named metastore1. A job in Workspace2 writes to the managed table sales.
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A data engineer with broad privileges and a business analyst who holds only the SELECT privilege on finance.gl both open the L
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. The managed table gold.retail.order_summary is populated by several notebooks and Lakeflow Jobs and feeds mul
- You have an Azure Databricks workspace named Workspace1 that is attached to a Unity Catalog metastore. A data engineering team runs Spark SQL and DataFrame ETL notebooks on Azure Databricks compute th
- You have an Azure Databricks workspace that is enabled for Unity Catalog. For a compliance audit you must demonstrate where the regulated column in the managed table pii.accounts originates and every
- You have an Azure Databricks workspace enabled for Unity Catalog. A business analyst who has SELECT on the relevant tables wants to visually explore, in the workspace UI and without writing code, the
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A governance team needs a daily report of the upstream and downstream dependencies for several hundred tables across the metas
- Catalog Explorer shows owner, history, dependencies, and upstream/downstream lineage
The Catalog Explorer Lineage tab renders an interactive graph of upstream and downstream tables, columns, notebooks, jobs, and dashboards alongside the object owner and history, so you can trace dependencies before changing or deleting an object.
16 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. A Salesforce extract is loaded by an external ETL tool into a Unity Catalog table named bronze.crm.leads, and a Power BI report consum
- Your company has two Azure Databricks workspaces, WorkspaceA and WorkspaceB, that are both attached to the same Unity Catalog metastore. An ETL job in WorkspaceA writes a Unity Catalog table named sal
- You have an Azure Databricks workspace enabled for Unity Catalog. A Delta table named gold.finance.revenue has a column named net_revenue, and an analyst reports an unexpected value in it. Before you
- You have an Azure Databricks workspace that is enabled for Unity Catalog. The managed table silver.customers contains a column named customer_email that is classified as PII. To scope a privacy review
- You have an Azure Databricks workspace that is enabled for Unity Catalog. Before you change the schema of gold.revenue, you need a single interactive view that shows both the upstream tables that feed
- You have an Azure Databricks workspace enabled for Unity Catalog with automatic data lineage. You plan to rename a heavily referenced table from prod.core.cust to prod.core.customer with ALTER TABLE .
- You have an Azure Databricks workspace that is enabled for Unity Catalog. You must decommission the managed table bronze.raw_events, but first you have to identify the complete downstream dependency g
- You have an Azure Databricks workspace that is enabled for Unity Catalog. Before you request a change to the managed table sales.orders, a data steward must (1) find the object's current owner so the
- You have an Azure Databricks workspace enabled for Unity Catalog. A table named finance.reporting.gl_summary is about to be modified. Before making the change, you must find out who currently owns the
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. The managed table gold.retail.order_summary is populated by several notebooks and Lakeflow Jobs and feeds mul
- You have an Azure Databricks workspace enabled for Unity Catalog. A dashboard built on gold.sales.daily_totals suddenly shows inflated numbers. You need to trace daily_totals back through its transfor
- You have an Azure Databricks workspace named Workspace1 that is attached to a Unity Catalog metastore. A data engineering team runs Spark SQL and DataFrame ETL notebooks on Azure Databricks compute th
- You have an Azure Databricks workspace enabled for Unity Catalog. A user named userA has the SELECT privilege on the table lineage_demo.sales.menu but no privileges on the downstream table lineage_dem
- You have an Azure Databricks workspace that is enabled for Unity Catalog. For a compliance audit you must demonstrate where the regulated column in the managed table pii.accounts originates and every
- You have an Azure Databricks workspace enabled for Unity Catalog. A business analyst who has SELECT on the relevant tables wants to visually explore, in the workspace UI and without writing code, the
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A governance team needs a daily report of the upstream and downstream dependencies for several hundred tables across the metas
- Unity Catalog audit events are queryable in the system.access.audit table
The system.access.audit system table records account- and workspace-level audit events, capturing which principal accessed which securable and what action was taken, and retains them for up to one year for security and compliance analysis.
15 questions test this
- You have an Azure Databricks workspace named Workspace1 on the Premium plan. Your Azure operations team needs to analyze Workspace1 audit activity together with logs from other Azure resources, run ad
- You have an Azure Databricks workspace named Workspace1 on the Premium plan that is enabled for Unity Catalog. Your security operations team already uses Azure Monitor to investigate telemetry from th
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog and attached to a metastore named Metastore1. Your security team must review which principal accessed each Uni
- You have an Azure Databricks workspace enabled for Unity Catalog. A security engineer investigating an incident needs to see, for a sensitive catalog, every GRANT and REVOKE performed on its securable
- The security policy at Contoso forbids copying audit data outside the Azure Databricks platform because of the sensitive information it contains. The governance team still needs to analyze which princ
- An engineer at Proseware is asked to make the Azure Databricks workspace's audit logs available to the organization's Azure Monitor tooling. They previously enabled compute log delivery to a Unity Cat
- Woodgrove Bank runs an Azure Databricks account with several workspaces in the same Azure region, all attached to one Unity Catalog metastore. During a compliance review, an auditor asks for a single
- Contoso, Inc. has an Azure Databricks workspace attached to a Unity Catalog metastore and enabled for system tables. A compliance officer must build a quarterly report, using SQL in the lakehouse, tha
- Fabrikam streams its Azure Databricks workspace-level diagnostic logs to a Log Analytics workspace through Azure diagnostic settings. During an audit, the security team finds that account-level events
- You have an Azure Databricks workspace enabled for Unity Catalog. You query the system.access.audit table to investigate activity, but the records for notebook and Databricks SQL commands do not inclu
- Litware must retain the raw Azure Databricks workspace audit logs for seven years to satisfy a financial regulation, at the lowest possible storage cost. The archived logs will be read only rarely, du
- You have an Azure Databricks account with several workspaces attached to one metastore, and you already deliver each workspace's audit logs to Azure Monitor through diagnostic settings. During a compl
- You have an Azure Databricks workspace on the Premium plan. Your security operations center runs a third-party (non-Microsoft) SIEM product and must ingest the workspace audit events in near real time
- You have an Azure Databricks workspace on the Premium plan. Your compliance team must retain the raw audit logs for seven years at the lowest possible storage cost. The archived logs will not be queri
- You have an Azure Databricks workspace enabled for Unity Catalog. An auditor asks for a report of all governance actions performed against securables over the last eight months. The solution must not
- Azure diagnostic settings deliver Databricks audit logs to Log Analytics
Configuring Azure diagnostic settings on the workspace streams Azure Databricks diagnostic (audit) logs to a Log Analytics workspace, a storage account, or Event Hubs for long-term retention, querying, and alerting in Azure Monitor.
14 questions test this
- You have an Azure Databricks workspace named Workspace1 on the Premium plan. Your Azure operations team needs to analyze Workspace1 audit activity together with logs from other Azure resources, run ad
- You have an Azure Databricks workspace named Workspace1 on the Premium plan that is enabled for Unity Catalog. Your security operations team already uses Azure Monitor to investigate telemetry from th
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog and attached to a metastore named Metastore1. Your security team must review which principal accessed each Uni
- The security policy at Contoso forbids copying audit data outside the Azure Databricks platform because of the sensitive information it contains. The governance team still needs to analyze which princ
- An engineer at Proseware is asked to make the Azure Databricks workspace's audit logs available to the organization's Azure Monitor tooling. They previously enabled compute log delivery to a Unity Cat
- Woodgrove Bank runs an Azure Databricks account with several workspaces in the same Azure region, all attached to one Unity Catalog metastore. During a compliance review, an auditor asks for a single
- Fabrikam streams its Azure Databricks workspace-level diagnostic logs to a Log Analytics workspace through Azure diagnostic settings. During an audit, the security team finds that account-level events
- You have an Azure Databricks workspace enabled for Unity Catalog. You query the system.access.audit table to investigate activity, but the records for notebook and Databricks SQL commands do not inclu
- Litware must retain the raw Azure Databricks workspace audit logs for seven years to satisfy a financial regulation, at the lowest possible storage cost. The archived logs will be read only rarely, du
- Compliance at Litware requires that raw Azure Databricks workspace audit logs be retained for seven years at the lowest possible storage cost. The archived logs will be retrieved only rarely, for occa
- You have an Azure Databricks account with several workspaces attached to one metastore, and you already deliver each workspace's audit logs to Azure Monitor through diagnostic settings. During a compl
- A platform team at Contoso wants a single, workspace-level configuration that can route Azure Databricks audit logs to whichever Azure service each consumer needs - a storage account for archival, an
- You have an Azure Databricks workspace on the Premium plan. Your security operations center runs a third-party (non-Microsoft) SIEM product and must ingest the workspace audit events in near real time
- You have an Azure Databricks workspace on the Premium plan. Your compliance team must retain the raw audit logs for seven years at the lowest possible storage cost. The archived logs will not be queri
- Verbose audit logging adds notebook and SQL command events
Enabling verbose audit logging records additional fine-grained events such as commandSubmit, commandFinish, and runCommand, capturing notebook-cell and SQL-warehouse command activity that standard audit logging omits.
- Databricks-to-Databricks sharing needs no token when the recipient has Unity Catalog
When the recipient also has a Unity Catalog-enabled workspace, a recipient of authentication type DATABRICKS shares data over a secure Databricks-managed channel identified by a sharing identifier, so no bearer token is created or managed and identity, authentication, and auditing are handled by the platform.
Trap Databricks-to-Databricks sharing eliminates token management; only open sharing to a non-Databricks recipient issues a bearer token.
15 questions test this
- You have an Azure Databricks workspace that is enabled for Unity Catalog and manages a Delta table named Orders. You must share Orders with an external analytics firm that does not use Databricks and
- You have an Azure Databricks workspace enabled for Unity Catalog and must share the same Delta table with two recipients. RecipientA works in a separate Unity Catalog-enabled Databricks workspace. Rec
- You have an Azure Databricks workspace enabled for Unity Catalog and already use Databricks-to-Databricks sharing to share tables with a partner business unit on another Unity Catalog metastore. An au
- You have an Azure Databricks workspace named Providerws that is enabled for Unity Catalog and manages a Delta table named Sales1. A partner organization runs its own Azure Databricks workspace that is
- You have an Azure Databricks workspace enabled for Unity Catalog and a Delta table named Metrics. You must share Metrics with an external analytics partner who does not use Databricks and has no acces
- You have an Azure Databricks workspace enabled for Unity Catalog and want to set up Databricks-to-Databricks sharing with a recipient team that also uses a Unity Catalog-enabled workspace. Before you
- You have an Azure Databricks workspace enabled for Unity Catalog and need to share assets with a data science team in a different Databricks account on another cloud whose workspace is enabled for Uni
- Your company shares Delta tables with a subsidiary that runs Databricks on a different cloud and in a separate Databricks account. Both your metastore and the subsidiary's metastore are enabled for Un
- Your data platform team manages two Unity Catalog metastores in the same Azure Databricks account: metastore A, which holds a curated Sales catalog, and metastore B, used by another business unit. You
- You share data with an external partner who does not use Databricks. Your security team forbids managing any long-lived shared secret and wants the partner's own identity provider to issue short-lived
- You have an Azure Databricks workspace enabled for Unity Catalog. You need to share not only Delta tables but also a Databricks notebook, a Unity Catalog volume, and a registered Unity Catalog model w
- Contoso operates an Azure Databricks workspace named Analyticsws that is enabled for Unity Catalog and manages a curated Delta table named Revenue. A partner subsidiary, Fabrikam, runs its own Azure D
- You have an Azure Databricks workspace enabled for Unity Catalog and share a table with an external partner using Databricks-to-Open sharing with a bearer token. The partner's contract has ended and y
- You have an Azure Databricks workspace enabled for Unity Catalog. You must share a set of Delta tables with a partner so that the partner can use their own Unity Catalog to grant and revoke access to
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog and contains a catalog named SalesCatalog that you must share with a partner team. The partner team works in i
- Open sharing uses a bearer token and credential file for non-Databricks recipients
Open sharing (the Databricks-to-open protocol) reaches recipients on any platform by authenticating a recipient of type TOKEN using a long-lived bearer token or OIDC federation; for a token, Databricks generates a credential file delivered via an activation link that must be secured and rotated.
16 questions test this
- You have an Azure Databricks workspace that is enabled for Unity Catalog and manages a Delta table named Orders. You must share Orders with an external analytics firm that does not use Databricks and
- You have an Azure Databricks workspace enabled for Unity Catalog and must share the same Delta table with two recipients. RecipientA works in a separate Unity Catalog-enabled Databricks workspace. Rec
- You have an Azure Databricks workspace named Providerws that is enabled for Unity Catalog and manages a Delta table named Sales1. A partner organization runs its own Azure Databricks workspace that is
- You have an Azure Databricks workspace enabled for Unity Catalog and use Databricks-to-Open sharing to share a table with an external recipient using a bearer token. You discover that the recipient's
- You have an Azure Databricks workspace enabled for Unity Catalog and share a table with an external partner using Databricks-to-Open sharing with a bearer token. Compliance now requires that the partn
- You have an Azure Databricks workspace enabled for Unity Catalog and a Delta table named Metrics. You must share Metrics with an external analytics partner who does not use Databricks and has no acces
- You have an Azure Databricks workspace enabled for Unity Catalog and must share data with an external partner that does not use Databricks. Your security policy states that no long-lived static shared
- Your company shares Delta tables with a subsidiary that runs Databricks on a different cloud and in a separate Databricks account. Both your metastore and the subsidiary's metastore are enabled for Un
- Your data platform team manages two Unity Catalog metastores in the same Azure Databricks account: metastore A, which holds a curated Sales catalog, and metastore B, used by another business unit. You
- You have an Azure Databricks workspace enabled for Unity Catalog and share a Delta table with an external partner using Databricks-to-Open sharing with a bearer token. The partner does not use Databri
- You share data with an external partner who does not use Databricks. Your security team forbids managing any long-lived shared secret and wants the partner's own identity provider to issue short-lived
- You have an Azure Databricks workspace enabled for Unity Catalog. You need to share not only Delta tables but also a Databricks notebook, a Unity Catalog volume, and a registered Unity Catalog model w
- Contoso operates an Azure Databricks workspace named Analyticsws that is enabled for Unity Catalog and manages a curated Delta table named Revenue. A partner subsidiary, Fabrikam, runs its own Azure D
- You have an Azure Databricks workspace enabled for Unity Catalog and share a table with an external partner using Databricks-to-Open sharing with a bearer token. The partner's contract has ended and y
- You have an Azure Databricks workspace enabled for Unity Catalog. You must share a set of Delta tables with a partner so that the partner can use their own Unity Catalog to grant and revoke access to
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog and contains a catalog named SalesCatalog that you must share with a partner team. The partner team works in i
A secure OpenSharing (previously Delta Sharing) strategy creates a share, adds only the specific tables or views to be exposed, and grants that share to a defined recipient, so the recipient receives read-only access to just the shared objects rather than to the whole metastore.
Prepare and process data
Data Modeling in Unity Catalog
Read full chapterUnlock with Premium — includes all practice exams and the complete study guide.
Ingesting Data into Unity Catalog
Read full chapterUnlock with Premium — includes all practice exams and the complete study guide.
Cleanse, Transform, and Load Data
Read full chapterUnlock with Premium — includes all practice exams and the complete study guide.
Data Quality Constraints in Unity Catalog
Read full chapterUnlock with Premium — includes all practice exams and the complete study guide.
Deploy and maintain data pipelines and workloads
Designing and Implementing Data Pipelines
Read full chapterUnlock with Premium — includes all practice exams and the complete study guide.
Implementing Lakeflow Jobs
Read full chapterUnlock with Premium — includes all practice exams and the complete study guide.
Development Lifecycle in Azure Databricks
Read full chapterUnlock with Premium — includes all practice exams and the complete study guide.
Monitoring, Troubleshooting, and Optimizing Workloads
Read full chapterUnlock with Premium — includes all practice exams and the complete study guide.