Courseiva

CCNA Databricks Intelligence Platform Questions

41 questions · Databricks Intelligence Platform · All types, answers revealed

1
MCQmedium

A data engineer is preparing a notebook that must authenticate to cloud storage using a short-lived token that is automatically rotated by Databricks and is never written into the notebook source. The engineer wants the least administrative overhead while keeping secrets out of the code. Which approach should the engineer use?

A.Hard-code the storage account access key into a widget and pass it at runtime.
B.Attach an instance profile or managed identity to the cluster and access the storage directly.
C.Create a personal access token for the workspace and use it to call the storage REST API.
D.Store the storage key in a Databricks secret scope and reference it with dbutils.secrets.get in the notebook.
AnswerB

Attaching a cloud identity (instance profile on AWS, managed identity on Azure) to the cluster lets the notebook obtain short-lived credentials from the cloud metadata service. Databricks rotates them automatically, no secret appears in code, and access is scoped by the identity's IAM or RBAC policy. This is the lowest-overhead pattern for storage access from notebooks.

Why this answer

Attaching a cloud identity such as an instance profile or managed identity to the cluster is the standard Databricks pattern for credential-free storage access. The cluster's metadata service issues short-lived, automatically rotated credentials scoped to that identity, so nothing sensitive is stored in the notebook or job definition. Secret scopes and widgets still require manual credential handling and rotation, and workspace tokens do not authorize cloud storage access at all.

Exam trap

The trap here is assuming that a Databricks secret scope automatically rotates the underlying cloud credential, when in fact scopes only store and redact whatever value the engineer manually maintains.

2
MCQhard

Refer to the exhibit. A security administrator applies this Unity Catalog policy. What is the impact on users in the 'analyst-group'?

A.They can drop the revenue table.
B.They can view the contents of the revenue table.
C.They gain administrative rights over the entire catalog.
D.They can write new data into the revenue table.
AnswerB

The 'SELECT' privilege explicitly authorizes users to read data from the table. By granting this to the 'analyst-group', all members can now execute SELECT queries against the table, enabling them to analyze the data for business purposes while maintaining security protocols through the centralized Unity Catalog governance model.

Why this answer

This Unity Catalog JSON policy grants the 'analyst-group' the SELECT privilege on the 'main.sales.revenue' table. Consequently, any user belonging to this group will be able to read data from this specific table. This is a standard governance practice in Databricks, providing a fine-grained, centralized method to control access to sensitive data assets across the entire organization, ensuring security and compliance without managing individual permissions for each user.

Exam trap

Test-takers often misinterpret explicit SELECT privileges in Unity Catalog policies as restrictive blocks, confusing granting read access with revoking permissions.

3
Multi-Selectmedium

Which THREE of the following are core components of the Databricks Intelligence Platform?

Select 3 answers
A.Delta Lake
B.Unity Catalog
C.Managed Spark Clusters
D.Proprietary File System Format
E.Hardware-level Storage Controllers
AnswersA, B, C

Delta Lake is the core storage format providing ACID transactions and schema enforcement. It is an essential component that allows the platform to maintain data reliability at scale, providing the foundation for the Lakehouse architecture by ensuring that data stored in cloud object storage is consistent, performant, and easily queryable.

Why this answer

The Databricks Intelligence Platform is built on a foundation that includes high-performance compute, unified governance, and open storage. These components work together to provide a seamless experience for data engineering, science, and analytics. Recognizing these elements helps engineers understand the platform's capabilities to scale horizontally, secure data assets centrally, and maintain interoperability through open standards, which are essential for modern data architecture requirements.

Exam trap

Candidates often include legacy components like 'Hive Metastore' or 'Databricks SQL' as core platform components. They fail to identify the foundational pillars: Delta Lake, Unity Catalog, and Managed Spark.

4
MCQmedium

When considering the Databricks Intelligence Platform, what is the primary role of the 'Lakehouse' architecture?

A.To replace cloud object storage with a proprietary proprietary binary format.
B.To unify the best features of data warehouses and data lakes.
C.To isolate streaming and batch data processing into distinct storage layers.
D.To mandate the use of SQL as the only supported programming language.
AnswerB

The Lakehouse unifies data warehousing and data lake architectures. It offers the performance and transactional consistency of a warehouse for BI workloads while providing the scalability and support for unstructured data, machine learning, and streaming workloads that are typical of data lakes, all within a single unified platform.

Why this answer

The Lakehouse architecture combines the data management, schema support, and ACID transactions of a data warehouse with the scale, flexibility, and low-cost storage of a data lake. This is important for engineers because it eliminates the need to maintain separate systems for BI and AI/ML, allowing teams to use a single platform for all data processing tasks, thereby reducing data duplication and architectural complexity.

Exam trap

Candidates often describe the Lakehouse as just a 'better data lake' or 'cloud warehouse'. They miss the core definition of unifying the strengths of both architectures into one platform.

5
MCQmedium

A data engineer is configuring a Databricks job that must run on a schedule and send an email notification if the job fails. They want to minimize manual intervention. Which feature should they use to define the schedule and failure notification?

A.Cluster policies with auto-termination settings
B.Databricks SQL alerts with a custom schedule
C.Databricks Jobs with a cron schedule and email notifications on failure
D.Delta Live Tables with expectations for failure handling
AnswerC

Databricks Jobs support scheduling with cron expressions and can be configured to send email notifications when a run fails. This allows the engineer to automate the job and receive alerts without manual monitoring. This is the standard way to schedule and monitor jobs in Databricks.

Why this answer

Databricks Jobs provide built-in scheduling via cron and support email notifications on failure. This directly meets the need to automate job runs and alert the engineer when something goes wrong, reducing manual intervention. Other features like SQL alerts or cluster policies serve different purposes and cannot replace job scheduling and failure notifications.

Exam trap

The trap here is confusing monitoring features like SQL alerts with job orchestration and notification capabilities of Databricks Jobs.

6
MCQhard

A data engineer needs to run a nightly transformation that reads a large Parquet dataset, writes a curated Delta table, and then immediately runs OPTIMIZE and VACUUM on that table. The engineer wants each step to be observable, retryable, and to avoid data loss if VACUUM fails. Which orchestration approach best meets these requirements?

