2 packs: 15% off with code BUY2. 3 or more: 20% off with code BUY3.

Free Microsoft DP-750 Practice Questions

27 free Microsoft DP-750 practice questions from the CertStash pack of 108, each with the correct answer and a full explanation. The rule is the same for every exam: ten free on the product page, 27 free here, all 108 in the pack, and each step includes the one before it.

Question 1

Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals. More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem. After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen.You have an Azure Databricks workspace named Workspace1 that contains a lakehouse and is enabled for Unity Catalog.You have a connection to a Microsoft SQL Server database named DB1.You need to expose the schemas and tables of DB1 to meet the following requirements:The schemas and tables can be queried in Databricks.The schemas and tables appear alongside other Unity Catalog objects. The data is NOT copied into Databricks-managed storage. Solution: You create a foreign catalog in Catalog Explorer.Does this meet the goal?

  1. Yes
  2. No
Show answer and explanation

Correct answer: A. Yes

A foreign catalog in Azure Databricks Unity Catalog is specifically designed to expose external database schemas and tables (such as those in Microsoft SQL Server) within the Unity Catalog framework. When you create a foreign catalog connected to DB1, the schemas and tables become queryable in Databricks, appear alongside other Unity Catalog objects in Catalog Explorer, and the data remains in the source SQL Server database without being copied into Databricks-managed storage. This solution directly addresses all three requirements.

Why the other options are wrong

  • B. Foreign catalogs are the correct mechanism for exposing external database schemas and tables in Unity Catalog without data duplication.

Question 2

You have an Azure Databricks workspace. You are creating a Lakeflow Spark Declarative Pipelines (SDP) pipeline that scales automatically. You need to configure compute for the pipeline. The solution must minimize operational costs and effort. What should you use?

  1. the existing SQL warehouse
  2. an all-purpose cluster that uses autoscaling
  3. a job cluster that uses autoscaling
  4. a single-node, all-purpose cluster
Show answer and explanation

Correct answer: C. a job cluster that uses autoscaling

Job clusters with autoscaling are purpose-built for running Spark Declarative Pipelines. They automatically scale to handle variable workloads, minimizing costs by terminating after job completion and only running when needed. Unlike all-purpose clusters that remain running and incur continuous charges, job clusters are created for specific jobs and destroyed afterward, providing both cost efficiency and operational simplicity for scheduled pipeline execution.

Why the other options are wrong

  • A. SQL warehouses are designed for SQL queries on Delta tables, not for Spark transformation pipelines.
  • B. All-purpose clusters with autoscaling remain running between jobs, incurring unnecessary costs and requiring manual management.
  • D. Single-node clusters cannot handle the scaling requirements of production pipelines and lack distributed processing capabilities.

Question 3

