Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Databricks logo

DatabricksCertified Associate Developer for Apache Spark

Domain 2Objective 1

Utilize Common Data Sources Such as JDBC, Files, Etc., to Efficiently Read from and Write to Spark DataFrames Using Spark SQL, Including Overwriting and Partitioning by Column. ASSOCIATE-DEVELOPER-APACHE-SPARK Practice Questions (Page 1)

Part of the Using Spark SQL domain, which accounts for 20% of the ASSOCIATE-DEVELOPER-APACHE-SPARK exam. Databricks does not publish an official question count, but from its 90-minute exam (~35–60 total, ~7–12 in this domain), expect 2–3 from this objective — we provide 20 practice questions to prepare you well beyond it. (estimate)

20questions here
4free pages
7concepts
20%of the exam

Questions 1–5

  1. 1foundation · easy

    Which Spark SQL write mode should you use to replace the contents of an existing table with new data?

    Select an answer first
  2. 2application · medium

    A team writes a DataFrame to a JDBC table using the overwrite mode. The target table has foreign key constraints from other tables. What is the most likely outcome?

    Select an answer first
  3. 3foundation · easy

    Which practice can help avoid unnecessary data shuffles when writing a DataFrame?

    Select an answer first
  4. 4application · medium

    A data engineering team needs to read a large PostgreSQL table into a Spark DataFrame for a nightly batch job. The table has 50 million rows and the team wants to minimize the load time and avoid overwhelming the database. They plan to use Spark SQL with the JDBC source. Which approach should they use?

    Select an answer first
  5. 5expert · hard

    A team writes a DataFrame to a JDBC table using mode("overwrite"). The target table has a large number of rows, and the team is concerned about the time it takes to replace the data. They notice that the overwrite operation is slow. Which factor is the most likely cause?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Databricks. “ASSOCIATE-DEVELOPER-APACHE-SPARK” is a trademark of its owner, used for identification only.