Free CERTIFIED-DATA-ENGINEER-PROFESSIONAL Databricks CERTIFIED-DATA-ENGINEER-PROFESSIONAL Practice Test Question

Loading demo links...

Showing 4–6 of 26 questions

Question 4 (Topic 1)

The view updates represents an incremental batch of all newly ingested data to be inserted or updated in the customers table. The following logic is used to process these records. Which statement describes this implementation?

Select an option, then click Submit answer.

  • The customers table is implemented as a Type 3 table; old values are maintained as a new column alongside the current value.
  • The customers table is implemented as a Type 2 table; old values are maintained but marked as no longer current and new values are inserted.
  • The customers table is implemented as a Type 0 table; all writes are append only with no changes to existing values.
  • The customers table is implemented as a Type 1 table; old values are overwritten by new values and no history is maintained.
  • The customers table is implemented as a Type 2 table; old values are overwritten and new customers are appended.
Question 5 (Topic 1)

The data governance team is reviewing code used for deleting records for compliance with GDPR. They note the following logic is used to delete records from the Delta Lake table named users. Assuming that user_id is a unique identifying key and that delete_requests contains all users that have requested deletion, which statement describes whether successfully executing the above logic guarantees that the records to be deleted are no longer accessible and why?

Select an option, then click Submit answer.

  • Yes; Delta Lake ACID guarantees provide assurance that the DELETE command succeeded fully and permanently purged these records.
  • No; the Delta cache may return records from previous versions of the table until the cluster is restarted.
  • Yes; the Delta cache immediately updates to reflect the latest data files recorded to disk.
  • No; the Delta Lake DELETE command only provides ACID guarantees when combined with the MERGE INTO command.
  • No; files containing deleted records may still be accessible with time travel until a VACUUM command is used to remove invalidated data files.
Question 6 (Topic 1)

Review the following error traceback: Which statement describes the error being raised?

Select an option, then click Submit answer.

  • The code executed was PySpark but was executed in a Scala notebook.
  • There is no column in the table named heartrateheartrateheartrate
  • There is a type error because a column object cannot be multiplied.
  • There is a type error because a DataFrame object cannot be multiplied.
  • There is a syntax error because the heartrate column is not correctly identified as a column.