DATABRICKS-CERTIFIED-ASSOCIATE-DEVELOPER-FOR-APACHE-SPARK Exam Details

  • Exam Code
    :DATABRICKS-CERTIFIED-ASSOCIATE-DEVELOPER-FOR-APACHE-SPARK
  • Exam Name
    :Databricks Certified Associate Developer for Apache Spark 3.0
  • Certification
    :Databricks Certifications
  • Vendor
    :Databricks
  • Total Questions
    :180 Q&As
  • Last Updated
    :Jul 12, 2026

Databricks DATABRICKS-CERTIFIED-ASSOCIATE-DEVELOPER-FOR-APACHE-SPARK Online Questions & Answers

  • Question 91:

    Which of the following describes a shuffle?

    A. A shuffle is a process that is executed during a broadcast hash join.
    B. A shuffle is a process that compares data across executors.
    C. A shuffle is a process that compares data across partitions.
    D. A shuffle is a Spark operation that results from DataFrame.coalesce().
    E. A shuffle is a process that allocates partitions to executors.

  • Question 92:

    Which of the following describes the role of tasks in the Spark execution hierarchy?

    A. Tasks are the smallest element in the execution hierarchy.
    B. Within one task, the slots are the unit of work done for each partition of the data.
    C. Tasks are the second-smallest element in the execution hierarchy.
    D. Stages with narrow dependencies can be grouped into one task.
    E. Tasks with wide dependencies can be grouped into one stage.

  • Question 93:

    The code block shown below should return a DataFrame with two columns, itemId and col. In this DataFrame, for each element in column attributes of DataFrame itemDf there should be a separate

    row in which the column itemId contains the associated itemId from DataFrame itemsDf. The new DataFrame should only contain rows for rows in DataFrame itemsDf in which the column attributes

    contains the element cozy.

    A sample of DataFrame itemsDf is below.

    Code block:

    itemsDf.__1__(__2__).__3__(__4__, __5__(__6__))

    A. 1. filter 2. array_contains("cozy") 3. select 4. "itemId" 5. explode 6. "attributes"
    B. 1. where 2. "array_contains(attributes, 'cozy')" 3. select 4. itemId 5. explode 6. attributes
    C. 1. filter 2. "array_contains(attributes, 'cozy')" 3. select 4. "itemId" 5. map 6. "attributes"
    D. 1. filter 2. "array_contains(attributes, cozy)" 3. select 4. "itemId" 5. explode 6. "attributes"
    E. 1. filter 2. "array_contains(attributes, 'cozy')" 3. select 4. "itemId" 5. explode 6. "attributes"

  • Question 94:

    The code block shown below should return a column that indicates through boolean variables whether rows in DataFrame transactionsDf have values greater or equal to 20 and smaller or equal to 30 in column storeId and have the value 2 in column productId. Choose the answer that correctly fills the blanks in the code block to accomplish this.

    transactionsDf.__1__((__2__.__3__) __4__ (__5__))

    A. 1. select 2. col("storeId") 3. between(20, 30) 4. and 5. col("productId")==2
    B. 1. where 2. col("storeId") 3. geq(20).leq(30) 4. and 5. col("productId")==2
    C. 1. select 2. "storeId" 3. between(20, 30) 4. andand 5. col("productId")==2
    D. 1. select 2. col("storeId") 3. between(20, 30) 4. andand 5. col("productId")=2
    E. 1. select 2. col("storeId") 3. between(20, 30) 4. and 5. col("productId")==2

  • Question 95:

    Which of the following statements about data skew is incorrect?

    A. Spark will not automatically optimize skew joins by default.
    B. Broadcast joins are a viable way to increase join performance for skewed data over sort- merge joins.
    C. In skewed DataFrames, the largest and the smallest partition consume very different amounts of memory.
    D. To mitigate skew, Spark automatically disregards null values in keys when joining.
    E. Salting can resolve data skew.

  • Question 96:

    The code block displayed below contains an error. The code block should combine data from DataFrames itemsDf and transactionsDf, showing all rows of DataFrame itemsDf that have a matching value in column itemId with a value in

    column transactionsId of DataFrame transactionsDf.

    Find the error.

    Code block:

    itemsDf.join(itemsDf.itemId==transactionsDf.transactionId)

    A. The join statement is incomplete.
    B. The union method should be used instead of join.
    C. The join method is inappropriate.
    D. The merge method should be used instead of join.
    E. The join expression is malformed.

  • Question 97:

    Which of the following is the idea behind dynamic partition pruning in Spark?

    A. Dynamic partition pruning is intended to skip over the data you do not need in the results of a query.
    B. Dynamic partition pruning concatenates columns of similar data types to optimize join performance.
    C. Dynamic partition pruning performs wide transformations on disk instead of in memory.
    D. Dynamic partition pruning reoptimizes physical plans based on data types and broadcast variables.
    E. Dynamic partition pruning reoptimizes query plans based on runtime statistics collected during query execution.

  • Question 98:

    Which of the following describes Spark's standalone deployment mode?

    A. Standalone mode uses a single JVM to run Spark driver and executor processes.
    B. Standalone mode means that the cluster does not contain the driver.
    C. Standalone mode is how Spark runs on YARN and Mesos clusters.
    D. Standalone mode uses only a single executor per worker per application.
    E. Standalone mode is a viable solution for clusters that run multiple frameworks, not only Spark.

  • Question 99:

    Which of the following describes the role of the cluster manager?

    A. The cluster manager schedules tasks on the cluster in client mode.
    B. The cluster manager schedules tasks on the cluster in local mode.
    C. The cluster manager allocates resources to Spark applications and maintains the executor processes in client mode.
    D. The cluster manager allocates resources to Spark applications and maintains the executor processes in remote mode.
    E. The cluster manager allocates resources to the DataFrame manager.

  • Question 100:

    The code block shown below should return the number of columns in the CSV file stored at location filePath. From the CSV file, only lines should be read that do not start with a # character. Choose the answer that correctly fills the blanks in the code block to accomplish this.

    Code block:

    __1__(__2__.__3__.csv(filePath, __4__).__5__)

    A. 1. size 2. spark 3. read() 4. escape='#' 5. columns
    B. 1. DataFrame 2. spark 3. read() 4. escape='#' 5. shape[0]
    C. 1. len 2. pyspark 3. DataFrameReader 4. comment='#' 5. columns
    D. 1. size 2. pyspark 3. DataFrameReader 4. comment='#' 5. columns
    E. 1. len 2. spark 3. read 4. comment='#' 5. columns

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Databricks exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your DATABRICKS-CERTIFIED-ASSOCIATE-DEVELOPER-FOR-APACHE-SPARK exam preparations and Databricks certification application, do not hesitate to visit our Vcedump.com to find your solutions here.