Databricks Certified Associate Developer for Apache Spark exam guide
What the None exam looks like, what it covers, and how to prepare.
The exam at a glance
| Exam code | None |
|---|---|
| Questions | 45 scored; unscored items may be added (count not stated, extra time given) |
| Time | 90 minutes |
| Passing score | Not published |
| Price | USD 200 |
| Question types | multiple choice |
| How you take it | proctored, online or at a test center |
| Valid for | 2 years; recertify by passing the current version of the exam |
| Recommended experience | none required; related training highly recommended; 6+ months hands-on experience with exam guide tasks recommended |
| Languages | English |
Good to know: Databricks does not publish the passing score. A failed exam can be retaken after 14 days at the full price.
What the exam covers
| Domain | Share of the exam |
|---|---|
| 1. Apache Spark Architecture and Components | 20% |
| 2. Using Spark SQL | 20% |
| 3. DataFrame/DataSet API Applications | 30% |
| 4. Troubleshooting and Tuning Apache Spark DataFrame API Applications | 10% |
| 5. Structured Streaming | 10% |
| 6. Using Spark Connect to deploy applications | 5% |
| 7. Using Pandas API on Apache Spark | 5% |
Try 10 sample questions
From Practice Exam 5, one or two per domain. No account needed.
A developer runs spark-submit and leaves out the --deploy-mode flag. Where does the driver run?
- A. Locally, as an external client, outside the cluster
- B. On a worker node inside the cluster
- C. On the host of the cluster manager
- D. Nowhere
Show answer
Answer: A. Correct. The default value of --deploy-mode is client, so the submitter launches the driver outside the cluster.
What is GROUP BY GROUPING SETS ((warehouse), (product)) equal to?
- A. GROUP BY warehouse, product with one extra row for a grand total
- B. A cross join of the warehouse values with the product values, followed by a count
- C. A union of GROUP BY warehouse and GROUP BY product
- D. One grouping on the pair (warehouse, product) and nothing else
Show answer
Answer: C. Correct. Each grouping set produces its own group of rows, and the results are combined.
A developer adds 50 new columns by calling withColumn inside a loop, and the query plans become huge. What does the PySpark documentation recommend?
- A. Call count() after every withColumn to keep the plan short
- B. Raise spark.sql.shuffle.partitions so that each added column gets its own partition
- C. Call drop() between the withColumn calls so that the plan is rebuilt each time
- D. Use select() with several columns at once
Show answer
Answer: D. Correct. Each withColumn call adds a projection, so many calls in a loop build a huge plan and can even cause a StackOverflowException. One select() that lists all the new columns adds them in a single projection.
In the Stages tab, a task shows a long scheduler delay. What does this metric measure?
- A. The time the task waits to be scheduled before it gets to run
- B. The time spent deserializing the task on an executor
- C. The time waiting for shuffle data from remote machines
- D. The time the driver needed to build the query plan
Show answer
Answer: A. Correct. Scheduler delay is the time a task waits to be scheduled for execution. A long delay often means there are not enough free executor cores for the tasks that are ready.
A team wants to use the socket source for a production stream. What does the guide say about it?
- A. It is fine for production, as a checkpoint makes it exactly-once
- B. It works only together with the file sink, which stores the lost data
- C. It is for testing only, because it has no end-to-end fault tolerance
- D. It is allowed only in Update mode, which makes up for the missing offsets
Show answer
Answer: C. Correct. The socket source does not guarantee that data can be replayed from checkpointed offsets after a failure.
What does the Spark Connect documentation say about authentication?
- A. Each client must set a user name and a password in the SPARK_REMOTE variable
- B. No built-in authentication, but proxies can be used
- C. Authentication is forbidden
- D. Kerberos is built in and every connection must use it
Show answer
Answer: B. Correct. Spark Connect is designed to work with existing authentication infrastructure.
The plan of a pandas-on-Spark DataFrame has become huge and planning is slow. Which call cuts the plan and keeps the result on the executors?
- A. psdf.spark.checkpoint()
- B. psdf.spark.explain()
- C. psdf.spark.local_checkpoint()
- D. psdf.sort_values('a').head(10)
Show answer
Answer: C. Correct. local_checkpoint stores the result in the executor.
A developer tests an application on a laptop and wants Spark to use as many worker threads as the machine has logical cores. Which master URL fits?
- A. local
- B. local-cluster[2,1,1024]
- C. spark://localhost:7077
- D. local[*]
Show answer
Answer: D. Correct. local[*] runs Spark locally with as many worker threads as logical cores.
A table has an array column arr, and some arrays are empty. The result must keep those rows, with NULL in place of the element. Which clause fits?
- A. LATERAL VIEW OUTER EXPLODE(arr) t AS item
- B. SELECT EXPLODE(arr) FROM t
- C. LATERAL VIEW INNER EXPLODE(arr) t AS item
- D. LATERAL VIEW EXPLODE(arr) t AS item
Show answer
Answer: A. Correct. With OUTER, an empty or NULL input array gives NULL and the original row is kept.
A developer runs df.drop('nickname') on a DataFrame that has no column called nickname. What happens?
- A. Spark drops the column whose name is the closest match
- B. The DataFrame is returned with no rows
- C. An AnalysisException tells that the column cannot be found
- D. Nothing, because drop is a no-op for a missing name
Show answer
Answer: D. Correct. The DataFrame comes back unchanged and no error is raised.
A simple way to prepare
- Find your starting point. Take Practice Exam 1 as a free timed attempt. Your score by domain shows where to focus.
- Study your weakest domains first. Use the official study guide and documentation linked below.
- Practice with explanations. Work through the other practice exams in study mode and read why each answer is right or wrong.
- Rehearse the real thing. Take a final practice exam in timed mode. Book the real exam when every domain feels comfortable.
Official sources
Checked against these pages on December 5, 2026. Exam details change, so confirm them on the official page before you book.
CertMonster is independent practice material, not affiliated with or endorsed by Databricks.