Databricks certification · Exam Databricks-Certified-Associate-Developer-for-Apache-Spark-3.5

Databricks-Certified-Associate-Developer-for-Apache-Spark-3.5 Mock Exam

Databricks Certified Associate Developer for Apache Spark 3.5-Python

Find out if you're ready for Databricks-Certified-Associate-Developer-for-Apache-Spark-3.5. Take the free timed mock exam and get your score in minutes, or study the free Databricks-Certified-Associate-Developer-for-Apache-Spark-3.5 questions below with answers and explanations.

9 questions · 15 minutes · free, no sign-up

Free Databricks-Certified-Associate-Developer-for-Apache-Spark-3.5 questions

1–9 of 9 free
Question 1 Choose 1
A data scientist is working on a large dataset in Apache Spark using PySpark. The data scientist has a DataFramedfwith columnsuser_id,product_id, andpurchase_amountand needs to perform some operations on this data efficiently.
Which sequence of operations results in transformations that require a shuffle followed by transformations that do not?
Show answerHide answer

Correct answer: D df.groupBy("user_id").agg(sum("purchase_amount").alias("total_purchase")).repartition(10)

Question 2 Choose 1
What is the relationship between jobs, stages, and tasks during execution in Apache Spark?
Show answerHide answer

Correct answer: A A job contains multiple stages, and each stage contains multiple tasks.

Question 3 Choose 1
Which command overwrites an existing JSON file when writing a DataFrame?
Show answerHide answer

Correct answer: A df.write.mode("overwrite").json("path/to/file")

Question 4 Choose 1
Which configuration can be enabled to optimize the conversion between Pandas and PySpark DataFrames using Apache Arrow?
Show answerHide answer

Correct answer: B spark.conf.set("spark.sql.execution.arrow.pyspark.enabled", "true")

Question 5 Choose 1
A Data Analyst needs to retrieve employees with 5 or more years of tenure.
Which code snippet filters and shows the list?
Show answerHide answer

Correct answer: A employees_df.filter(employees_df.tenure >= 5).show()

Question 6 Choose 2
A data engineer is reviewing a Spark application that applies several transformations to a DataFrame but notices that the job does not start executing immediately.
Which two characteristics of Apache Spark's execution model explain this behavior?
Choose 2 answers:
Show answerHide answer

Correct answer: B, E Only actions trigger the execution of the transformation pipeline. Transformations are evaluated lazily.

Question 7 Choose 1
A data engineer observes that an upstream streaming source sends duplicate records, where duplicates share the same key and have at most a 30-minute difference inevent_timestamp. The engineer adds:
dropDuplicatesWithinWatermark("event_timestamp", "30 minutes")
What is the result?
Show answerHide answer

Correct answer: B It removes duplicates that arrive within the 30-minute window specified by the watermark

Question 8 Choose 1
A Spark application is experiencing performance issues in client mode because the driver is resource-constrained.
How should this issue be resolved?
Show answerHide answer

Correct answer: C Switch the deployment mode to cluster mode

Question 9 Choose 1
You have:
DataFrame A: 128 GB of transactions
DataFrame B: 1 GB user lookup table
Which strategy is correct for broadcasting?
Show answerHide answer

Correct answer: B DataFrame B should be broadcasted because it is smaller and will eliminate the need for shuffling DataFrame A

That's the last free question

You've seen the free 30% (9 of 31 questions). Full access unlocks every question and full-length Databricks-Certified-Associate-Developer-for-Apache-Spark-3.5 mock exams (65 questions, 105 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the Databricks-Certified-Associate-Developer-for-Apache-Spark-3.5 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real Databricks-Certified-Associate-Developer-for-Apache-Spark-3.5 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full Databricks-Certified-Associate-Developer-for-Apache-Spark-3.5 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 31questions in the bank
  • Newmock on every attempt