You have an Azure Databricks workspace that is attached to a Unity Catalog metastore named metastore1, metastore1 contains a catalog named catalog1.You need to create a new schema named schema2 that meets the following requirements:Is contained in catalog1 -Uses abfss://[email protected]/data as the managed locationWhich SQL statement should you execute?

  1. CREATE SCHEMA catalog1.schema2 -LOCATION ‘abfss://[email protected]/data’;
  2. CREATE SCHEMA catalog1.schema2 -MANAGED LOCATION ‘abfss://[email protected]/data’;
  3. CREATE CATALOG schema2 -MANAGED LOCATION ‘abfss://[email protected]/data’;
  4. CREATE SCHEMA catalog1.schema2 -WITH DBPROPERTIES (LOCATION-’abfss://[email protected]/data’);
Show answer and explanation

Correct answer: B. CREATE SCHEMA catalog1.schema2 -MANAGED LOCATION ‘abfss://[email protected]/data’;

The correct syntax for creating a schema in Unity Catalog with a managed location uses the MANAGED LOCATION clause. The statement CREATE SCHEMA catalog1.schema2 MANAGED LOCATION 'abfss://[email protected]/data' properly specifies that schema2 belongs to catalog1 and designates the Azure Data Lake Storage Gen2 path as the managed location for tables created in this schema.

Why the other options are wrong

  • A. The LOCATION clause without MANAGED keyword is deprecated syntax and does not properly designate the managed location in Unity Catalog.
  • C. CREATE CATALOG creates a new catalog, not a schema within an existing catalog.
  • D. DBPROPERTIES syntax does not support location configuration; the MANAGED LOCATION clause is the correct approach.

Question 4

You have an Azure Databricks workspace named Workspace1.You create a compute cluster named Cluster1 that will be used to ingest data. You need to install the required libraries on Cluster1. The solution must use Unity Catalog for access control. What should you do?

  1. Install the libraries by using pip3.
  2. Create a custom dependency management script and run the script from a Databricks notebook.
  3. Upload the libraries to Workspace1 and install the libraries on Cluster1.
  4. Install the libraries on Cluster1 and manually restart the cluster.
Show answer and explanation

Correct answer: C. Upload the libraries to Workspace1 and install the libraries on Cluster1.

Uploading libraries to Workspace1 storage and then installing them on Cluster1 provides centralized management and integrates with Unity Catalog access control. This approach allows administrators to manage library versions, control access through Unity Catalog permissions, and maintain audit trails of library usage across the workspace, ensuring consistent governance and compliance.

Why the other options are wrong

  • A. Using pip3 installs libraries directly from PyPI without Unity Catalog governance or centralized version control.
  • B. Custom dependency scripts bypass Unity Catalog's access control and governance mechanisms.
  • D. Manually installing and restarting the cluster is operationally inefficient and does not leverage Unity Catalog's access control features.

Question 5

You have an Azure Databricks workspace that contains an all-purpose cluster named Cluster1.You need to configure Cluster1 to meet the following requirements:Scale up automatically when workloads increaseScale down automatically when workloads decreaseMinimize costs Which two actions should you perform? Each correct answer presents part of the solution.NOTE: Each correct selection is worth one point.

  1. Disable Photon acceleration.
  2. Enable autoscaling for Cluster1.
  3. Apply a compute policy that enables users to manage the cluster settings.
  4. Specify a fixed number of workers.
  5. Configure Cluster1 to terminate after 30 minutes of inactivity.
Show answer and explanation

Correct answer: B, E. Enable autoscaling for Cluster1; Configure Cluster1 to terminate after 30 minutes of inactivity.

Enabling autoscaling on Cluster1 (option B) allows it to scale up during increased workloads and scale down during periods of low utilization. Configuring autotermination after 30 minutes of inactivity (option E) ensures the cluster terminates when not in use, eliminating costs during idle periods. Together, these settings provide automatic scaling to meet demand while minimizing costs by shutting down unnecessary resources.

Why the other options are wrong

  • A. Disabling Photon acceleration reduces performance optimization and does not address scaling or cost requirements.
  • C. Compute policies manage user permissions but do not affect cluster scaling behavior or cost.
  • D. Specifying a fixed number of workers prevents autoscaling, directly contradicting the scaling requirement.

Question 6

You have an Azure Databricks workspace that is enabled for Unity Catalog.You have an Apache Spark Structured Streaming job that writes data to a Delta table. After the cluster restarts, the streaming job reprocesses previously ingested data. You need to prevent the streaming job from reprocessing the data after the cluster restarts. What should you do?

  1. Configure a checkpoint location for the streaming query.
  2. Increase the trigger interval of the streaming query.
  3. Enable change data feed (CDF) for the target table.
  4. Configure a watermark for the streaming query.
Show answer and explanation

Correct answer: A. Configure a checkpoint location for the streaming query.

Configuring a checkpoint location for the streaming query enables exactly-once semantics and idempotent processing. The checkpoint stores the current progress of the streaming job, allowing it to resume from the last processed offset after a cluster restart. Without a checkpoint, the streaming job cannot track its progress and must reprocess from the beginning of the data.

Why the other options are wrong

  • B. Increasing trigger interval affects processing frequency but does not prevent reprocessing after restart.
  • C. Change data feed captures data modifications but does not prevent reprocessing or track streaming progress.
  • D. Watermarks manage late-arriving data in windowed operations but do not prevent reprocessing after cluster restarts.

Question 7

You have an Azure Databricks workspace that contains a cluster named Cluster1.Performance monitoring shows that Cluster1 is consistently overprovisioned for its batch workload:CPU utilization remains below 20 percent, including peak processing periods. The workload is highly predictable and does not spike. The current node type already meets the workload requirements. You need to reduce compute costs without increasing job duration. What should you do?

  1. Enable Photon acceleration.
  2. Configure Cluster1 to use a larger node type.
  3. Decrease the autotermination timeout of Cluster1.
  4. Disable autoscaling and reduce the number of worker nodes.
Show answer and explanation

Correct answer: D. Disable autoscaling and reduce the number of worker nodes.

Since the workload is predictable, does not spike, and CPU utilization is consistently low at 20 percent, the cluster is overprovisioned. Disabling autoscaling and reducing the number of worker nodes ensures the cluster uses only the compute capacity needed for this batch workload. The current node type already meets requirements, so this adjustment directly reduces costs without impacting job duration.

Why the other options are wrong

  • A. Photon acceleration improves query performance but does not reduce the number of nodes or lower costs when CPU is underutilized.
  • B. Increasing to a larger node type increases both cost and resource utilization, contrary to the cost reduction goal.
  • C. Autotermination timeout affects when an idle cluster shuts down but does not address the overprovisioning during active workloads.

Question 8

You have an Azure Databricks workspace. You are creating a Lakeflow Spark Declarative Pipelines (SDP) pipeline that scales automatically. You need to configure compute for the pipeline. The solution must minimize operational costs and administrative effort. What should you use?

  1. serverless compute
  2. a single-node, all-purpose cluster
  3. an all-purpose cluster that uses autoscaling
  4. an existing SQL warehouse
  5. a job cluster that uses autoscaling
Show answer and explanation

Correct answer: A. serverless compute

Serverless compute is purpose-built for Spark Declarative Pipelines and provides automatic scaling with minimal operational overhead. Unlike job clusters that require manual management and configuration, serverless compute automatically handles resource allocation, scaling, and termination. This approach minimizes both administrative effort and operational costs while delivering the autoscaling capability required for variable workloads.

Why the other options are wrong

  • B. Single-node clusters cannot scale and lack distributed processing for production pipelines.
  • C. All-purpose clusters with autoscaling require manual configuration and management, increasing operational effort.
  • D. SQL warehouses are designed for SQL analytics, not Spark transformation pipelines.
  • E. Job clusters require explicit configuration and management, whereas serverless compute handles this automatically.

Question 9

You have an Azure Databricks solution that was developed by multiple engineers and deployed to development, test, and production environments. You need to implement an application lifecycle management (ALM) process that meets the following requirements:Deploys and provides source control for Databricks notebooks, workflows, and jobs in a consistent and repeatable wayParameterizes the target deployment environmentWhat should you include in the solution?

  1. the export and import of Databricks workspaces
  2. Databricks resources managed by using the Databricks Terraform provider
  3. Git folders and manual promotion
  4. Declarative Automation Bundles in Git
Show answer and explanation

Correct answer: D. Declarative Automation Bundles in Git

Declarative Automation Bundles (DAB) in Git provide a comprehensive ALM solution that meets all stated requirements. DAB supports source control for notebooks, workflows, and jobs through Git integration, enables parameterization via configuration files for different environments (dev, test, prod), and ensures consistent and repeatable deployments through infrastructure-as-code principles. This is the modern recommended approach by Databricks for production ALM workflows.

Why the other options are wrong

  • A. Export/import of workspaces is manual, not repeatable, and lacks source control integration for proper version management.
  • B. While Terraform can manage Databricks resources, it is not the primary tool for managing notebooks and workflows; DAB is purpose-built for this.
  • C. Git folders with manual promotion is inconsistent and error-prone, lacking the automation and parametrization required for production deployments.

Question 10

You manage Declarative Automation Bundles by using the Databricks CLI.You run the following command in a terminal window.databricks bundle initWhat occurs when you run the command?

  1. The bundle configuration is validated.
  2. A new Declarative Automation Bundles project structure is created.
  3. Bundle-defined resources are deployed to the Databricks workspace.
  4. Jobs or pipelines defined in the bundle are run.
Show answer and explanation

Correct answer: B. A new Declarative Automation Bundles project structure is created.

The `databricks bundle init` command initializes a new Declarative Automation Bundles project structure by creating the necessary directory layout, configuration files, and template files required to define Databricks resources. This is the first step in setting up a bundle project before any validation or deployment occurs.

Why the other options are wrong

  • A. Bundle validation is performed by `databricks bundle validate`, not `bundle init`.
  • C. Deployment occurs with `databricks bundle deploy`, not `bundle init`.
  • D. Running jobs or pipelines is done with `databricks bundle run`, not `bundle init`.

What people say about the full DP-750 pack 4.7 from 3

I was impressed with the quick support. Whenever I had a question, the team replied fast and gave me clear guidance.
Shelby TerronDP-750
The high coverage helped me feel more prepared and reduced my stress before the DP-750 exam.
Phillip EbersoldDP-750

Question 11

You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a catalog named Catalog1. Catalog1 contains a table named Transactions. Transactions contains the following columns: transaction_id customer_name email_address credit_card_number transaction_amountYou need to ensure that business analysts can query all the rows in the Transactions table. The solution must meet the following requirements:Prevent the analysts from seeing the full values in the email_address and credit_card_number columns. Ensure that the analysts can see only the values after the @ character in each email address. Ensure that the analysts can see only the last four digits of each credit card number. Enable the analysts to query the table without errors. Follow the principle of least privilege. What should you do?

  1. Grant the analysts the SELECT permission for the Transactions table and apply column-level encryption.
  2. Grant the analysts the SELECT permission for columns that do NOT contain sensitive data.
  3. Grant the analysts the SELECT permission for the Transactions table and implement row-level filters.
  4. Grant the analysts the SELECT permission for the Transactions table and apply column masks to email_address and credit_card_number.
Show answer and explanation

Correct answer: D. Grant the analysts the SELECT permission for the Transactions table and apply column masks to email_address and credit_card_number.

Column masks applied to sensitive columns (email_address and credit_card_number) allow business analysts to query the entire Transactions table while automatically redacting sensitive data according to the specified rules (showing only domain portion of email and last four digits of credit card). This approach meets all requirements: analysts see non-sensitive columns fully, sensitive columns are masked per specification, queries execute without errors, and the principle of least privilege is maintained by limiting what analysts see without revoking table access.

Why the other options are wrong

  • A. Column-level encryption prevents querying altogether and would cause errors rather than displaying masked values.
  • B. Granting SELECT only on non-sensitive columns prevents analysts from querying the full table as required.
  • C. Row-level filters restrict which rows are visible, not which columns or which parts of column values are masked.

Question 12

You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Table1. Table1 stores customer data. You need to implement a data retention solution that meets the following requirements:Deleted data must be retained for 30 days to support audits. Deleted data that is older than 30 days must be removed permanently. The solution must minimize administrative effortWhich two properties should you configure? Each correct answer presents part of the solution.NOTE: Each correct selection is worth one point.

  1. delta.timeUntilArchived
  2. delta.enableDeletionVectors
  3. delta.logRetentionDuration
  4. delta.deletedFileRetentionDuration
  5. delta.autoOptimize.autoCompact
Show answer and explanation

Correct answer: C, D. delta.logRetentionDuration; delta.deletedFileRetentionDuration

Retaining deleted data for 30 days means old data files and the transaction log that references them must both be kept for 30 days. delta.deletedFileRetentionDuration keeps removed data files for 30 days before VACUUM can delete them, and delta.logRetentionDuration keeps the log history for the same period so that time travel to that data works. On Unity Catalog managed tables, predictive optimization runs VACUUM automatically, so data older than 30 days is removed permanently with minimal effort.

Why the other options are wrong

  • A. delta.timeUntilArchived relates to archival storage support and does not control how long deleted data is retained.
  • B. delta.enableDeletionVectors changes how deletes are recorded to avoid rewriting files, but it does not set a retention period.
  • E. delta.autoOptimize.autoCompact compacts small files and has no effect on how long deleted data is kept.

Question 13

You have an Azure Databricks workspace that is enabled for Unity Catalog.You need to share curated data with an external organization. The solution must meet the following requirements:• The organization will use its own compute platform to query the data.• Access to the data must be centrally governed by using Unity Catalog.• Administrative effort must be minimized. What should you do?

  1. Create a SQL warehouse for external users.
  2. Grant workspace access to external users.
  3. Create a pipeline to move the data to an SFTP server.
  4. Use Delta Sharing.
  5. Create a Lakeflow Connect pipeline.
Show answer and explanation

Correct answer: D. Use Delta Sharing.

Delta Sharing enables sharing curated data with external organizations using their own compute platforms while maintaining central governance through Unity Catalog. It allows recipients to query shared data without needing Databricks compute, requires no administrative overhead for managing external user accounts in Databricks, and provides secure, fine-grained access control. Delta Sharing is the purpose-built solution for cross-organization data sharing with minimal administrative effort.

Why the other options are wrong

  • A. Creating a SQL warehouse requires the external organization to use Databricks compute and involves managing external user access, increasing administrative overhead.
  • B. Granting workspace access to external users requires managing external identities and compute provisioning, not suitable for organizations using their own platforms.
  • C. Moving data to SFTP loses centralized governance capabilities and is not integrated with Unity Catalog.
  • E. Lakeflow Connect is for building data pipelines within Databricks, not for sharing data with external organizations.

Question 14

Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals. More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem. After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen.You have an Azure Databricks workspace named Workspace1 that contains a lakehouse and is enabled for Unity Catalog.You have a connection to a Microsoft SQL Server database named DB1.You need to expose the schemas and tables of DB1 to meet the following requirements:The schemas and tables can be queried in Databricks.The schemas and tables appear alongside other Unity Catalog objects. The data is NOT copied into Databricks-managed storage. Solution: You create a Lakeflow Connect pipeline and connect it to DB1.Does this meet the goal?

  1. Yes
  2. No
Show answer and explanation

Correct answer: B. No

Lakeflow Connect is a data integration tool designed for moving and replicating data between systems, not for exposing remote schemas directly as Unity Catalog objects. It would copy or move data rather than creating a live foreign connection. To expose DB1 schemas and tables directly in Unity Catalog without copying data, a foreign catalog connection is required.

Question 15

You have an Azure Databricks workspace that uses serverless compute. You need to ingest data by using Lakeflow Jobs. New records must be processed as soon as they become available. Which type of job trigger should you use for the ingestion?

  1. manual
  2. file arrival
  3. scheduled
  4. continuous
Show answer and explanation

Correct answer: D. continuous

A continuous trigger is the appropriate choice for processing new records as soon as they become available. Continuous triggers ensure that Lakeflow Jobs run perpetually and process incoming data with minimal latency, providing near real-time ingestion. This is ideal for streaming data scenarios where records must be processed immediately upon arrival rather than waiting for scheduled intervals or manual invocation.

Why the other options are wrong

  • A. Manual triggers require user intervention and cannot process records automatically as they arrive.
  • B. File arrival triggers are designed for batch file ingestion and may introduce delays compared to continuous processing.
  • C. Scheduled triggers process data on fixed time intervals and cannot react to new records arriving between scheduled runs.

Question 16

You have an Azure Databricks workspace named Workspace1 that contains a cluster named Cluster1.You need to enable a user named User1 to install a Maven package on all the nodes of Cluster1. The solution must follow the principle of least privilege. What should you do?

  1. Assign User1 the Contributor role for the resource group that contains Workspace1.
  2. Grant User1 the CAN RESTART permission for Cluster1.
  3. Grant User1 the CAN MANAGE permission for Cluster1.
  4. Assign User1 the workspace admins role for Workspace1.
Show answer and explanation

Correct answer: C. Grant User1 the CAN MANAGE permission for Cluster1.

The CAN MANAGE permission for Cluster1 grants User1 the ability to install packages and manage cluster libraries, which is the specific capability needed to install Maven packages on all cluster nodes. This permission follows the principle of least privilege by granting only the minimal access required for the task without providing broader administrative capabilities or resource-group-level permissions.

Why the other options are wrong

  • A. Assigning the Contributor role at the resource group level provides far too much access beyond installing packages and violates least privilege.
  • B. CAN RESTART permission only allows restarting the cluster and does not include library or package management capabilities.
  • D. Assigning the workspace admins role provides excessive permissions beyond what is needed for installing packages on a single cluster.

Question 17

Your company has sales, finance, and HR departments. You have an Azure Databricks workspace that is enabled for Unity Catalog.You need to implement Unity Catalog to meet the following requirements:Access to Unity Catalog for each department must be managed independently from that of the other departments. The data assets of each department must be isolated logically from those of the other departments. The solution must support centralized governance. What should you do for each department?

  1. Create a separate Azure Data Lake Storage Gen2 account.
  2. Create dynamic views.
  3. Create a new workspace.
  4. Create a new catalog.
Show answer and explanation

Correct answer: D. Create a new catalog.

Creating a new catalog for each department meets all requirements. Catalogs provide logical isolation of data assets, independent access control management, and centralized governance through Unity Catalog. Each department's catalog can have separate permissions and schemas while maintaining a unified governance model across the workspace. This approach is more efficient than creating separate workspaces or storage accounts and provides better organization than using dynamic views.

Why the other options are wrong

  • A. Creating separate storage accounts adds infrastructure complexity and doesn't leverage Unity Catalog's centralized governance capabilities.
  • B. Dynamic views provide row-level filtering but do not logically isolate data assets or provide independent access management.
  • C. Creating separate workspaces defeats the purpose of centralized governance and creates unnecessary infrastructure overhead.

Question 18

You have an Azure Databricks workspace that is enabled for Unity Catalog and contains two Delta tables named Table1 and Table2 of the same data type. Table1 contains a column named Column1. Table2 contains a column named Column2.You run the following query.SELECT Colum1 FROM Table1 -GROUP BY Column1 -HAVING COUNT(*) > 1 -INTERSECT -SELECT Column2 -FROM Table2 -GROUP BY Column2 -HAVING COUNT(*) > 1;What occurs when you run the query?

  1. Values appear in both tables more than once.
  2. Values appear in either table more than once.
  3. Values appear in Table2 but NOT Table1.
  4. Values appear in Table1 more than once.
Show answer and explanation

Correct answer: A. Values appear in both tables more than once.

The INTERSECT operator returns only the values that appear in both result sets. The left side finds values in Column1 of Table1 that occur more than once, and the right side finds values in Column2 of Table2 that occur more than once. The intersection of these two queries returns only the values that appear in both tables and occur more than once in each respective table, meaning these values appear in both tables more than once.

Why the other options are wrong

  • B. INTERSECT returns only common values, not values that appear in either table; UNION would return values from either table.
  • C. INTERSECT requires values to be in both result sets; a value appearing only in Table2 would not satisfy this condition.
  • D. The result includes values that appear in both tables more than once, not just Table1 alone.

Question 19

You have an Azure Databricks workspace that is enabled for Unity Catalog.You have a CSV file stored in an Azure Data Lake Storage Gen2 container. You plan to ingest the data into an existing table by running the following SQL statement.COPY INTO Customer -FROM ‘abfss://[email protected]/data/customer’FILEFORMAT = CSV -You need to ensure that the statement can access the data in the container. What should you configure?

  1. an external table named Customer in the CSV file format
  2. a Lakeflow ingestion gateway
  3. an external location that uses a storage credential
  4. a volume in a catalog
Show answer and explanation

Correct answer: C. an external location that uses a storage credential

An external location configured with a storage credential is required for the COPY INTO statement to access data in Azure Data Lake Storage Gen2. External locations define the path to cloud storage and include authentication credentials that allow Databricks to read from or write to the specified container. This is a fundamental Unity Catalog component needed for any operation that accesses data outside Databricks-managed storage.

Why the other options are wrong

  • A. An external table named Customer would not directly enable the COPY INTO command to access the source file; the external location and credential are what enable the access.
  • B. Lakeflow ingestion gateway is not the appropriate mechanism for COPY INTO operations.
  • D. A volume is a storage container within Unity Catalog but does not provide the necessary authentication mechanism for accessing external cloud storage paths.

Question 20

You have an Azure Databricks workspace that is enabled for Unity Catalog.You plan to ingest data from CSV files stored in Azure Data Lake Storage Gen2. New rows are appended frequently. You need to implement a data ingestion solution that meets the following requirements:New data must be available in near-real-time (NRT).The data must be stored in managed Delta tables. The solution must minimize custom code and maintenance effort. What should you include in the solution?

  1. scheduled Apache Spark batch jobs
  2. an Azure Data Factory pipeline
  3. Auto Loader
  4. an external table that references the CSV files
Show answer and explanation

Correct answer: C. Auto Loader

Auto Loader is the Azure Databricks solution designed for ingesting new data from cloud storage into managed Delta tables with near-real-time latency. It automatically detects and processes new files as they arrive, requires minimal custom code, and handles the complexity of incremental ingestion and schema evolution. It is purpose-built for scenarios where new rows are appended frequently to cloud storage.

Why the other options are wrong

  • A. Scheduled batch jobs introduce latency and require custom scheduling logic; they do not meet near-real-time requirements as effectively as Auto Loader.
  • B. Azure Data Factory is a separate service that adds operational complexity and overhead compared to the native Auto Loader functionality in Databricks.
  • D. External tables reference files without copying data; they do not meet the requirement to store data in managed Delta tables.

Question 21

You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a managed Delta table named Sales.Sales stores transaction data and contains the following columns: transaction_id (string) transaction_date (date) amount (decimal)You need to implement the following data quality requirements by using table-level data quality enforcement: amount must be greater than 0. transaction_id must never be null. Invalid records must be rejected when data is written to the Sales table. What should you do?

  1. Use a SELECT statement with WHERE conditions to validate the data before querying.
  2. Create a view that filters out rows where transaction_id is null or amount is less than or equal to 0.
  3. Add a NOT NULL constraint to transaction_id and a CHECK constraint to amount.
  4. Configure row-level security (RLS) where transaction_id is null or amount is less than or equal to 0.
Show answer and explanation

Correct answer: C. Add a NOT NULL constraint to transaction_id and a CHECK constraint to amount.

In Azure Databricks with Unity Catalog, table-level data quality enforcement is implemented using SQL constraints. NOT NULL constraints prevent null values in specified columns, and CHECK constraints enforce conditions on column values. Adding a NOT NULL constraint to transaction_id and a CHECK constraint (amount > 0) to the amount column will automatically reject invalid records at write time, meeting all three requirements without requiring application-level validation logic.

Why the other options are wrong

  • A. SELECT with WHERE conditions only validates during reads, not at write time, so invalid data would still be stored in the table.
  • B. Creating a view that filters data does not prevent invalid records from being written to the underlying table; the view only hides them from queries.
  • D. Row-level security controls who can access data, not what data can be written; it does not enforce data quality constraints.

Question 22

You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a Delta table named Sales_orders.Sales_orders stores historical sales data. You receive a daily CSV file daily that contains new sales records only. The file does NOT contain updates to existing rows. You need to load the daily data into Sales_orders. The solution must meet the following requirements:Preserve the existing data. Add only the new records. Minimize processing effort. Which command should include in the loading strategy?

  1. UPDATE
  2. INSERT OVERWRITE
  3. INSERT INTO
Show answer and explanation

Correct answer: C. INSERT INTO

The INSERT INTO command appends new records to an existing table while preserving all historical data. Since the daily CSV file contains only new records with no updates to existing rows, INSERT INTO is the appropriate command that minimizes processing effort by performing a simple append operation without requiring any update or merge logic.

Why the other options are wrong

  • A. UPDATE is used to modify existing rows; it is not appropriate for loading new records and would require logic to match and update rows, adding unnecessary complexity.
  • B. INSERT OVERWRITE replaces all existing data in the table, which contradicts the requirement to preserve existing historical data.

Question 23

You have an Azure Databricks workspace that is enabled for Unity Catalog and contains two catalogs named Catalog1 and Catalog2.An external application uses a service principal named SP1 to connect to a SQL warehouse. You need to ensure that SP1 can query the data in Catalog1 and Catalog2. The solution must follow the principle of least privilege. Which permissions should you grant to SP1 for the catalogs?

  1. USE SCHEMA and SELECT
  2. USE CATALOG and SELECT
  3. USE CATALOG, USE SCHEMA, and SELECT
  4. USE CATALOG and USE SCHEMA
Show answer and explanation

Correct answer: C. USE CATALOG, USE SCHEMA, and SELECT

To query data in catalogs and their schemas, the service principal requires USE CATALOG permission to access each catalog, USE SCHEMA permission to access each schema within those catalogs, and SELECT permission on the tables to retrieve data. These three permissions are the minimum required hierarchy to enable query access while following the principle of least privilege by not granting unnecessary administrative or write permissions.

Why the other options are wrong

  • A. USE SCHEMA and SELECT alone omit the USE CATALOG permission needed to access catalogs themselves.
  • B. USE CATALOG and SELECT omit the USE SCHEMA permission required to access individual schemas within the catalog.
  • D. USE CATALOG and USE SCHEMA alone omit the SELECT permission required to actually query table data.

Question 24

Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals. More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem. After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen.You have an Azure Databricks workspace named Workspace1 that contains a lakehouse and is enabled for Unity Catalog.You have a connection to a Microsoft SQL Server database named DB1.You need to expose the schemas and tables of DB1 to meet the following requirements:The schemas and tables can be queried in Databricks.The schemas and tables appear alongside other Unity Catalog objects. The data is NOT copied into Databricks-managed storage. Solution: You create a Databricks access connector. Does this meet the goal?

  1. Yes
  2. No
Show answer and explanation

Correct answer: B. No

A Databricks access connector is an Azure resource that manages authentication and authorization to cloud services, but it does not itself expose external database schemas and tables as Unity Catalog objects. To expose an external SQL Server database as queryable Unity Catalog objects, a foreign catalog or external connection through Unity Catalog must be configured, not just an access connector.

Question 25

You have an Azure Databricks workspace that is enabled for Unity Catalog and contains two managed Delta tables named sales.schema1.table1 and sales.schema1.table2. sales.schema1.table1 contains sales data from the current year. sales.schema1 .table2 contains historical data. You need to load all the rows from sales.schema1.table1 into sales.schema1.table2. The solution must preserve any existing data in sales.schema1.table2 and minimize processing effort. Which command should you run?

  1. INSERT OVERWRITE sales.schema1.table2 SELECT * FROM sales.schema1.table1;
  2. CREATE TABLE sales.schema1.table2 AS SELECT * FROM sales.schema1.table1;
  3. INSERT INTO sales.schema1.table2 SELECT * FROM sales.schema1.table1;
  4. CREATE OR REPLACE TABLE sales.schema1.table2 AS SELECT * FROM sales.schema1.table1;
Show answer and explanation

Correct answer: C. INSERT INTO sales.schema1.table2 SELECT * FROM sales.schema1.table1;

The INSERT INTO command appends new rows to an existing table while preserving all existing data. This is the correct choice because the requirement explicitly states to preserve existing data in table2 and only add rows from table1. INSERT INTO is also the most efficient option as it only performs an append operation without scanning or rewriting existing data.

Why the other options are wrong

  • A. INSERT OVERWRITE replaces all existing data in table2 with data from table1, which violates the requirement to preserve existing data.
  • B. CREATE TABLE would fail because table2 already exists; it does not preserve existing data in any case.
  • D. CREATE OR REPLACE TABLE drops and recreates the table, destroying all existing historical data in table2.

25 questions in. Want the rest? The first half of the pack, free by email · The full pack

Question 26

Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals. More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem. After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen.You have an Azure Databricks workspace named Workspace1 that contains a lakehouse and is enabled for Unity Catalog.You have a connection to a Microsoft SQL Server database named DB1.You need to expose the schemas and tables of DB1 to meet the following requirements:The schemas and tables can be queried in Databricks.The schemas and tables appear alongside other Unity Catalog objects. The data is NOT copied into Databricks-managed storage. Solution: You create a new native catalog in Unity Catalog.Does this meet the goal?

  1. Yes
  2. No
Show answer and explanation

Correct answer: B. No

Creating a native catalog in Unity Catalog does not meet the requirements. A native catalog is for organizing Unity Catalog-managed objects within Databricks storage, not for connecting to external SQL Server databases. To expose SQL Server schemas and tables alongside Unity Catalog objects without copying data, you need to create a foreign catalog that connects to the external database using a connection to DB1. This allows querying the remote database objects as if they were Unity Catalog objects while keeping data in the source system.

Why the other options are wrong

  • A. A native catalog is used for organizing Databricks-managed objects, not for exposing external database schemas and tables.

Question 27

You have an Azure Databricks account that contains workspaces enabled for Unity Catalog.You need to implement audit logging to meet the following requirements:• Capture audit logs for all the workspaces in the account.• Retain the audit logs for 90 days.• Minimize storage and ingestion costs. The logs will be reviewed only during security investigations and will NOT be queried regularly. To where should you send the audit logs?

  1. Azure Event Hubs
  2. an Azure Storage account
  3. Log Analytics
  4. Azure Monitor metrics
Show answer and explanation

Correct answer: B. an Azure Storage account

Azure Storage accounts are the most cost-effective solution for storing audit logs that are infrequently accessed and only reviewed during security investigations. Storage accounts offer the lowest ingestion and retention costs compared to other options, support 90-day retention policies through lifecycle management, and provide durable, scalable storage for large volumes of audit data that don't require real-time querying or complex analysis.

Why the other options are wrong

  • A. Azure Event Hubs is designed for high-throughput streaming and event processing, making it unnecessarily expensive for write-once audit logs.
  • C. Log Analytics is optimized for regular querying and monitoring, which increases costs for logs only reviewed during investigations.
  • D. Azure Monitor metrics is not designed for storing raw audit logs and would require additional components for log storage.

That was 27 of 108.

The full Microsoft DP-750 pack has all 108 questions, each with the answer, the explanation and why the other options are wrong, plus a questions-only copy for timed runs. US$39, paid once, with free monthly updates and a pass-or-your-money-back guarantee.

Get the full pack

Not ready yet? Get the first 31 free as one PDF by email. Get the Half Pack →