Databricks Certified Data Engineer Associate Exam Databricks-Certified-Data-Engineer-Associate Question # 16 Topic 2 Discussion

Databricks Certified Data Engineer Associate Exam Databricks-Certified-Data-Engineer-Associate Question # 16 Topic 2 Discussion

Databricks-Certified-Data-Engineer-Associate Exam Topic 2 Question 16 Discussion:
Question #: 16
Topic #: 2

A data engineer has a Python variable table_name that they would like to use in a SQL query. They want to construct a Python code block that will run the query using table_name.

They have the following incomplete code block:

____(f"SELECT customer_id, spend FROM {table_name}")

Which of the following can be used to fill in the blank to successfully complete the task?


A.

spark.delta.sql


B.

spark.delta.table


C.

spark.table


D.

dbutils.sql


E.

spark.sql


Get Premium Databricks-Certified-Data-Engineer-Associate Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.