Question 6

Which of the elements that are labeled with a circle and a number contain an error or are misrepresented?
  • Question 7

    Which of the following code blocks reads in the JSON file stored at filePath as a DataFrame?
  • Question 8

    Which of the following code blocks returns a new DataFrame in which column attributes of DataFrame itemsDf is renamed to feature0 and column supplier to feature1?
  • Question 9

    The code block shown below should return only the average prediction error (column predError) of a random subset, without replacement, of approximately 15% of rows in DataFrame transactionsDf. Choose the answer that correctly fills the blanks in the code block to accomplish this.
    transactionsDf.__1__(__2__, __3__).__4__(avg('predError'))
  • Question 10

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