A.A single Databricks notebook that performs the read, write, OPTIMIZE, and VACUUM in one cell so the steps always run together.
B.A Databricks Job with separate tasks for the write, OPTIMIZE, and VACUUM, chained with task dependencies and configured retries.
C.An external cron job on a VM that calls the Databricks REST API to submit each step as a separate one-time run.
D.A Databricks Job that runs one notebook task containing the write and OPTIMIZE, followed by a separate job that runs VACUUM on a trigger.
AnswerB

A multi-task Databricks Job gives each step its own task, so the write, OPTIMIZE, and VACUUM run as distinct units with individual logs, durations, and retry policies. Dependencies ensure ordering, and a failed VACUUM can be retried without rerunning the write, preserving the committed Delta table. This directly satisfies observability, retryability, and data-loss avoidance.

Why this answer

Modeling the pipeline as a Databricks Job with discrete tasks lets each stage be independently logged, retried, and ordered through dependencies. The write commits first, OPTIMIZE then compacts files, and VACUUM runs only after the others succeed, so a VACUUM failure can be retried without recomputing the curated table. Single-cell notebooks and externally triggered jobs sacrifice that granular control and coordinated retry behavior.

Exam trap

The trap here is treating VACUUM as just another statement in the same notebook, which hides the fact that it is a separate, retryable unit whose failure should not force a full recomputation.

7
MCQeasy

A data engineer needs to store structured data in a cloud object storage location while maintaining full ACID guarantees. Which storage format is the foundation of the Databricks Lakehouse architecture that enables this functionality?

A.JSON
B.Delta Lake
C.CSV
D.Avro
AnswerB

Delta Lake provides the necessary ACID transactional capabilities, scalable metadata handling, and time travel features required for a robust Lakehouse. It sits on top of existing object storage, ensuring data integrity across complex pipelines while allowing high-performance concurrent access for both streaming and batch data processing workloads.

Why this answer

Delta Lake is the open-source storage layer that brings reliability and ACID transactions to data lakes. By utilizing transaction logs and Parquet files, it ensures data consistency for concurrent read and write operations. Understanding Delta Lake is fundamental for Databricks engineers, as it underpins virtually all data operations within the platform, enabling features like time travel, schema enforcement, and efficient upserts on massive datasets.

Exam trap

Candidates often confuse Delta Lake with the underlying storage format (Parquet) or the compute engine (Spark). They fail to realize that Delta Lake is specifically the ACID layer built on top of Parquet files.

8
MCQmedium

A data engineer is configuring a Databricks cluster to run a Spark job that processes large datasets. The job requires high memory and will run for several hours. The engineer wants to minimize costs while ensuring the job completes successfully. Which cluster configuration should the engineer choose?

A.Use an all-purpose cluster with a fixed number of high-memory workers and enable autoscaling to reduce costs during peak hours.
B.Use a job cluster with a fixed number of high-memory workers and enable auto-termination after 30 minutes of inactivity.
C.Use a job cluster with autoscaling enabled, high-memory instance types, and a minimum of 2 workers and a maximum of 10 workers.
D.Use an all-purpose cluster with autoscaling enabled and a minimum of 2 workers and a maximum of 10 workers, with high-memory instance types.
AnswerC

Job clusters are designed for automated workloads and are more cost-effective than all-purpose clusters. Autoscaling dynamically adjusts the number of workers based on workload, optimizing resource usage and cost. High-memory instances address the memory requirement. This configuration balances performance and cost for a long-running job with varying demands.

Why this answer

For long-running batch jobs, job clusters are more cost-effective than all-purpose clusters. Autoscaling allows the cluster to scale up or down based on workload, ensuring resources are used efficiently. High-memory instances meet the memory requirement.

Setting a minimum and maximum worker count provides boundaries for autoscaling, preventing over-provisioning. This combination minimizes cost while ensuring the job has sufficient resources.

Exam trap

The trap here is assuming that all-purpose clusters are always better because they can be reused, but for a single long-running job, a job cluster with autoscaling is more cost-effective.

9
Multi-Selecthard

A data engineer is designing a secure architecture using the Databricks Intelligence Platform. Which TWO of the following statements accurately describe the role and capabilities of Unity Catalog within this platform? (Choose TWO)

Select 2 answers
A.Unity Catalog provides centralized access control for tables, views, volumes, and AI models across multiple workspaces.
B.Unity Catalog replaces the underlying cloud provider IAM roles for all compute resources executing queries.
C.Unity Catalog maintains a single, unified metastore that can be shared across multiple workspaces within the same account.
D.Unity Catalog automatically handles the physical partitioning of Delta tables for optimal query performance.
E.Unity Catalog requires all data to be migrated into proprietary binary formats before governance policies can be applied.
AnswersA, C

Unity Catalog centralizes governance by defining permissions once in an account-level metastore and applying them consistently across all attached workspaces. This architecture simplifies auditing and ensures uniform security standards for both structured data and machine learning artifacts.

Why this answer

Unity Catalog is the fine-grained governance solution for data and AI across the Databricks platform, centralizing access control for tables, volumes, and models. It operates across multiple workspaces in a metastore, ensuring consistent security policies and audit logging regardless of which workspace or compute resource executes the user queries.

Exam trap

A common misconception is that Unity Catalog operates locally within a single workspace or manages underlying cloud virtual machines. In reality, a Unity Catalog metastore can be shared across multiple workspaces in an account.

10
MCQmedium

An organization is adopting the Databricks Intelligence Platform and wants to leverage Mosaic AI for building custom machine learning models. Which feature allows data engineers to track machine learning experiments, log parameters, and manage model artifacts reliably?

A.Databricks SQL dashboards
B.Unity Catalog volumes
C.MLflow
D.Delta Live Tables
AnswerC

MLflow is natively integrated into Databricks to provide robust experiment tracking, parameter and metric logging, and a centralized model registry. It is the primary tool used within Mosaic AI to manage machine learning lifecycles and artifact governance.

Why this answer

MLflow is the open-source platform integrated natively into Databricks Mosaic AI for managing the end-to-end machine learning lifecycle. It provides comprehensive tracking of experiments, parameters, metrics, and registered model versions, ensuring reproducibility and smooth transition from development to production environments within the data lakehouse architecture.

Exam trap

