πŸ”

DATA-ENGINEER-ASSOCIATE β€” questions

Page 3 of 9 Β· 169 total questions.

Topic 1 Β· Question 41

A data engineer has been using a Databricks SQL dashboard to monitor the cleanliness of the input data to an ELT job. The ELT job has its Databricks SQL query that returns the number of input records containing unexpected NULL values. The data engineer wants their entire team to be notified via a messaging webhook whenever this value reaches 100. Which of the following approaches can the data engineer use to notify their entire team via a messaging webhook whenever the number of NULL values reaches 100?

  • AThey can set up an Alert with a custom template.
  • BThey can set up an Alert with a new email alert destination.
  • CThey can set up an Alert with a new webhook alert destination. (correct answer)
  • DThey can set up an Alert with one-time notifications.
  • EThey can set up an Alert without notifications.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: They can set up an Alert with a new webhook alert destination.

Topic 1 Β· Question 42

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 of the following approaches 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)
  • DThere is no way to determine why a Job task is running slowly.
  • EThey 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 43

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 of the following actions 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 be single-node
  • DThey can use clusters that are from a cluster pool (correct answer)
  • EThey can configure the clusters to autoscale for larger data sizes
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 44

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

  • AGRANT USAGE ON DATABASE customers TO team;
  • BGRANT ALL PRIVILEGES ON DATABASE team TO customers;
  • CGRANT SELECT PRIVILEGES ON DATABASE customers TO teams;
  • DGRANT SELECT CREATE MODIFY USAGE PRIVILEGES ON DATABASE customers TO team;
  • EGRANT ALL PRIVILEGES ON DATABASE customers TO team; (correct answer)
Reveal answer & explanation
Correct answer: E

The correct answer is E. Option E: GRANT ALL PRIVILEGES ON DATABASE customers TO team;

Topic 1 Β· Question 45

A new data engineering team has been assigned to work on a project. The team will need access to database customers in order to see what tables already exist. The team has its own group team. Which of the following commands can be used to grant the necessary permission on the entire database to the new team?

  • AGRANT VIEW ON CATALOG customers TO team;
  • BGRANT CREATE ON DATABASE customers TO team;
  • CGRANT USAGE ON CATALOG team TO customers;
  • DGRANT CREATE ON DATABASE team TO customers;
  • EGRANT USAGE ON DATABASE customers TO team; (correct answer)
Reveal answer & explanation
Correct answer: E

The correct answer is E. Option E: GRANT USAGE ON DATABASE customers TO team;

Topic 1 Β· Question 46

A data engineer is running code in a Databricks Repo that is cloned from a central Git repository. A colleague of the data engineer informs them that changes have been made and synced to the central Git repository. The data engineer now needs to sync their Databricks Repo to get the changes from the central Git repository. Which of the following Git operations does the data engineer need to run to accomplish this task?

  • AMerge
  • BPush
  • CPull (correct answer)
  • DCommit
  • EClone
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Pull

Topic 1 Β· Question 47

Which of the following is a benefit of the Databricks Lakehouse Platform embracing open source technologies?

  • ACloud-specific integrations
  • BSimplified governance
  • CAbility to scale storage
  • DAbility to scale workloads
  • EAvoiding vendor lock-in (correct answer)
Reveal answer & explanation
Correct answer: E

The correct answer is E. Option E: Avoiding vendor lock-in

Topic 1 Β· Question 48

A data engineer needs to use a Delta table as part of a data pipeline, but they do not know if they have the appropriate permissions. In which of the following locations can the data engineer review their permissions on the table?

  • ADatabricks Filesystem
  • BJobs
  • CDashboards
  • DRepos
  • EData Explorer (correct answer)
Reveal answer & explanation
Correct answer: E

The correct answer is E. Option E: Data Explorer

Topic 1 Β· Question 49

Which of the following describes a scenario in which a data engineer will want to use a single-node cluster?

  • AWhen they are working interactively with a small amount of data (correct answer)
  • BWhen they are running automated reports to be refreshed as quickly as possible
  • CWhen they are working with SQL within Databricks SQL
  • DWhen they are concerned about the ability to automatically scale with larger data
  • EWhen they are manually running reports with a large amount of data
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: When they are working interactively with a small amount of data

Topic 1 Β· Question 50

