wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

NM-BIG DATA Course

Total questions: 20

Worksheet time: 11mins

Name
Class
Date
1.

Which is the correct cat command to append the content of file1.txt to file2.txt?

a)

cat file1.txt >>file2.txt

b)

cat file1.txt >file2.txt

c)

cat file2.txt >>file1.txt

d)

cat file1.txt >file2.txt

2.

Which one of these is not an example of data generated by people?

a)

User ratings for a movie or product

b)

Facebook and Twitter posts

c)

Data generated by weather stations

d)

Data collected from users in a marketing survey

3.

How is structured data different from unstructured data?

a)

Unstructured data is only generated by machines, whereas structured data is generated by both machines and users

b)

Unstructured data represents around 5-10% of the total data, whereas structured data represents 80% of the entire data

c)

Unstructured data is not organized into a format, whereas structured data has a specific format

d)

Structured data is not easy to store and process, whereas unstructured data can be easily stored and processed using an RDBMS

4.

Assuming that there is no backup Name Node, why is it not advisable to provision a Name Node using commodity hardware whereas a Data Node can very easily be built using a commodity hardware?

a)

If a Data Node fails, the cluster will be unusable whereas if a Name Node fails, metadata can be retrieved from other Data Nodes.

b)

If the Name Node fails, the cluster will be unusable whereas if a Data Node fails, other data nodes will provide the replicated blocks.

c)

Commodity hardware is a very strong, costly and powerful hardware that should store data as data is very important.

d)

None of the given

5.

Scala is a statically typed language because the contents of the variable cannot be changed.

State TRUE or FALSE.

a)

TRUE

b)

FALSE

6.

While importing the data using Sqoop, what happens if the target directory already contains data?

a)

The import does not happen to avoid accidental overwrite of data

b)

The import does happen and overwrites the existing data

7.

Which of the following is/are true?

A) Spark is 10x slower than Map-reduce

B) Hadoop Map-Reduce allows parallel processing of huge amounts of data

C) Map Reduce is inherently slow because of enormous disk I/O operations

D) Spark uses Disk to hold intermediate function output

a)

Both A and B

b)

Only C

c)

Both B and C

d)

Only D

8.

How many Spark Context can be active per JVM?

a)

2

b)

1

c)

3

d)

Maximum 2

9.

Which of the following can best describe Hive?

a)

Hive is a job scheduler

b)

Hive is a Data warehouse software

c)

Hive is a NoSQL Datastore

d)

Hive is a Querying language

10.

For an ad-hoc analysis, you will have to pull 50GB data from a data source. You will have to transform and process the data using Hive. After the analysis, the entire 50GB data is useless and can be deleted. Which table is well suited for such tasks

a)

External

b)

Internal

11.

Which of the following is/are TRUE about Data frames in Spark?

1. It is an immutable distributed collection of data.

2. A Data frame is a collection of data organized into named columns.

3. The Domain Specific Language was introduced in Datasets.

4. Data frame API gives compile time error when a non-existing column is invoked

a)

1,3

b)

1,2 

c)

2,3

d)

3,4

12.

Which of the following is the correct command for loading a json file?

a)

spark.load.json("/file path")

b)

spark.json.read("/file path")

c)

spark.read.json("/file path"

d)

spark.json.load("/file path")

13.

Which system manages both current and historic transactions?

a)

OLAP

b)

OLTP

c)

Relational

d)

All the given

14.

Data marts focus on an -------------- organization but data warehouse focus on ---------------- needs

a)

entire, specific

b)

specific, entire

c)

entire, entire

d)

specific, specific

15.

Which of the following are the characteristics of Flume?

1. Fault - tolerant

2. Scales by itself

3. Extensible

4. Ingests data form RDBMS

a)

Only 1

b)

Only 2 and 3

c)

Only 1 and 2

d)

Only 1, 2 and 3

16.

Which of the following commands will create a Kafka topic named edu_students having 5 partitions?

a)

bin/kafka-topics.sh--zookeeper localhost:2181 --create --topic edu_students --partitions 5 --replication-factor 1

b)

bin/kafka-topics.sh --zookeeper localhost:2181 --create --topic edu_students --replication-factor1

c)

bin/kafka-topics.sh --zookeeper localhost:2181 --create --topic edu_students --parttions5

d)

bin/kafka-topics.sh --zookeeper localhost:2181 -create -topic edu_students --partitions5--replication-factor1

17.

Which of the following is not a characteristic of Spark Streaming?

a)

Low Latency

b)

Fault Tolerance

c)

Tuple at a time processing

d)

Real-time insights

18.

How many RDDs would be generated within the time period 101 seconds if the batch interval is set to 3 seconds per batch?

a)

31

b)

32

c)

33

d)

34

19.

Which of the following may have a schema that is contained within the data itself?

a)

Structured data

b)

Unstructured data

c)

Semi-structured data  

d)

All the given

20.

A file of size 610MB is copied from the local file system to HDFS. What will be the sequential size distribution of the file blocks/chunks, assuming that we use the default block size of 128MB.

a)

98MB, 128MB, 128MB, 128MB, 128MB

b)

128MB, 128MB, 98MB, 128MB, 128MB

c)

128MB, 128MB, 128MB, 128MB, 98MB

d)

120MB, 120MB, 120MB, 125MB, 125MB