Candidates often look for a custom Databricks-specific tool and overlook MLflow because it is an open-source project. However, MLflow is deeply embedded as the standard tracking mechanism in Databricks Mosaic AI.

11
MCQmedium

Which command is used to query the history of a Delta table to perform time travel?

A.SELECT * FROM TABLE_HISTORY
B.DESCRIBE HISTORY table_name
C.SHOW LOGS FROM table_name
D.GET_DELTA_VERSIONS(table_name)
AnswerB

The 'DESCRIBE HISTORY' command is the native way to retrieve the transaction log for a Delta table. It returns information such as version, timestamp, operation, and user, which is crucial for time travel operations and auditing the changes made to the data over time in a production environment.

Why this answer

The 'DESCRIBE HISTORY' command provides a detailed log of all transactions performed on a Delta table, including operations like inserts, updates, and deletes. This is essential for auditing and reverting to previous states if data corruption or accidental deletions occur. By understanding the history, engineers can verify the lineage and integrity of their data, which is a core benefit of the Delta Lake storage layer.

Exam trap

Candidates frequently confuse table metadata inspection commands with data selection queries, mistakenly attempting to use SELECT * FROM history or VERSION AS OF commands directly.

12
Multi-Selectmedium

A data engineer is using Databricks SQL to analyze data stored in a Delta table. The engineer wants to optimize query performance by leveraging Delta Lake features. Which TWO actions should the engineer take to improve query performance on the Delta table? (Choose two.)

Select 2 answers
A.Convert the table to Parquet format.
B.Run the OPTIMIZE command to compact small files.
C.Use Z-ORDER BY on a frequently filtered column.
D.Enable auto-compaction on the Delta table.
E.Increase the cluster size by adding more workers.
AnswersB, C

The OPTIMIZE command compacts small files into larger ones, reducing the number of files that need to be read during queries. This improves performance by reducing I/O overhead and enabling better data skipping. It is a standard Delta Lake maintenance operation for tables that receive frequent small updates or streaming writes.

Why this answer

OPTIMIZE compacts small files into larger ones, reducing I/O and improving data skipping. Z-ORDER BY colocates data on a specified column, further enhancing data skipping for queries that filter on that column. Together, these Delta Lake features directly improve query performance by optimizing the physical layout of data.

Other options either do not directly address file layout or would remove Delta Lake benefits.

Exam trap

The trap here is assuming that simply increasing cluster resources or changing file format will improve performance, when the most effective Delta Lake optimizations are file compaction and data colocation.

13
MCQmedium

A data engineer is designing a pipeline on Databricks that requires ACID transactions and schema enforcement for streaming data. Which storage abstraction should they use to ensure data reliability and support time travel?

A.Parquet files in S3 without a transaction log
B.Delta Lake tables
C.Hive-style partitioned CSV files
D.A standard memory-mapped temporary table
AnswerB

Delta Lake tables provide the necessary ACID transaction logs, enabling reliable reads and writes while supporting schema enforcement and evolution. These features ensure that data remains consistent during concurrent operations, and the transaction log specifically facilitates time travel, which is critical for compliance, auditing, and debugging production data pipelines.

Why this answer

Delta Lake provides the foundation for the Databricks Lakehouse, offering ACID transactions, schema enforcement, and versioning capabilities. By utilizing Delta tables, engineers can perform time travel via transaction logs to audit data or recover from accidental deletions. This storage layer is essential for maintaining high-quality data throughout the pipeline lifecycle, preventing partial writes and ensuring consistent reads for downstream analytics users in the Lakehouse environment.

Exam trap

Test-takers often choose Parquet files or standard Spark dataframes, overlooking the requirement for built-in transactional logs needed for time travel and ACID guarantees.

14
MCQmedium

Which Databricks feature should be used to securely share data with external organizations without duplicating the data?

A.Unity Catalog
B.Delta Sharing
C.Databricks Workflows
D.MLflow Model Registry
AnswerB

Delta Sharing is the industry-standard, open protocol that enables secure, scalable data sharing without data duplication. It allows the recipient to access data directly from the provider's cloud storage, ensuring that the shared data remains up-to-date and consistent, which is ideal for external collaboration and B2B analytics.

Why this answer

Delta Sharing is a secure, open-protocol solution that allows organizations to share data with third parties without moving or copying the underlying files. By using Delta Sharing, the provider maintains a single source of truth while the consumer gains direct access to the data. This minimizes storage costs, ensures data consistency, and simplifies compliance management for multi-party data sharing scenarios.

Exam trap

Candidates often suggest copying data or using external tables/views. They overlook that Delta Sharing is specifically designed for secure, read-only external access without needing to move or replicate the data.

15
MCQmedium

A data engineer is designing a pipeline and needs to ensure that data remains consistent during concurrent read and write operations. Which Databricks feature provides the mechanism to track and validate these operations?

A.Unity Catalog
B.Delta Lake Transaction Log
C.Databricks SQL
D.Cluster Manager
AnswerB

The transaction log is an ordered record of all commits to a Delta table. It acts as the source of truth for the table state, allowing engines to perform optimistic concurrency control. This enables consistent reads and writes, ensuring that data integrity is maintained even during complex multi-writer scenarios.

Why this answer

The Delta Lake transaction log, often referred to as the _delta_log, is a centralized record of all changes made to a table. It ensures atomicity and durability by serializing transactions. This mechanism is critical because it allows Databricks to manage concurrent access without locks, providing a consistent view of the data even when multiple users or processes are interacting with the same underlying storage files simultaneously.

Exam trap

Candidates often select 'Spark' or 'Optimistic Concurrency Control' as the feature. While these are involved, the specific mechanism that stores the record of changes for validation is the Delta Lake transaction log.

16
MCQmedium

A data engineering team needs to ingest streaming data from Kafka into a Delta table while maintaining exactly-once processing guarantees and low latency. Which Databricks Intelligence Platform feature should they utilize to build this streaming pipeline declaratively?

A.Delta Live Tables
B.Databricks Job clusters with manual spark-submit scripts
C.Databricks SQL query history
D.Unity Catalog lineage graphs
AnswerA

Delta Live Tables provides a declarative interface for defining streaming and batch data pipelines. It automatically manages checkpointing, cluster scaling, and error handling, making it ideal for ingesting low-latency streams from Kafka into Delta tables reliably.

Why this answer

