nerdexam
DatabricksDatabricks

DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE · Question #74

DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE Question #74: Real Exam Question with Answer & Explanation

Sign in or unlock DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE to reveal the answer and full explanation for question #74. The question stem and answer options stay visible for context.

Submitted by rachelw· Apr 18, 2026ELT with Spark SQL and Python

Question

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?

Options

  • Aspark.delta.sql
  • Bspark.delta.table
  • Cspark.table
  • Ddbutils.sql
  • Espark.sql

Unlock DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE to see the answer

You've previewed enough free DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE questions. Unlock DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Spark SQL#Python in Spark#SparkSession#Databricks Notebooks
Full DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE PracticeBrowse All DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE Questions