
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 4)
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 16–20
- 16
Which Spark SQL format string is used to read a directory of Parquet files into a DataFrame?
Select an answer first - 17
Which Spark SQL option is commonly used when reading a CSV file to treat the first line as column names?
Select an answer first - 18
A team needs to read a large table from a JDBC source. The table has a primary key column 'id' that is not uniformly distributed (e.g., many rows have id values clustered in a small range). They want to parallelize the read but are concerned about data skew causing some tasks to take much longer than others. Which approach is the most robust?
Select an answer first - 19
What is the default behavior of Spark's overwrite mode when writing to a file-based data source?
Select an answer first - 20
A company runs a daily ETL job that writes a DataFrame of customer updates to a JDBC-backed table. The table already exists and contains yesterday's data. The job must replace the entire contents of the table with today's data, and the table must not contain any rows from the previous run. Which write mode should they use?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
No more pagesBack to ASSOCIATE-DEVELOPER-APACHE-SPARK
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.