Delta Live Tables (DLT) is a declarative framework that simplifies ETL pipeline development. By defining data sources and target tables using SQL or Python, DLT manages infrastructure deployment, task orchestration, and error handling automatically, while leveraging structured streaming under the hood for low-latency, exactly-once ingestion.

Exam trap

Some candidates assume they must manually write complex Apache Spark Structured Streaming code with custom checkpointing locations. DLT simplifies this by managing infrastructure and state management declaratively.

17
Multi-Selectmedium

Which TWO of the following statements accurately describe the functionality of Unity Catalog within the Databricks Intelligence Platform?

Select 2 answers
A.It provides centralized access control, auditing, and lineage for all data and AI assets.
B.It requires a separate Hive Metastore for each individual Databricks workspace.
C.It enables seamless cross-workspace data sharing and discovery of assets.
D.It is an execution engine used to run heavy machine learning training jobs.
E.It only supports files stored in Amazon S3 buckets.
AnswersA, C

Unity Catalog centralizes permissions, audit logs, and data lineage in one location. This simplifies compliance and security management across multiple workspaces, allowing administrators to apply consistent policies to tables, volumes, and models regardless of which specific Databricks workspace or cloud region an engineer is currently using.

Why this answer

Unity Catalog provides a unified governance layer for data and AI assets across a Databricks account. It simplifies security by providing a single place to define access control policies, and it enables cross-workspace data sharing. Understanding this is essential for engineers responsible for managing multi-workspace environments, as it replaces the older, workspace-specific Hive Metastore with a centralized, cloud-agnostic governance model for better auditability and compliance.

Exam trap

Candidates often think Unity Catalog is only for data access control. They forget it also provides critical features like automated lineage tracking and cross-workspace asset discovery.

18
Multi-Selectmedium

Which TWO of the following are primary benefits of using Delta Live Tables (DLT) for data pipeline development?

Select 2 answers
A.Declarative pipeline development
B.Manual management of cluster nodes
C.Built-in data quality monitoring and enforcement
D.Exclusive support for Python-only pipelines
E.Requires a dedicated standalone database
AnswersA, C

DLT allows users to define data transformations using a declarative approach, specifying what the data should look like rather than how to process it. This simplifies pipeline construction, reduces the amount of boilerplate code required, and allows the platform to optimize the execution plan automatically for better performance.

Why this answer

Delta Live Tables simplifies pipeline development by providing declarative syntax and automated infrastructure management. It handles complex tasks like dependency resolution and data quality enforcement automatically. By reducing the manual effort required to manage pipeline state and quality, DLT enables engineers to focus on business logic, ensuring that data pipelines are more robust, maintainable, and reliable across the enterprise, which is crucial for large-scale data engineering teams.

Exam trap

Examinees frequently assume DLT is just a storage format, missing its primary value proposition around automated declarative pipeline orchestration and built-in quality testing.

19
Multi-Selectmedium

Which THREE of the following are primary components of the Databricks Lakehouse architecture?

Select 3 answers
A.Delta Lake
B.Unity Catalog
C.Apache Spark
D.Direct Hardware Access
E.Proprietary File System Format
AnswersA, B, C

Delta Lake is the open-source storage layer that brings ACID transactions to object storage. It is essential for the Lakehouse architecture because it enables reliable data pipelines, schema enforcement, and time travel, ensuring that data is consistently available for analytics and machine learning tasks regardless of the underlying storage system.

Why this answer

The Databricks Lakehouse architecture combines the best of data warehouses and data lakes by using Delta Lake for reliable storage, Spark for performant compute, and Unity Catalog for centralized governance. These components work together to provide a unified platform that supports diverse workloads, including batch processing, streaming, data science, and business intelligence, ensuring that data is governed, performant, and reliable for all organizational stakeholders.

Exam trap

Examinees often mistake traditional cloud storage services like AWS S3 or Azure Blob Storage as core architectural components instead of Delta Lake, which provides the transactional storage layer.

20
MCQmedium

A data engineer is setting up a Databricks job that runs a notebook on a schedule. The job must process data from a source that is updated daily and write results to a Delta table. The engineer wants to ensure that if the job fails, it automatically retries up to three times. Which feature should the engineer configure in the job settings to achieve this?

A.Enable the 'Retry on failure' option in the notebook itself and set the retry count to 3.
B.In the job's task settings, set the maximum number of retries to 3 and configure the retry interval.
C.Set the maximum concurrent runs to 1 and enable retries with a maximum of 3 retries.
D.Configure the job to use a job cluster with auto-restart enabled and set the number of retries to 3.
AnswerB

Databricks jobs allow configuring retries at the task level. Setting the maximum number of retries to 3 ensures the task will be retried up to three times if it fails. The retry interval can also be set to control the delay between retries. This directly meets the requirement for automatic retries.

Why this answer

Databricks jobs provide a retry configuration at the task level. By setting the maximum number of retries to 3, the task will be automatically retried if it fails, up to three times. This can be configured in the job's task settings, along with a retry interval if needed.

This feature is designed to handle transient failures without manual intervention.

Exam trap

The trap here is confusing cluster auto-restart with job retries. Cluster auto-restart recovers the cluster, not the job, and job retries are configured separately in the job settings.

21
MCQhard

Refer to the exhibit. A Databricks administrator is using the Unity Catalog JSON policy to manage access. If the 'data_scientist_1' user attempts to execute an 'UPDATE' command on the 'orders' table, what will be the result?

A.The command will succeed because the user is part of the 'dev_analytics' schema.
B.The command will fail due to insufficient privileges on the table.
C.The command will succeed because 'SELECT' implies 'UPDATE' in Unity Catalog.
D.The command will succeed if the cluster is running in Single User mode.
AnswerB

The provided JSON policy only grants 'SELECT' and 'DESCRIBE' permissions. Because Unity Catalog follows a default-deny security posture, the user lacks the required 'UPDATE' or 'MODIFY' permission to alter the contents of the table, causing the Databricks engine to throw an authorization error during the request execution.

Why this answer

The policy explicitly grants only 'SELECT' and 'DESCRIBE' permissions. In Unity Catalog, if an action is not explicitly permitted, it is denied by default. Therefore, the update attempt will be rejected.

This is critical for data engineers to understand because Unity Catalog enforces a strict least-privilege security model, ensuring that only authorized users can modify data, which protects the integrity of tables in a shared environment.

