wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Apache Hadoop and Spark Quiz

Total questions: 18

Worksheet time: 9mins

Name
Class
Date
1.

Which of the following components is NOT a part of the Apache Hadoop ecosystem?

a)

Hive

b)

Pig

c)

ZooKeeper

d)

HBase

2.

What is the default block size for HDFS in Apache Hadoop?

a)

128 MB

b)

64 MB

c)

256 MB

d)

512 MB

3.

Which of the following is a benefit of using Apache Spark over Hadoop MapReduce?

a)

Lower cost

b)

In-memory processing

c)

More languages supported

d)

Easier to install

4.

What is the maximum item size in Amazon DynamoDB?

a)

400 KB

b)

1 MB

c)

200 KB

d)

2 MB

5.

Point out the correct statement.

a)

Spark enables Apache Hive users to run their unmodified queries much faster.

b)

Spark interoperates only with Hadoop.

c)

Spark is a popular data warehouse solution running on top of Hadoop.

d)

All of the above

6.

Match the correct description of Apache Spark components and features:

a)

A feature where transformations in Spark are not evaluated until you trigger an action - Lazy execution

b)

A program that declares the transformation and action on the data RDDs - Driver

c)

An optimization framework allows Spark to automatically transform SQL queries by adding new optimizations to build a faster processing system - Catalyst framework

d)

An operation used to re-distribute data across multiple partitions. It runs an operation on all elements of all partitions - Shuffle

e)

Any node that runs the application code in the Spark cluster - Worker

7.

When you increase the number of files stored in HDFS, the memory required by NameNode:

a)

Increases

b)

Decreases

c)

Remains unchanged

d)

May increase or decrease

8.

Most NoSQL databases support automatic ________, meaning that you get high availability and disaster recovery.

a)

Processing

b)

Scalability

c)

Replication

d)

All of the above

9.

Which of the following statements is TRUE of NoSQL databases?

a)

They don't support any Structured Query Language (SQL).

b)

They are useful for managing large sets of distributed data.

c)

They are the most commonly used databases today.

d)

They cannot be used in conjunction with relational databases.

10.

In Amazon EMR, what is the function of an EMR Cluster?

a)

Data storage

b)

Data coordination

c)

Data processing

d)

Data encryption

11.

In ZooKeeper, what does the term "Znode" refer to?

a)

A ZooKeeper instance

b)

A data node in ZooKeeper's hierarchical model

c)

A data encryption method

d)

A user of ZooKeeper

12.

What does EMR stand for in Amazon EMR?

a)

Elastic MapReduce

b)

Elastic MasterReduce

c)

Extended MapReduce

d)

Elastic Machine Runtime

13.

Which component is placed on top of Spark Core?

a)

Spark Streaming

b)

Spark SQL

c)

RDDs

d)

None of the above

14.

What language is NOT supported by Apache Spark for application development?

a)

Python

b)

Java

c)

C#

d)

Scala

15.

In a MapReduce job, which step comes last?

a)

Shuffle

b)

Map

c)

Sort

d)

Reduce

16.

Which mechanism is most appropriate for "Distributed coordination service with a reliable leader node"?

a)

ZooKeeper

b)

HDFS

c)

HBase

d)

Paxos

17.

Which of the following is NOT a benefit of using Amazon EMR?

a)

Scalability

b)

Low cost

c)

Real-time processing

d)

Easy to use

18.

As compared to RDBMS, Apache Hadoop:

a)

Has higher data integrity

b)

Does ACID transactions

c)

Works better on unstructured and semi-structured data

d)

Is suitable for read and write many times