🔍

DATA-ENGINEER-ASSOCIATE — questions

Page 7 of 9 · 169 total questions.

Topic 1 · Question 121

A Delta Live Table pipeline includes two datasets defined using STREAMING LIVE TABLE. Three datasets are defined against Delta Lake table sources using LIVE TABLE. The table is configured to run in Production mode using the Continuous Pipeline Mode. What is the expected outcome after clicking Start to update the pipeline assuming previously unprocessed data exists and all definitions are valid?

  • AAll datasets will be updated at set intervals until the pipeline is shut down. The compute resources will persist to allow for additional testing.
  • BAll datasets will be updated once and the pipeline will shut down. The compute resources will persist to allow for additional testing.
  • CAll datasets will be updated at set intervals until the pipeline is shut down. The compute resources will be deployed for the update and terminated when the pipeline is stopped. (correct answer)
  • DAll datasets will be updated once and the pipeline will shut down. The compute resources will be terminated.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: All datasets will be updated at set intervals until the pipeline is shut down. The compute resources will be deployed for the update and terminated when the pipeline is stopped. This option meets the real-time / low-latency performance requirement.

Topic 1 · Question 122

Which type of workloads are compatible with Auto Loader?

  • AStreaming workloads (correct answer)
  • BMachine learning workloads
  • CServerless workloads
  • DBatch workloads
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Streaming workloads

Topic 1 · Question 123

A data engineer has developed a data pipeline to ingest data from a JSON source using Auto Loader, but the engineer has not provided any type inference or schema hints in their pipeline. Upon reviewing the data, the data engineer has noticed that all of the columns in the target table are of the string type despite some of the fields only including float or boolean values. Why has Auto Loader inferred all of the columns to be of the string type?

  • AAuto Loader cannot infer the schema of ingested data
  • BJSON data is a text-based format (correct answer)
  • CAuto Loader only works with string data
  • DAll of the fields had at least one null value
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: JSON data is a text-based format

Topic 1 · Question 124

Which statement regarding the relationship between Silver tables and Bronze tables is always true?

  • ASilver tables contain a less refined, less clean view of data than Bronze data.
  • BSilver tables contain aggregates while Bronze data is unaggregated.
  • CSilver tables contain more data than Bronze tables.
  • DSilver tables contain less data than Bronze tables. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Silver tables contain less data than Bronze tables.

Explanation

The bronze layer preserves raw ingested data for replay, auditing, and downstream refinement. The silver layer contains validated, deduplicated, and conformed data suitable for downstream analysis.

Topic 1 · Question 125

