wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

BDA- MSTAT

Total questions: 23

Worksheet time: 16mins

Name
Class
Date
1.

Which of the following statements is true about Hive indexes?

a)

Hive does not support indexing

b)
Hive indexes do not affect query performance at all.
c)

Indexes are automatically created for all Hive tables

d)

Indexes are stored as separate tables in Hive.

2.

___________ is the primary role of the Hive Metastore

a)

Store metadata information about Hive tables

b)

Manage the distributed storage for Hive queries

c)
Optimize data storage
d)

To store the actual data of Hive tables

3.

Three user interfaces in Hive are?

a)

Hive CLI

b)

Hive HD insight

c)

Hive Web Interface

d)
Hive API, Hive Command Line, Hive Desktop Client
4.

Apache Hive is an open-source ___ and data warehousing infrastructure that processes ________ed data in Hadoop

(a)  

5.

(a)   is the language used by Hive

6.

One primary difference between Hadoop and Spark

a)
Hadoop is in-memory processing; Spark is batch processing.
b)
Hadoop uses SQL for querying; Spark uses MapReduce.
c)
Hadoop is batch processing; Spark is in-memory processing.
d)
Hadoop is designed for real-time analytics; Spark is for data storage.
7.

(a)   optimizes the way in which we can represent vertex and edges in Spark

8.

______ is an execution model that is responsible for job scheduling in Spark

a)

Spark Streaming

b)

Apache Spark Core

c)

Spark SQL

d)
SQL
9.

in Spark worker Node is used for?

a)
Storing data in a centralized database.
b)
Executing tasks and processing data in parallel.
c)
Managing user permissions and access control.
d)
Handling network communication between nodes.
10.

__________ is a function that produces new RDD from the existing RDDs.

a)
Transformation
b)
Method
c)
Operation
d)
Action
11.

Resilient Distributed Dataset (RDD) 3 utilities in Spark

a)

Fault Tolerance

b)

In-Memory Computation

c)

Batch Processing

d)

Lazy Evaluation

12.

3 RDD action methods are?

a)
map()
b)

collect()

c)

count(),

d)
reduce()
e)

saveAsTextFile()

13.

In Apache Spark, a Directed Acyclic Graph (DAG) is a sequence of (a)   operations performed on the data, where each operation represents a step in the data processing pipeline.

14.

The Spark architecture depends upon two abstractions

a)

RDD

b)

DAG

c)

MapReduce

d)

Real Time abstraction

15.

HDFS cannot do _____

a)
batch data analysis
b)
static data storage
c)
data visualization tasks
d)
real-time data processing
16.

If You had to build an AI system which service of Spark would you use?

(a)  

17.

________ transform in Spark is used to remove duplicate rows from a DataFrame or RDD.

a)

Unique

b)

Distinct

c)

Special

d)

Distinctive

18.

SparkContext is created in __________

a)

Driver Program 

b)

Cluster Manager

c)
the Spark shell
d)

Executors

19.

Hive and other tools like Pig and Flink are part of which ecosystem?

a)
Apache Kafka ecosystem
b)
Apache Spark ecosystem
c)
Apache Hadoop ecosystem
20.

Once a view is created in Hive, it cannot be updated or altered.

a)

True

b)

False

21.

Hive Bucketing is also known as _______

a)
Hive Clustering
b)
Hive Grouping
c)
Hive Segmentation
d)
Hive Partitioning
22.

If a dataset has 5 values and the table is bucketed into 2 buckets, the 3rd item will be stored in B (a)   _(Single digit number)

23.

If a dataset has 5 values and the table is bucketed into 2 buckets, the 4th item will be stored in _____ bucket file

a)

00003

b)

00002

c)

00000

d)

00001