Databricks Certified Associate Developer for Apache Spark 3.0 Exam Databricks-Certified-Associate-Developer-for-Apache-Spark-3.0 Question # 53 Topic 6 Discussion

Databricks Certified Associate Developer for Apache Spark 3.0 Exam Databricks-Certified-Associate-Developer-for-Apache-Spark-3.0 Question # 53 Topic 6 Discussion

Databricks-Certified-Associate-Developer-for-Apache-Spark-3.0 Exam Topic 6 Question 53 Discussion:
Question #: 53
Topic #: 6

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'))


A.

1. sample

2. True

3. 0.15

4. filter


B.

1. sample

2. False

3. 0.15

4. select


C.

1. sample

2. 0.85

3. False

4. select


D.

1. fraction

2. 0.15

3. True

4. where


E.

1. fraction

2. False

3. 0.85

4. select


Get Premium Databricks-Certified-Associate-Developer-for-Apache-Spark-3.0 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.