# Certified-Data-Engineer-Professional — Question 424

**Type:** multiple_choice
**Topics:** topic_1

## Question

An upstream system has been configured to pass the date for a given batch of data to the Databricks Jobs API as a parameter. The notebook to be scheduled will use this parameter to load data with the following code: df = spark.read.format("parquet").load(f"/mnt/source/(date)")
Which code block should be used to create the date Python variable used in the above code block?

## Correct Answer

_See scenario._

## Explanation

Selected Answer: E
dbutils.widget.
Just passed the exam with score >80%.
examtopics covers about 90% of questions. there were 5 questions I didn't see here in examtopics.
But friends, you need to look at the discussions, and do test yourself.
many answers provided here, even most voted answer, does NOT exists anymore in the exam - not the question, but the answer.
Wish you all good luck, friends!

**Reference:** examtopics_top_comment

---
Source: https://hiexam.net/q/databricks/Certified-Data-Engineer-Professional/424  
Practice (tracked): https://hiexam.net/study/Certified-Data-Engineer-Professional/practice