Questions and Answers

Question NeWt0UFwUNmVZuSfv1NT

Question

A data engineer needs to apply custom logic to string column city in table stores for a specific use case. In order to apply this custom logic at scale, the data engineer wants to create a SQL user-defined function (UDF). Which of the following code blocks creates this SQL UDF?

Choices

  • A:
  • B:
  • C:
  • D:
  • E:

Question ScPl49LwyQHpkOWBXrYz

Question

Which of the following commands will return the number of null values in the member_id column?

Choices

  • A: SELECT count(member_id) FROM my_table;
  • B: SELECT count(member_id) - count_null(member_id) FROM my_table;
  • C: SELECT count_if(member_id IS NULL) FROM my_table;
  • D: SELECT null(member_id) FROM my_table;

Question UvGX3xpKGBOL2dlCrOmb

Question

Which tool is used by Auto Loader to process data incrementally?

Choices

  • A: Checkpointing
  • B: Spark Structured Streaming
  • C: Databricks SQL
  • D: Unity Catalog

Question X8YYGM8Cvwd6e4RjL1MA

Question

A data engineer is working with two tables. Each of these tables is displayed below in its entirety.

//IMG//

The data engineer runs the following query to join these tables together:

//IMG//

Which of the following will be returned by the above query?

Choices

  • A:
  • B:
  • C:
  • D:

Question uuK3COn08EIShoSyoZi1

Question

A data analyst has a series of queries in a SQL program. The data analyst wants this program to run every day. They only want the final query in the program to run on Sundays. They ask for help from the data engineering team to complete this task. Which of the following approaches could be used by the data engineering team to complete this task?

Choices

  • A: They could submit a feature request with Databricks to add this functionality.
  • B: They could wrap the queries using PySpark and use Python’s control flow system to determine when to run the final query.
  • C: They could only run the entire program on Sundays.
  • D: They could automatically restrict access to the source table in the final query so that it is only accessible on Sundays.
  • E: They could redesign the data model to separate the data used in the final query into a new table.