Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu
Sample test, no account needed

DP-750 sample: question 1 of 5

Yes or no. Choose one answer in each row.Prepare and process data

A retail company loads data into Unity Catalog tables in Azure Databricks:

  • sales.transactions receives each day's transaction log from staging.daily_transactions.
  • sales.daily_summary is an unpartitioned table that holds one set of daily aggregates per region.
  • customers is a dimension table. A feed named customer_updates contains changed email addresses for existing customers and rows for brand-new customers.

Yesterday a scheduled job was retried, so this statement ran twice against the same, unchanged staging data:

INSERT INTO sales.transactions SELECT * FROM staging.daily_transactions WHERE transaction_date = current_date();

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

StatementYesNo
After the retried job, sales.transactions contains duplicate rows for that day's transactions.
Running INSERT OVERWRITE sales.daily_summary SELECT ... adds the new aggregate rows alongside the rows already in the table.
To update the emails of existing customers and add the new customers from customer_updates in one statement, the team should use MERGE INTO with WHEN MATCHED and WHEN NOT MATCHED clauses.