Which query is performing a streaming hop from raw data to a Bronze table?

  • A
  • B
  • C
  • D (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. This option meets the real-time / low-latency performance requirement.

Topic 1 · Question 126

A dataset has been defined using Delta Live Tables and includes an expectations clause: CONSTRAINT valid_timestamp EXPECT (timestamp > '2020-01-01') ON VIOLATION DROP ROW What is the expected behavior when a batch of data containing data that violates these constraints is processed?

  • ARecords that violate the expectation cause the job to fail.
  • BRecords that violate the expectation are added to the target dataset and flagged as invalid in a field added to the target dataset.
  • CRecords that violate the expectation are dropped from the target dataset and recorded as invalid in the event log. (correct answer)
  • DRecords that violate the expectation are added to the target dataset and recorded as invalid in the event log.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Records that violate the expectation are dropped from the target dataset and recorded as invalid in the event log.

Topic 1 · Question 127

A data engineer has a Job with multiple tasks that runs nightly. Each of the tasks runs slowly because the clusters take a long time to start. Which action can the data engineer perform to improve the start up time for the clusters used for the Job?

  • AThey can use endpoints available in Databricks SQL
  • BThey can use jobs clusters instead of all-purpose clusters
  • CThey can configure the clusters to autoscale for larger data sizes
  • DThey can use clusters that are from a cluster pool (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: They can use clusters that are from a cluster pool

Topic 1 · Question 128

A data engineer has a single-task Job that runs each morning before they begin working. After identifying an upstream data issue, they need to set up another task to run a new notebook prior to the original task. Which approach can the data engineer use to set up the new task?

  • AThey can clone the existing task in the existing Job and update it to run the new notebook.
  • BThey can create a new task in the existing Job and then add it as a dependency of the original task. (correct answer)
  • CThey can create a new task in the existing Job and then add the original task as a dependency of the new task.
  • DThey can create a new job from scratch and add both tasks to run concurrently.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: They can create a new task in the existing Job and then add it as a dependency of the original task.

Topic 1 · Question 129

A single Job runs two notebooks as two separate tasks. A data engineer has noticed that one of the notebooks is running slowly in the Job’s current run. The data engineer asks a tech lead for help in identifying why this might be the case. Which approach can the tech lead use to identify why the notebook is running slowly as part of the Job?

  • AThey can navigate to the Runs tab in the Jobs UI to immediately review the processing notebook.
  • BThey can navigate to the Tasks tab in the Jobs UI and click on the active run to review the processing notebook.
  • CThey can navigate to the Runs tab in the Jobs UI and click on the active run to review the processing notebook. (correct answer)
  • DThey can navigate to the Tasks tab in the Jobs UI to immediately review the processing notebook.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: They can navigate to the Runs tab in the Jobs UI and click on the active run to review the processing notebook.

Topic 1 · Question 130

A data analysis team has noticed that their Databricks SQL queries are running too slowly when connected to their always-on SQL endpoint. They claim that this issue is present when many members of the team are running small queries simultaneously. They ask the data engineering team for help. The data engineering team notices that each of the team’s queries uses the same SQL endpoint. Which approach can the data engineering team use to improve the latency of the team’s queries?

  • AThey can increase the cluster size of the SQL endpoint.
  • BThey can increase the maximum bound of the SQL endpoint’s scaling range. (correct answer)
  • CThey can turn on the Auto Stop feature for the SQL endpoint.
  • DThey can turn on the Serverless feature for the SQL endpoint.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: They can increase the maximum bound of the SQL endpoint’s scaling range.

Topic 1 · Question 131

A data engineer wants to schedule their Databricks SQL dashboard to refresh once per day, but they only want the associated SQL endpoint to be running when it is necessary. Which approach can the data engineer use to minimize the total running time of the SQL endpoint used in the refresh schedule of their dashboard?

  • AThey can ensure the dashboard’s SQL endpoint matches each of the queries’ SQL endpoints.
  • BThey can set up the dashboard’s SQL endpoint to be serverless.
  • CThey can turn on the Auto Stop feature for the SQL endpoint. (correct answer)
  • DThey can ensure the dashboard’s SQL endpoint is not one of the included query’s SQL endpoint.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: They can turn on the Auto Stop feature for the SQL endpoint.

Topic 1 · Question 132

An engineering manager wants to monitor the performance of a recent project using a Databricks SQL query. For the first week following the project’s release, the manager wants the query results to be updated every minute. However, the manager is concerned that the compute resources used for the query will be left running and cost the organization a lot of money beyond the first week of the project’s release. Which approach can the engineering team use to ensure the query does not cost the organization any money beyond the first week of the project’s release?

  • AThey can set a limit to the number of DBUs that are consumed by the SQL Endpoint.
  • BThey can set the query’s refresh schedule to end after a certain number of refreshes.
  • CThey can set the query’s refresh schedule to end on a certain date in the query scheduler. (correct answer)
  • DThey can set a limit to the number of individuals that are able to manage the query’s refresh schedule.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: They can set the query’s refresh schedule to end on a certain date in the query scheduler.

Topic 1 · Question 133

A new data engineering team team has been assigned to an ELT project. The new data engineering team will need full privileges on the table sales to fully manage the project. Which command can be used to grant full permissions on the database to the new data engineering team?

  • AGRANT ALL PRIVILEGES ON TABLE sales TO team; (correct answer)
  • BGRANT SELECT CREATE MODIFY ON TABLE sales TO team;
  • CGRANT SELECT ON TABLE sales TO team;
  • DGRANT ALL PRIVILEGES ON TABLE team TO sales;
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: GRANT ALL PRIVILEGES ON TABLE sales TO team;

Topic 1 · Question 134

Differentiate between all-purpose clusters and jobs clusters. A data engineering team has created a python notebook to load data from cloud storage, this job has been tested and now needs to be scheduled in production. Which would be the best cluster to be used in this case?

  • AAll purpose cluster
  • BAny Unity Catalog-enabled cluster
  • CJobs Cluster (correct answer)
  • DServerless SQL warehouse
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Jobs Cluster

Topic 1 · Question 135

Identify how the count_if function and the count where x is null can be used Consider a table random_values with below data. What would be the output of below query? select count_if(col > 1) as count_a. count(*) as count_b.count(col1) as count_c from random_values col1 0 1 2 NULL - 2 3

  • A3 6 5 (correct answer)
  • B4 6 5
  • C3 6 6
  • D4 6 6
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: 3 6 5

Topic 1 · Question 136 · Select all that apply

Which two components function in the DB platform architecture’s control plane? (Choose two.)

  • AVirtual Machines
  • BCompute Orchestration (correct answer)
  • CServerless Compute
  • DCompute
  • EUnity Catalog (correct answer)
Reveal answer & explanation
Correct answer: B, E

The correct answer is B, E. Option B: Compute Orchestration Option E: Unity Catalog

Explanation

Unity Catalog provides centralized governance, fine-grained permissions, lineage, discovery, and auditing across Databricks data and AI assets.

Topic 1 · Question 137

In a healthcare provider organization using Delta Lake to store electronic health records (EHRs), a data analyst needs to analyze a snapshot of the patient_records table from two weeks ago before some recent data corrections were applied. What approach should the Data Engineer take to allow the analyst to query that specific prior version?

  • ATruncate the table to remove all data, then reload the data from two weeks ago into the truncated table for the analyst to query.
  • BIdentify the version number corresponding to two weeks ago from the Delta transaction log, share that version number with the analyst to query using VERSION AS OF syntax, or export that version to a new Delta table for the analyst to query. (correct answer)
  • CRestore the table to the version from two weeks ago using the RESTORE command, and have the analyst query the restored table.
  • DUse the VACUUM command to remove all versions of the table older than two weeks, then the analyst can query the remaining version.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Identify the version number corresponding to two weeks ago from the Delta transaction log, share that version number with the analyst to query using VERSION AS OF syntax, or export that version to a new Delta table fo...

Topic 1 · Question 138

What can be used to simplify and unify siloed data architectures that are specialized for specific use cases?

  • ADelta Lake
  • BData lake
  • CData warehouse
  • DData lakehouse (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Data lakehouse

Topic 1 · Question 139

A data engineer has configured a Structured Streaming job to read from a table, manipulate the data, and then perform a streaming write into a new table. The code block used by the data engineer is below: The data engineer only wants the query to process all of the available data in as many batches as required. Which line of code should the data engineer use to fill in the blank?

Exhibit 1 for question 139
  • Atrigger(availableNow=True) (correct answer)
  • Btrigger(processingTime= “once”)
  • Ctrigger(continuous= “once”)
  • Dtrigger(once=True)
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: trigger(availableNow=True) This option meets the real-time / low-latency performance requirement.

Topic 1 · Question 140

Data engineer and data analysts are working together on a data pipeline. The data engineer is working on the raw, bronze, and silver layers of the pipeline using Python, and the data analyst is working on the gold layer of the pipeline using SQL. The raw source of the pipeline is a streaming input. They now want to migrate their pipeline to use Delta Live Tables. Which of the following changes will need to be made to the pipeline when migrating to Delta Live Tables?

  • AThe pipeline can have different notebook sources in SQL & Python (correct answer)
  • BThe pipeline will need to be written entirely in SQL
  • CThe pipeline will need to use a batch source in place of a streaming source
  • DThe pipeline will need to be written entirely in Python
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: The pipeline can have different notebook sources in SQL & Python This option meets the real-time / low-latency performance requirement.

Showing questions 121140 of 169 · Page 7 of 9