Associate-Developer-Apache-Spark試験無料問題集「Databricks Certified Associate Developer for Apache Spark 3.0 認定」

Which of the following code blocks returns DataFrame transactionsDf sorted in descending order by column predError, showing missing values last?

解説: (GoShiken メンバーにのみ表示されます)
Which of the following statements about lazy evaluation is incorrect?

解説: (GoShiken メンバーにのみ表示されます)
Which of the following describes a valid concern about partitioning?

解説: (GoShiken メンバーにのみ表示されます)
Which of the following code blocks returns a copy of DataFrame transactionsDf in which column productId has been renamed to productNumber?

解説: (GoShiken メンバーにのみ表示されます)
The code block shown below should return a copy of DataFrame transactionsDf without columns value and productId and with an additional column associateId that has the value 5. Choose the answer that correctly fills the blanks in the code block to accomplish this.
transactionsDf.__1__(__2__, __3__).__4__(__5__, 'value')

解説: (GoShiken メンバーにのみ表示されます)
Which of the following code blocks generally causes a great amount of network traffic?

解説: (GoShiken メンバーにのみ表示されます)
Which of the following code blocks returns about 150 randomly selected rows from the 1000-row DataFrame transactionsDf, assuming that any row can appear more than once in the returned DataFrame?

解説: (GoShiken メンバーにのみ表示されます)
Which of the following code blocks returns a copy of DataFrame transactionsDf where the column storeId has been converted to string type?

解説: (GoShiken メンバーにのみ表示されます)
Which of the following code blocks returns a single row from DataFrame transactionsDf?
Full DataFrame transactionsDf:
1.+-------------+---------+-----+-------+---------+----+
2.|transactionId|predError|value|storeId|productId| f|
3.+-------------+---------+-----+-------+---------+----+
4.| 1| 3| 4| 25| 1|null|
5.| 2| 6| 7| 2| 2|null|
6.| 3| 3| null| 25| 3|null|
7.| 4| null| null| 3| 2|null|
8.| 5| null| null| null| 2|null|
9.| 6| 3| 2| 25| 2|null|
10.+-------------+---------+-----+-------+---------+----+

解説: (GoShiken メンバーにのみ表示されます)
Which of the following statements about data skew is incorrect?

解説: (GoShiken メンバーにのみ表示されます)
Which of the following code blocks returns a one-column DataFrame for which every row contains an array of all integer numbers from 0 up to and including the number given in column predError of DataFrame transactionsDf, and null if predError is null?
Sample of DataFrame transactionsDf:
1.+-------------+---------+-----+-------+---------+----+
2.|transactionId|predError|value|storeId|productId| f|
3.+-------------+---------+-----+-------+---------+----+
4.| 1| 3| 4| 25| 1|null|
5.| 2| 6| 7| 2| 2|null|
6.| 3| 3| null| 25| 3|null|
7.| 4| null| null| 3| 2|null|
8.| 5| null| null| null| 2|null|
9.| 6| 3| 2| 25| 2|null|
10.+-------------+---------+-----+-------+---------+----+

解説: (GoShiken メンバーにのみ表示されます)
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__))

解説: (GoShiken メンバーにのみ表示されます)