A data engineer has been given a new record of data: id STRING = 'a1' rank INTEGER = 6 rating FLOAT = 9.4 Which of the following SQL commands can be used to append the new record to an existing Delta table my_table?

  • AINSERT INTO my_table VALUES ('a1', 6, 9.4) (correct answer)
  • Bmy_table UNION VALUES ('a1', 6, 9.4)
  • CINSERT VALUES ( 'a1' , 6, 9.4) INTO my_table
  • DUPDATE my_table VALUES ('a1', 6, 9.4)
  • EUPDATE VALUES ('a1', 6, 9.4) my_table
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: INSERT INTO my_table VALUES ('a1', 6, 9.4)

Topic 1 Β· Question 51

A data engineer has realized that the data files associated with a Delta table are incredibly small. They want to compact the small files to form larger files to improve performance. Which of the following keywords can be used to compact the small files?

  • AREDUCE
  • BOPTIMIZE (correct answer)
  • CCOMPACTION
  • DREPARTITION
  • EVACUUM
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: OPTIMIZE

Explanation

OPTIMIZE compacts small Delta files to improve data-skipping and query performance.

Topic 1 Β· Question 52

In which of the following file formats is data from Delta Lake tables primarily stored?

  • ADelta
  • BCSV
  • CParquet (correct answer)
  • DJSON
  • EA proprietary, optimized format specific to Databricks
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Parquet

Topic 1 Β· Question 53

Which of the following is stored in the Databricks customer's cloud account?

  • ADatabricks web application
  • BCluster management metadata
  • CRepos
  • DData (correct answer)
  • ENotebooks
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Data

Topic 1 Β· Question 54

Which of the following can be used to simplify and unify siloed data architectures that are specialized for specific use cases?

  • ANone of these
  • BData lake
  • CData warehouse
  • DAll of these
  • EData lakehouse (correct answer)
Reveal answer & explanation
Correct answer: E

The correct answer is E. Option E: Data lakehouse

Topic 1 Β· Question 55

A data architect has determined that a table of the following format is necessary: Which of the following code blocks uses SQL DDL commands to create an empty Delta table in the above format regardless of whether a table already exists with this name?

Exhibit 1 for question 55
  • A
  • B
  • C
  • D
  • E (correct answer)
Reveal answer & explanation
Correct answer: E

The correct answer is E.

Topic 1 Β· Question 56

A data engineer has a Python notebook in Databricks, but they need to use SQL to accomplish a specific task within a cell. They still want all of the other cells to use Python without making any changes to those cells. Which of the following describes how the data engineer can use SQL within a cell of their Python notebook?

  • AIt is not possible to use SQL in a Python notebook
  • BThey can attach the cell to a SQL endpoint rather than a Databricks cluster
  • CThey can simply write SQL syntax in the cell
  • DThey can add %sql to the first line of the cell (correct answer)
  • EThey can change the default language of the notebook to SQL
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: They can add %sql to the first line of the cell

Topic 1 Β· Question 57

Which of the following SQL keywords can be used to convert a table from a long format to a wide format?

  • ATRANSFORM
  • BPIVOT (correct answer)
  • CSUM
  • DCONVERT
  • EWHERE
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: PIVOT

Topic 1 Β· Question 58

Which of the following describes a benefit of creating an external table from Parquet rather than CSV when using a CREATE TABLE AS SELECT statement?

  • AParquet files can be partitioned
  • BCREATE TABLE AS SELECT statements cannot be used on files
  • CParquet files have a well-defined schema (correct answer)
  • DParquet files have the ability to be optimized
  • EParquet files will become Delta tables
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Parquet files have a well-defined schema

Topic 1 Β· Question 59

A data engineer wants to create a relational object by pulling data from two tables. The relational object does not need to be used by other data engineers in other sessions. In order to save on storage costs, the data engineer wants to avoid copying and storing physical data. Which of the following relational objects should the data engineer create?

  • ASpark SQL Table
  • BView
  • CDatabase
  • DTemporary view (correct answer)
  • EDelta Table
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Temporary view

Topic 1 Β· Question 60

A data analyst has developed a query that runs against Delta table. They want help from the data engineering team to implement a series of tests to ensure the data returned by the query is clean. However, the data engineering team uses Python for its tests rather than SQL. Which of the following operations could the data engineering team use to run the query and operate with the results in PySpark?

  • ASELECT * FROM sales
  • Bspark.delta.table
  • Cspark.sql (correct answer)
  • DThere is no way to share data between PySpark and SQL.
  • Espark.table
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: spark.sql

Showing questions 41–60 of 169 Β· Page 3 of 9