Question 21

Which of the following describes Spark actions?
  • Question 22

    Which of the following code blocks reads in the parquet file stored at location filePath, given that all columns in the parquet file contain only whole numbers and are stored in the most appropriate format for this kind of data?
  • Question 23

    The code block displayed below contains an error. The code block should return the average of rows in column value grouped by unique storeId. Find the error.
    Code block:
    transactionsDf.agg("storeId").avg("value")
  • Question 24

    Which of the following statements about executors is correct, assuming that one can consider each of the JVMs working as executors as a pool of task execution slots?
  • Question 25

    Which of the following statements about stages is correct?