Exam trap

Candidates often assume that if a user has access to a table, they have implicit update rights. They forget that Unity Catalog defaults to a strict 'deny' policy for all non-granted actions.

22
MCQeasy

A data engineer is working in a Databricks workspace where Unity Catalog is enabled. They need to run a SQL query that reads from the table sales in the catalog prod and schema marketing. Which fully qualified name should they use?

A.prod.sales.marketing
B.marketing.prod.sales
C.prod.marketing.sales
D.sales.marketing.prod
AnswerC

In Unity Catalog, the three-level namespace is catalog.schema.table. The catalog is prod, the schema is marketing, and the table is sales, so the fully qualified name is prod.marketing.sales. This is the correct format for referencing objects in Unity Catalog and is required when the table is not in the current catalog and schema.

Why this answer

Unity Catalog uses a three-level namespace: catalog.schema.table. For a table named sales in the marketing schema of the prod catalog, the fully qualified name is prod.marketing.sales. This naming convention allows objects to be referenced unambiguously across the workspace and is fundamental to Unity Catalog governance.

Exam trap

The trap here is assuming the namespace order is schema.catalog.table or table.schema.catalog, which is incorrect for Unity Catalog.

23
MCQeasy

Which capability is provided by Databricks' integration with MLflow?

A.Automatic creation of SQL database schemas
B.Experiment tracking and model lifecycle management
C.Low-level kernel manipulation
D.Automatic hardware upgrades for clusters
AnswerB

MLflow is specifically designed for tracking machine learning experiments, logging parameters, and managing the lifecycle of models from development to production. This integration allows users to keep a history of their work, compare performance across different runs, and share models across teams within the Databricks environment.

Why this answer

MLflow is an open-source platform that integrates seamlessly with Databricks to manage the machine learning lifecycle. It provides tools for experiment tracking, model registry, and deployment. This integration is vital for data scientists, as it allows them to log experiments, compare results, and manage model versions, ensuring that machine learning projects are reproducible and ready for production deployment within the collaborative workspace.

Exam trap

Examinees frequently confuse MLflow with infrastructure orchestrators like Workflows, failing to recognize MLflow's specific focus on machine learning experiment tracking and model lifecycles.

24
Multi-Selectmedium

A data engineer is using Databricks Asset Bundles to deploy a data pipeline that includes a job and a notebook. The engineer wants to ensure that the deployment is idempotent and can be rolled back if needed. Which TWO of the following statements accurately describe the benefits of using Databricks Asset Bundles for this scenario? (Choose two.)

Select 2 answers
A.Databricks Asset Bundles allow you to define the entire pipeline as code, enabling version control and reproducible deployments.
B.Databricks Asset Bundles require the use of Unity Catalog for all deployments.
C.Databricks Asset Bundles automatically synchronize data between different environments during deployment.
D.Databricks Asset Bundles automatically create a new cluster for each deployment to ensure isolation.
E.Databricks Asset Bundles support rollback by allowing you to deploy a previous version of the bundle from version control.
AnswersA, E

Databricks Asset Bundles enable infrastructure-as-code by allowing you to define jobs, notebooks, and other resources in YAML files. This facilitates version control, code review, and reproducible deployments across environments. The bundle can be committed to a Git repository, ensuring that the pipeline definition is tracked and can be recreated consistently.

Why this answer

Databricks Asset Bundles treat infrastructure as code, enabling version control and reproducible deployments. They allow you to define jobs, notebooks, and other resources in YAML, which can be committed to Git. This makes deployments idempotent and supports rollback by redeploying a previous version.

The other options describe features not provided by Asset Bundles, such as automatic cluster creation, data synchronization, or mandatory Unity Catalog usage.

Exam trap

The trap here is assuming that Databricks Asset Bundles handle data synchronization or cluster isolation automatically, when they are purely a code deployment and configuration management tool.

25
MCQmedium

A data engineer is designing a pipeline on Databricks to process streaming data. Which architectural component acts as the unified storage layer, allowing both batch and streaming workloads to access the same underlying data files in a data lake?

A.Unity Catalog
B.Delta Lake
C.Databricks SQL
D.Photon Engine
AnswerB

Delta Lake is an open-source storage layer that provides ACID transactions and scalable metadata handling. It enables the Databricks Intelligence Platform to support both streaming and batch operations on the same data files, ensuring that data integrity is maintained even during complex concurrent write and read operations.

Why this answer

The Databricks Intelligence Platform leverages the Lakehouse architecture, which combines the best elements of data lakes and data warehouses. Delta Lake is the critical component that sits on top of object storage, providing ACID transactions, schema enforcement, and time travel. By using Delta Lake, the platform ensures that data consistency is maintained across concurrent streaming and batch processes, which is fundamental for reliable data engineering at scale.

Exam trap

Candidates often confuse execution engines like Apache Spark with storage layers like Delta Lake when identifying components for unified workloads.

26
MCQeasy

Which feature of the Databricks Intelligence Platform allows users to manage fine-grained access control across workspaces for tables, files, and machine learning models?

A.Cluster Policies
B.Workspace Admin Settings
C.Unity Catalog
D.Secret Scopes
AnswerC

Unity Catalog acts as a centralized governance layer, allowing administrators to define security policies once and apply them globally. It supports fine-grained access control at the catalog, schema, table, and file level, which is essential for ensuring security and compliance across modern enterprise data lakehouse architectures.

Why this answer

Unity Catalog is the centralized governance layer within the Databricks Intelligence Platform. It provides a single interface to manage permissions across the entire data estate. This is vital for security and compliance because it eliminates the need for siloed permission management in individual workspaces, ensuring that security policies are consistently applied and auditable across all users, data assets, and compute resources in the platform.

Exam trap

Candidates often confuse workspace-level ACLs with platform-wide data governance tools, choosing legacy permissions instead of modern catalog solutions.

27
MCQhard

Refer to the exhibit. A data engineer encounters this error while trying to list tables in a schema. Based on the error, what must the engineer do to resolve it?

A.Grant 'SELECT' privilege on the table to the user.
B.Grant 'USE CATALOG' privilege on the catalog to the user.
C.Increase the cluster's worker node count.
D.Upgrade the workspace to the Premium tier.
AnswerB

