wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Apache Spark

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

The primary Machine Learning API for Spark is now the _____ based API.

a)

DataFrame

b)

Dataset

c)

RDD

d)

All of the mentioned

2.

Which of the following is a module for Structured data processing?

a)

GraphX

b)

MLlib

c)

Spark SQL

d)

Spark R

3.

SparkSQL translates commands into codes. These codes are processed by

a)

Driver nodes

b)

Executor Nodes

c)

Cluster manager

d)

None of the Mentioned

4.

Spark SQL plays the main role in the optimization of queries.

a)

True

b)

False

5.

Which of the following is not a Spark SQL query execution phases?

a)

Analysis

b)

Logical Optimization

c)

Execution

d)

Physical planning

6.

DataFrame in Apache Spark prevails over RDD and does not contain any feature of RDD.

a)

True

b)

False

7.

Which of the following is not true for DataFrame?

a)

We can build DataFrame from different data sources. structured data file, tables in Hive

b)

The Application Programming Interface (APIs) of DataFrame is available in various languages

c)

Both in Scala and Java, we represent DataFrame as Dataset of rows.

d)

DataFrame in Apache Spark is behind RDD

8.

We can create DataFrame using

a)

Tables in Hive

b)

Structured data files

c)

External databases

d)

All of the above

9.

Which of the following is the fundamental data structure of Spark?

a)

RDD

b)

DataFrame

c)

Dataset

d)

None of the mentioned

10.

Is MLlib deprecated?

a)

Yes

b)

No