Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Microsoft Implementing Data Engineering Solutions Using Azure Databricks DP-750 Question # 12 Topic 2 Discussion

Microsoft Implementing Data Engineering Solutions Using Azure Databricks DP-750 Question # 12 Topic 2 Discussion

DP-750 Exam Topic 2 Question 12 Discussion:
Question #: 12
Topic #: 2

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?


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.


Get Premium DP-750 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.