In Unity Catalog, users need the 'USE CATALOG' privilege on the catalog and 'USE SCHEMA' on the schema to navigate the object hierarchy. Without these permissions, the user is effectively blind to the objects contained within those structures, regardless of any table-level permissions they might have been granted previously.

Why this answer

The error indicates that the user lacks the 'USE CATALOG' privilege, which is the foundational permission required to even browse objects within a specific catalog in Unity Catalog. This is a critical concept because Unity Catalog enforces a hierarchical security model where access must be granted from the root down to the table level, ensuring that users cannot bypass organizational security boundaries by guessing table names or paths.

Exam trap

Candidates often try to grant access to the table or schema first. They overlook that Unity Catalog requires 'USE CATALOG' permission at the root level before any sub-objects can be accessed.

28
MCQhard

A data engineer is designing a workflow that requires running a series of tasks with dependencies. The workflow must be able to retry failed tasks automatically and send notifications on failure. The engineer also needs to ensure that the workflow can be triggered on a schedule and via an API. Which Databricks feature should the engineer use?

A.Delta Live Tables pipelines with continuous mode.
B.Databricks SQL dashboards with scheduled refresh.
C.Databricks Jobs with task dependencies and retry policies.
D.Databricks Repos with Git hooks.
AnswerC

Databricks Jobs support multi-task workflows with dependencies, allowing tasks to run in sequence or parallel based on upstream task completion. Jobs can be configured with retry policies for individual tasks and notifications on failure. They can be scheduled and triggered via API, meeting all requirements.

Why this answer

Databricks Jobs are the primary orchestration feature for workflows with dependencies, retries, and notifications. They support multi-task DAGs, task-level retry policies, and alerting on failure. Jobs can be scheduled and triggered via API, making them the correct choice.

The other options lack the necessary orchestration capabilities.

Exam trap

The trap here is confusing Delta Live Tables pipelines with general-purpose workflow orchestration; DLT is optimized for data pipelines but does not offer the same task-level control and API triggering as Jobs.

29
MCQmedium

A data engineer needs to configure a Databricks Job to orchestrate a data pipeline that includes a Python task, a SQL task, and a notebook task. The pipeline requires passing a dynamic run identifier from the Python task to the subsequent SQL and notebook tasks. Which mechanism should the data engineer use to achieve this task-to-task dependency parameter passing?

A.Write the dynamic identifier to a shared Unity Catalog volume and read it inside the downstream tasks.
B.Use the dbutils.jobs.taskValues.set method in the Python task and reference it downstream using the task value syntax.
C.Store the identifier as an environment variable in the cluster configuration shared by all three tasks.
D.Modify the global job parameters dynamically via the Databricks REST API from within the running Python script.
AnswerB

The dbutils.jobs.taskValues API allows tasks within a Databricks workflow to securely pass small payloads like run identifiers to downstream tasks. Downstream tasks retrieve these values via task value interpolation, enabling seamless dynamic parameter passing and robust pipeline orchestration.

Why this answer

Databricks workflows natively support passing values between tasks using task values. A Python task can set a task value using dbutils.jobs.taskValues.set, which downstream tasks can then reference using standard task value interpolation syntax. This eliminates external storage dependencies, ensuring robust, serverless orchestration directly managed by the Databricks control plane.

Exam trap

Candidates often suggest writing task variables to external storage or global variables, forgetting Databricks provides a native task values API for inter-task communication.

30
MCQeasy

A data engineer working in a Databricks workspace needs to create a new notebook that will be shared with teammates in the same workspace. They want the notebook to be organized in a folder named 'team_project' and be visible to all workspace users. Which action should the data engineer take to accomplish this in the Databricks workspace?

A.Create the notebook in the Workspace folder, then use the Databricks CLI to set the notebook's permission to 'Can Manage' for the 'users' group.
B.Create the notebook in the Workspace folder under their user directory, then move it to a shared folder and grant 'Can Edit' permission to all workspace users.
C.Navigate to the Workspace folder, create a new folder named 'team_project', then create the notebook inside it and set its permissions to 'Can View' for all workspace users.
D.Use the Databricks Repos feature to create a new repository, add a notebook, and set the repository permissions to 'Can Read' for all workspace users.
AnswerC

The Workspace folder is the default location for shared content in Databricks. Creating a folder there and then a notebook inside it allows organization. Setting permissions to 'Can View' for all workspace users makes it visible to everyone, satisfying the requirement. This is the straightforward, native approach without extra tools.

Why this answer

In Databricks, the Workspace folder is the shared area where notebooks and folders can be organized and accessed by workspace users. Creating a folder named 'team_project' there and placing the notebook inside, then setting permissions to 'Can View' for all workspace users, directly meets the requirement. This method uses native workspace features without introducing unnecessary complexity.

Exam trap

The trap here is assuming that Databricks Repos is the default way to share notebooks, when in fact the Workspace folder with proper permissions is the simpler and more direct method for basic sharing.

31
Multi-Selecthard

A team is transitioning to the Databricks Intelligence Platform. Which TWO actions are required to successfully register a table in Unity Catalog using the three-level namespace?

Select 2 answers
A.Grant the 'USE CATALOG' privilege on the target catalog.
B.Configure a local Hive Metastore on the cluster.
C.Define the table using the catalog.schema.table naming convention.
D.Manually update the cluster's Spark configuration to point to the metastore URL.
E.Set the default database to 'default' before executing the CREATE statement.
AnswersA, C

The 'USE CATALOG' privilege is a prerequisite for interacting with any assets contained within that catalog. Without this permission, a user cannot traverse the catalog to locate or create the schema and tables inside, effectively preventing any table registration attempts within that specific catalog scope.

Why this answer

The three-level namespace (catalog.schema.table) is a fundamental feature of Unity Catalog. To register a table, an engineer must have sufficient privileges in the specific catalog and schema, and the table must be created using the correct fully qualified path. Understanding this structure is crucial because it enables unified data discovery and governance across different environments, preventing namespace collisions and allowing for standardized cross-database operations in the platform.

Exam trap

Candidates often forget that explicit catalog-level privileges must be granted before referencing objects within a three-level namespace structure.

32
MCQmedium

A data engineer needs to share a Delta table with an external partner who does not have a Databricks account. The engineer wants to provide read-only access to the table for a limited time, ensuring the partner cannot access any other data. Which Databricks feature should the engineer use?

