Pre-Winter Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

Microsoft DP-750 Implementing Data Engineering Solutions Using Azure Databricks Exam Practice Test

Demo: 19 questions
Total 91 questions

Implementing Data Engineering Solutions Using Azure Databricks Questions and Answers

Question 1

You have an Azure Databricks workspace named Workspace! that uses a Git repository. The repository contains a Databricks notebook named Notebook1.

From the main branch, you create a feature branch named Branch! and commit changes to Notebooks Another user commits changes to Notebook1 in main.

When you attempt to merge Branch! into main, the merge fails due to conflicts.

You need to merge Branch! into the main branch. The solution must ensure that Notebook1 includes all the changes from both the branches.

What should you do?

Options:

A.

From Workspace1, clone Branch! as a new repository.

B.

Apply the changes directly to the main branch.

C.

From Workspace1, clone the mam branch as a new repository.

D.

Apply the main branch changes to Branch! and resolve the conflicts.

Question 2

You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a Delta table named Orders.

You load the Orders table into an Apache Spark DataFrame named df.

You need to create a DataFrame that excludes rows where the order amount is null.

Solution: You run the following expression.

df.filter(df.order_amount.isNotNull())

Does this meet the goal?

Options:

A.

Yes

B.

No

Question 3

You have an Azure Databricks workspace that is enabled for Unity Catalog and contains:

    A catalog named Corpdb

    A schema named Finance in the Corpdb catalog

    A table named Sales in the Finance schema

You have a group named Analysts.

You assign the following permissions to Analysts:

    USE CATALOG on the Corpdb catalog

    USE SCHEMA on the Finance schema

    SELECT on the Sales table

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Options:

Question 4

You have an Azure Databricks account that contains a single workspace named Workspace1. Workspace1 is enabled for Unity Catalog.

You discover that data access events for Unity Catalog tables fail to appear in the logs.

You need to ensure that all the data access events are captured centrally for auditing purposes. The log data must be available for analysis as quickly as possible.

What should you do? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Question 5

You have an Azure Databricks workspace and a remote Git repository named Repo1. Repo1 contains two branches named main and Branch1.

You are on a development team that works in Repo1.

You commit changes to Branch1 and must merge the changes into main.

Before completing the merge, you need to meet the following requirements:

• Ensure that Branch1 includes the changes committed to main since Branch1 was created.

• Ensure that merge conflicts are detected and resolved.

What should you do first?

Options:

A.

Merge main into Branch1.

B.

Pull the latest changes from main.

C.

Pull the latest changes from Branch1.

D.

Create a pull request for Branch1.

Question 6

You have an Azure Databricks workspace that contains a job in Lakeflow Jobs named Job1.

Job1 processes raw data files stored in Azure Storage.

New files arrive at unpredictable intervals.

You need to ensure that Job1 starts automatically when new files arrive and does NOT consume compute resources when no data is available.

Which type of job trigger should you use?

Options:

A.

file arrival

B.

continuous

C.

scheduled

D.

manual

Question 7

You need to deploy Declarative Automation Bundles to a development environment. The solution must support automated and repeatable deployments across environments.

What should you use?

Options:

A.

the Databricks CLI

B.

the Databricks SDK for Python

C.

Git folders

D.

the Jobs UI

Question 8

You manage Declarative Automation Bundles by using the Databricks CLI.

You run the following command in a terminal window.

databricks bundle init

What occurs when you run the command?

Options:

A.

A new Declarative Automation Bundles project structure is created.

B.

Bundle-defined resources are deployed to the Databricks workspace.

C.

The bundle configuration is validated.

D.

Jobs or pipelines defined in the bundle are run.

Question 9

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?

Options:

A.

Yes

B.

No

Question 10

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:

• transactionjd (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?

Options:

A.

Use a select statement with where conditions to validate the data before querying.

B.

Configure row-level security (RLS) where transactionjd is null or amount is less than or equal to 0.

C.

Create a view that filters out rows where transactionjd is null or amount is less than or equal to 0.

D.

Add a not null constraint to transactionjd and a check constraint to amount.

Question 11

You have an Azure Databricks workspace that uses Databricks SQL.

You have a table named sales_goals_source that contains the following columns:

    Salesperson

    Item

    2019

    2020

    2021

You need to transform the year columns into rows and return the columns Salesperson, Item, Year, and Value.

How should you complete the SQL statement? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

SELECT Salesperson, Item, Year, Value

FROM sales_goals_source

UNPIVOT

(

Value FOR [first dropdown] IN [second dropdown]

);

Options:

Question 12

You have an Azure Databricks workspace.

You have an Apache Spark Structured Streaming job named Job! that processes data continuously and fails periodically due to transient errors

You need to ensure that Job! meets the following requirements

• Resumes processing from the point that Job1 failed

• Minimizes how long it takes to restart Job!

• Minimizes the costs to restart Job!

What should you do?

Options:

A.

Decrease the retry interval.

B.

Implement checkpointing.

C.

Add an alert and manually restart Job1.

D.

Increase the minimum number of nodes in the cluster

Question 13

You have an Azure Databricks workspace that is enabled for Unity Catalog and contains a Delta table named Orders.

You load the Orders table into an Apache Spark DataFrame named df.

You need to create a DataFrame that excludes rows where the order amount is null.

Solution: You run the following expression.

df.dropna(subset=[ " order_amount " ])

Does this meet the goal?

Options:

A.

Yes

B.

No

Question 14

Which ingestion option should you recommend for each data source? To answer, drag the appropriate options to the correct data sources. Each option may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Options:

Question 15

Which SCD type should you use to support the planned data modeling changes? To answer, drag the appropriate types to the correct issues. Each type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Options:

Question 16

You need to develop the task logic for a new job in Lakeflow Jobs that processes telemetry data.

Each task must contain only the appropriate logic for its step in the pipeline. The solution must support the planned changes and meet the data ingestion and processing requirements.

What should you do?

Options:

A.

Use a single Databricks notebook task that performs ingestion, cleansing, and curation in one script.

B.

Create three tasks that each contains the identical logic and use task retries.

C.

Use a single SQL task that performs ingestion, cleansing, and curation by running merge commands.

D.

Create separate tasks for ingestion, cleansing, and curation.

Question 17

You need to configure compute for the ingestion of telemetry data. The solution must meet the data ingestion and processing requirements.

What should you do?

Options:

A.

Enable Photon acceleration for a job compute cluster.

B.

Move the ingestion pipelines to shared compute.

C.

Increase an all-purpose cluster to a larger fixed node type.

D.

Disable autoscaling for a job compute cluster.

Question 18

You need to complete the PySpark code for the Spark Structured Streaming pipelines. The solution must meet the data ingestion and processing requirements.

How should you complete the code segment? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Question 19

You need to recommend a compute type for the production ingestion workloads and BI workloads. The solution must meet the environment and compute requirements.

What should you recommend for each type of workload? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Demo: 19 questions
Total 91 questions