Free Databricks-Certified-Professional-Data-Engineer Exam Braindumps
Certified Data Engineer Professional Questions 161–168 (page: 22)

Updated On: 16-Apr-2026

A data engineer wants to join a stream of advertisement impressions (when an ad was shown) with another stream of user clicks on advertisements to correlate when impressions led to monetizable clicks.

In the code below, Impressions is a streaming DataFrame with a watermark ("event_time", "10 minutes")



The data engineer notices the query slowing down significantly.

Which solution would improve the performance?

  1. Joining on event time constraint: clickTime >= impressionTime AND clickTime <= impressionTime interval 1 hour
  2. Joining on event time constraint: clickTime + 3 hours < impressionTime - 2 hours
  3. Joining on event time constraint: clickTime == impressionTime using a leftOuter join
  4. Joining on event time constraint: clickTime >= impressionTime - interval 3 hours and removing watermarks

Answer(s): A



A junior data engineer has manually configured a series of jobs using the Databricks Jobs UI. Upon reviewing their work, the engineer realizes that they are listed as the "Owner" for each job. They attempt to transfer "Owner" privileges to the "DevOps" group, but cannot successfully accomplish this task.

Which statement explains what is preventing this privilege transfer?

  1. Databricks jobs must have exactly one owner; "Owner" privileges cannot be assigned to a group.
  2. The creator of a Databricks job will always have "Owner" privileges; this configuration cannot be changed.
  3. Only workspace administrators can grant "Owner" privileges to a group.
  4. A user can only transfer job ownership to a group if they are also a member of that group.

Answer(s): A


Reference:



A table named user_ltv is being used to create a view that will be used by data analysts on various teams. Users in the workspace are configured into groups, which are used for setting up data access using ACLs.

The user_ltv table has the following schema:

email STRING, age INT, ltv INT

The following view definition is executed:



An analyst who is not a member of the auditing group executes the following query:

SELECT * FROM user_ltv_no_minors

Which statement describes the results returned by this query?

  1. All columns will be displayed normally for those records that have an age greater than 17; records not meeting this condition will be omitted.
  2. All age values less than 18 will be returned as null values, all other columns will be returned with the values in user_ltv.
  3. All values for the age column will be returned as null values, all other columns will be returned with the values in user_ltv.
  4. All columns will be displayed normally for those records that have an age greater than 18; records not
    meeting this condition will be omitted.

Answer(s): A



All records from an Apache Kafka producer are being ingested into a single Delta Lake table with the following schema:

key BINARY, value BINARY, topic STRING, partition LONG, offset LONG, timestamp LONG

There are 5 unique topics being ingested. Only the "registration" topic contains Personal Identifiable Information (PII). The company wishes to restrict access to PII. The company also wishes to only retain records containing PII in this table for 14 days after initial ingestion. However, for non-PII information, it would like to retain these records indefinitely.

Which solution meets the requirements?

  1. All data should be deleted biweekly; Delta Lake's time travel functionality should be leveraged to maintain a history of non-PII information.
  2. Data should be partitioned by the registration field, allowing ACLs and delete statements to be set for the PII directory.
  3. Data should be partitioned by the topic field, allowing ACLs and delete statements to leverage partition boundaries.
  4. Separate object storage containers should be specified based on the partition field, allowing isolation at the storage level.

Answer(s): C



The data governance team is reviewing code used for deleting records for compliance with GDPR. The following logic has been implemented to propagate delete requests from the user_lookup table to the user_aggregates table.



Assuming that user_id is a unique identifying key and that all users that have requested deletion have been removed from the user_lookup table, which statement describes whether successfully executing the above logic guarantees that the records to be deleted from the user_aggregates table are no longer accessible and why?

  1. No; the Delta Lake DELETE command only provides ACID guarantees when combined with the MERGE INTO command.
  2. No; files containing deleted records may still be accessible with time travel until a VACUUM command is used to remove invalidated data files.
  3. No; the change data feed only tracks inserts and updates, not deleted records.
  4. Yes; Delta Lake ACID guarantees provide assurance that the DELETE command succeeded fully and permanently purged these records.

Answer(s): B


Reference:



An external object storage container has been mounted to the location /mnt/finance_eda_bucket.

The following logic was executed to create a database for the finance team:



After the database was successfully created and permissions configured, a member of the finance team runs the following code:



If all users on the finance team are members of the finance group, which statement describes how the tx_sales table will be created?

  1. A logical table will persist the query plan to the Hive Metastore in the Databricks control plane.
  2. An external table will be created in the storage container mounted to /mnt/finance_eda_bucket.
  3. A managed table will be created in the DBFS root storage container.
  4. An managed table will be created in the storage container mounted to /mnt/finance_eda_bucket.

Answer(s): D



The data engineering team has been tasked with configuring connections to an external database that does not have a supported native connector with Databricks. The external database already has data security configured by group membership. These groups map directly to user groups already created in Databricks that represent various teams within the company.

A new login credential has been created for each group in the external database. The Databricks Utilities Secrets module will be used to make these credentials available to Databricks users.

Assuming that all the credentials are configured correctly on the external database and group membership is properly configured on Databricks, which statement describes how teams can be granted the minimum necessary access to using these credentials?

  1. No additional configuration is necessary as long as all users are configured as administrators in the workspace where secrets have been added.
  2. "Read" permissions should be set on a secret key mapped to those credentials that will be used by a given team.
  3. "Read" permissions should be set on a secret scope containing only those credentials that will be used by a given team.
  4. "Manage" permissions should be set on a secret scope containing only those credentials that will be used by a given team.

Answer(s): C



What is the retention of job run history?

  1. It is retained until you export or delete job run logs
  2. It is retained for 30 days, during which time you can deliver job run logs to DBFS or S3
  3. It is retained for 60 days, during which you can export notebook run results to HTML
  4. It is retained for 60 days, after which logs are archived

Answer(s): C


Reference:



Viewing page 22 of 44
Viewing questions 169 - 176 out of 339 questions


Post your Comments and Discuss Databricks Databricks-Certified-Professional-Data-Engineer exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!