A.Unity Catalog delta sharing with a recipient and expiration.
B.Generate a personal access token (PAT) for the partner to query the table via JDBC.
C.Export the table to a CSV file and share it via a secure file transfer.
D.Create a Databricks SQL endpoint and provide the partner with a SQL query URL.
AnswerA

Delta Sharing in Unity Catalog allows secure data sharing with external recipients, even those without Databricks accounts. The engineer can create a share, add the table, and grant access to a recipient. The recipient can be configured with an expiration date, and access is limited to the shared data only, meeting the requirements.

Why this answer

Delta Sharing is Databricks' open protocol for secure data sharing with external parties, including those without Databricks accounts. With Unity Catalog, you can create a share containing specific tables and grant access to a recipient. The recipient can be given an expiration date, and they can access the data using any Delta Sharing client.

This provides granular, read-only access limited to the shared data.

Exam trap

The trap here is assuming that a personal access token or SQL endpoint can be securely shared with an external partner without granting broader access; Delta Sharing is purpose-built for this use case with fine-grained controls.

33
MCQeasy

A data engineer needs to run a Databricks notebook that processes data stored in an external ADLS Gen2 location. The notebook must access the data securely without embedding credentials in the notebook code. The engineer has already configured a Unity Catalog external location with a storage credential. Which method should the engineer use to read the data?

A.Reference the external location path directly in the notebook using the Unity Catalog external location URL.
B.Use a personal access token (PAT) stored in Databricks secrets to authenticate to ADLS Gen2.
C.Set Spark configuration spark.hadoop.fs.azure.account.oauth2.client.id and related properties in the notebook to authenticate.
D.Mount the ADLS Gen2 container to DBFS using a service principal and then read the data from the mount point.
AnswerA

