Online Access Free Associate-Developer-Apache-Spark-3.5 Practice Test
| Exam Code: | Associate-Developer-Apache-Spark-3.5 |
| Exam Name: | Databricks Certified Associate Developer for Apache Spark 3.5 - Python |
| Certification Provider: | Databricks |
| Free Question Number: | 135 |
| Posted: | Jan 05, 2026 |
You have:
DataFrame A: 128 GB of transactions
DataFrame B: 1 GB user lookup table
Which strategy is correct for broadcasting?
A data engineer is building a Structured Streaming pipeline and wants the pipeline to recover from failures or intentional shutdowns by continuing where the pipeline left off.
How can this be achieved?
1 of 55. A data scientist wants to ingest a directory full of plain text files so that each record in the output DataFrame contains the entire contents of a single file and the full path of the file the text was read from.
The first attempt does read the text files, but each record contains a single line. This code is shown below:
txt_path = "/datasets/raw_txt/*"
df = spark.read.text(txt_path) # one row per line by default
df = df.withColumn("file_path", input_file_name()) # add full path
Which code change can be implemented in a DataFrame that meets the data scientist's requirements?



