Question 21

Which of the following code blocks sorts DataFrame transactionsDf both by column storeId in ascending and by column productId in descending order, in this priority?
  • Question 22

    Which of the following code blocks shows the structure of a DataFrame in a tree-like way, containing both column names and types?
  • Question 23

    Which of the following describes a difference between Spark's cluster and client execution modes?
  • Question 24

    Which of the following describes Spark's Adaptive Query Execution?
  • Question 25

    The code block displayed below contains an error. The code block is intended to perform an outer join of DataFrames transactionsDf and itemsDf on columns productId and itemId, respectively.
    Find the error.
    Code block:
    transactionsDf.join(itemsDf, [itemsDf.itemId, transactionsDf.productId], "outer")