Summer Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70track

Free Microsoft DP-750 Practice Exam with Questions & Answers | Set: 2

Questions 11

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

Job! contains three tasks named Task1, Task2. and Task3.

If Task1 fails, Task2 and Task3 must be prevented from running. Successfully completed tasks must NOT rerun during recovery.

You need to configure Job1 to support controlled failure handling and recovery

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

NOTE: Each correct selection is worth one point.

DP-750 Question 11

Options:
Microsoft DP-750 Premium Access
Questions 12

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?

Options:
A.

Yes

B.

No

Questions 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.filter(df.order_amount != None)

Does this meet the goal?

Options:
A.

Yes

B.

No

Questions 14

You have an Azure Databricks workspace that is enabled for Unity Catalog.

You have a Lakeflow Spark Declarative Pipelines (SDP) pipeline that writes numerical data to a table named Table1 by using a data quality validation rule named rule1.

You need to modify rule1 to meet the following requirements:

Ensure that amount is always greater than 0.

Prevent an update to Table1 from being committed when data that violates rule1 is detected.

Which statement should you execute?

Options:
A.

@dlt.expect_all_or_drop({"rule1": "amount > 0"})

B.

@dlt.expect_or_drop("rule1", "amount > 0")

C.

@dlt.expect_or_fail("rule1", "amount > 0")

D.

@dlt.expect("rule1", "amount > 0")