Unity Catalog external locations allow direct access to cloud storage using the storage credential configured for the location. The engineer can reference the path (e.g., abfss://container@storage.dfs.core.windows.net/path) in Spark read operations, and Unity Catalog will handle authentication and authorization, ensuring secure access without embedding credentials.

Why this answer

Unity Catalog external locations are designed to provide secure access to cloud storage using storage credentials managed by Unity Catalog. Once an external location is configured, data engineers can reference the path directly in their notebooks, and Unity Catalog handles authentication and authorization. This approach avoids embedding credentials in code, aligns with security best practices, and ensures that access is governed by Unity Catalog permissions.

Exam trap

The trap here is assuming that mounting to DBFS or manually configuring OAuth properties is necessary, when Unity Catalog external locations already provide a seamless and secure way to access data without additional credential management.

34
Multi-Selectmedium

Which TWO of the following capabilities are native to the Databricks Unity Catalog?

Select 2 answers
A.Row and column-level security
B.Auto-scaling of compute clusters
C.Centralized audit logging of data access
D.Automated ML model hyperparameter tuning
E.Direct hardware driver installation
AnswersA, C

Unity Catalog supports fine-grained access controls, allowing administrators to filter rows and redact columns based on user identity or group membership. This capability is essential for compliance requirements, ensuring that sensitive data is only visible to authorized users while maintaining a single, consistent security policy across all Databricks workspaces.

Why this answer

Unity Catalog centralizes governance by providing a unified interface for managing permissions across workspaces. It enables fine-grained access control down to the row and column level and provides a centralized audit log. These capabilities are vital for organizations needing to manage data security at scale, ensuring that data engineers and scientists have consistent access control policies across the entire Lakehouse regardless of the specific compute resource or workspace utilized.

Exam trap

Test-takers frequently select obsolete workspace-level access control mechanisms or features from external cloud providers, forgetting that Unity Catalog natively provides centralized governance across multiple workspaces.

35
Multi-Selecthard

A data engineer is designing a Delta Lake table that will be used for both batch and streaming reads. The table must support upserts from a streaming source and maintain ACID transactions. The engineer wants to ensure that the table can be efficiently queried by downstream consumers using SQL while minimizing storage costs. Which TWO actions should the engineer take to meet these requirements? (Choose two.)

Select 2 answers
A.Use the MERGE INTO command to perform upserts from the streaming source into the Delta table.
B.Enable change data feed on the Delta table to allow downstream consumers to read change events.
C.Partition the Delta table by a high-cardinality column to improve query performance.
D.Run OPTIMIZE with Z-ORDER on the Delta table regularly to compact small files and improve data skipping.
E.Convert the Delta table to a Parquet table to reduce storage costs.
AnswersA, D

MERGE INTO is the correct SQL command to perform upserts (inserts, updates, deletes) in a single atomic operation on a Delta table. It supports ACID transactions and is efficient for streaming upserts when used with foreachBatch. This meets the requirement for upserts from a streaming source while maintaining ACID guarantees.

Why this answer

To support streaming upserts with ACID transactions and efficient SQL queries while minimizing storage costs, the engineer should use MERGE INTO for upserts and regularly run OPTIMIZE with Z-ORDER. MERGE INTO ensures atomic upserts, and OPTIMIZE with Z-ORDER compacts files and improves data skipping, reducing storage and query costs. Other options either add overhead, degrade performance, or remove essential Delta Lake features.

Exam trap

The trap here is assuming that partitioning by a high-cardinality column always improves performance, when it often leads to small file problems and higher costs.

36
MCQmedium

A data engineer needs to automate the ingestion and transformation of data within Databricks with minimal manual intervention. Which feature is most appropriate for orchestrating these data workflows?

A.Delta Live Tables (DLT)
B.Databricks Workflows
C.Unity Catalog UI
D.Databricks SQL Warehouse
AnswerB

Databricks Workflows is the native orchestration tool for the platform. It enables the creation of DAGs (directed acyclic graphs) to manage dependencies between various jobs, such as notebooks or SQL tasks. It provides robust monitoring, alerting, and retry capabilities, making it the standard choice for automating complex data engineering pipelines.

Why this answer

Databricks Workflows is a fully managed orchestration service that allows users to create, schedule, and monitor data pipelines. It is essential because it integrates seamlessly with the platform, allowing engineers to chain together notebooks, SQL queries, and Delta Live Tables pipelines into complex, multi-step workflows. This automation reduces manual toil and improves the reliability of data production environments in the Lakehouse.

Exam trap

Candidates often confuse Databricks Workflows with 'Jobs' or 'Delta Live Tables' exclusively. They fail to realize Workflows is the overarching orchestration tool that ties all these tasks together.

37
MCQeasy

A data engineer needs to create a Delta table in Unity Catalog that will be used by multiple teams. The engineer wants to ensure that the table is governed by Unity Catalog and that access can be controlled using SQL GRANT statements. What is the correct way to create the table?

A.CREATE TABLE my_catalog.my_schema.my_table (id INT, name STRING) USING DELTA;
B.CREATE EXTERNAL TABLE my_catalog.my_schema.my_table (id INT, name STRING) USING DELTA LOCATION '/mnt/data/my_table';
C.CREATE TABLE my_catalog.my_schema.my_table AS SELECT * FROM parquet.`/mnt/data/my_table`;
D.CREATE TABLE my_table (id INT, name STRING) USING DELTA LOCATION '/mnt/data/my_table';
AnswerA

This statement creates a managed Delta table in Unity Catalog under the specified catalog and schema. The table is fully managed by Unity Catalog, and access can be controlled via SQL GRANT statements. This is the correct syntax for creating a Unity Catalog managed table.

Why this answer

To create a managed Delta table in Unity Catalog, use the CREATE TABLE statement with a three-part name (catalog.schema.table) and specify USING DELTA. This ensures the table is governed by Unity Catalog and can be secured with GRANT statements.

Exam trap

The trap here is using a two-part table name or specifying a raw path without registering an external location, which would result in a Hive metastore table or an error, not a Unity Catalog managed table.

38
MCQmedium

Refer to the exhibit. A data engineer is deploying an automated job. Based on the provided configuration, what is the primary benefit of using the 'autoscale' attribute in this cluster definition?

A.It forces the cluster to always use 8 nodes to ensure maximum performance.
B.It enables the cluster to adjust resources dynamically based on current job load.
C.It ensures that the cluster uses specific instance types defined in the policy.
D.It mandates the use of Spot Instances to reduce total cost of ownership.
AnswerB

Autoscaling provides the flexibility to increase or decrease worker node counts based on the volume of data being processed. This capability is essential for balancing job execution speed and resource costs, as it allows the platform to react automatically to the varying demands of Spark tasks.

Why this answer

The 'autoscale' configuration allows the Databricks Intelligence Platform to dynamically adjust the number of worker nodes based on the workload demands. By setting a minimum and maximum range, the cluster automatically adds nodes during intensive processing and removes them during idle periods. This is critical for optimizing costs and performance, ensuring that compute resources are consumed only when necessary without requiring manual intervention by the engineer.

Exam trap

Candidates often mistake autoscaling for spot instance management or automated software patching rather than dynamic resource allocation based on load.

39
MCQmedium

When a data engineer needs to automate a recurring ETL job, which Databricks tool is most appropriate for orchestrating tasks and handling dependencies?

A.Databricks Notebooks
B.Databricks Workflows
C.Delta Live Tables
D.MLflow Models
AnswerB

Databricks Workflows provides a fully managed orchestration service that allows users to define, schedule, and monitor multi-task pipelines. It supports sophisticated dependency graphs, job status notifications, and automated retries, which are essential for building resilient ETL processes that must run reliably in a production data environment.

Why this answer

Databricks Workflows allows engineers to create, run, and monitor multi-task jobs. It supports dependencies, retries, and notifications, making it the standard choice for orchestrating complex data pipelines. By using Workflows, engineers can ensure that data transformation tasks occur in the correct sequence, with robust error handling and monitoring, which is critical for maintaining reliable production data pipelines in the Databricks Intelligence Platform.

Exam trap

Candidates often choose Apache Airflow or Delta Live Tables for general workflow scheduling, overlooking Databricks Workflows as the native orchestration tool for managing multi-task jobs.

40
MCQeasy

A data engineer needs to run a Databricks notebook on a schedule every day at 8:00 AM UTC. The notebook performs data transformations and writes results to a Delta table. The engineer wants to ensure the job runs reliably and can be monitored. Which Databricks feature should the engineer use to schedule and monitor the notebook?

A.Databricks Jobs with a cron schedule.
B.Databricks Delta Live Tables with a continuous pipeline.
C.Databricks Repos with a CI/CD pipeline.
D.Databricks SQL Alerts.
AnswerA

Databricks Jobs allows you to schedule notebooks, JARs, or Python scripts with a cron expression. It provides monitoring, alerting, and retry capabilities. This is the native and recommended way to schedule and monitor recurring tasks in Databricks, making it the correct choice for this scenario.

Why this answer

Databricks Jobs is the correct feature for scheduling and monitoring notebooks. It supports cron-based schedules, provides a UI for monitoring runs, and can send alerts on failure. Other options like SQL Alerts, Repos, or Delta Live Tables serve different purposes and do not provide the required scheduling and monitoring for a notebook.

Therefore, Databricks Jobs is the appropriate choice.

Exam trap

The trap here is confusing Delta Live Tables with Databricks Jobs; Delta Live Tables is for pipelines, not for scheduling arbitrary notebooks.

41
MCQeasy

Which Databricks compute resource is specifically optimized for running BI dashboards and SQL queries?

A.All-Purpose Cluster
B.Job Cluster
C.SQL Warehouse
D.Delta Live Tables Pipeline
AnswerC

SQL Warehouses are specifically optimized for SQL analytics. They provide features like intelligent query caching, rapid cluster startup, and auto-scaling to handle high concurrency. This makes them the primary compute choice for BI tools, SQL editors, and dashboards where low latency and high reliability are essential for end-user interaction.

Why this answer

Databricks SQL Warehouses are compute environments designed to deliver high-performance SQL execution, making them ideal for BI tools and dashboarding. Understanding the difference between SQL Warehouses and traditional data engineering clusters is important, as it helps engineers choose the right compute resource to match the workload, ensuring better query performance and cost efficiency for end-users who need to interact with data via SQL.

Exam trap

Candidates often confuse standard all-purpose clusters with SQL Warehouses, assuming general compute handles BI traffic equally well, ignoring the specialized query optimization and serverless scaling built specifically for dashboards.

Ready to test yourself?

Try a timed practice session using only Databricks Intelligence Platform questions.