NEW
Font size
WorksheetsNM-BIG DATA Course
Total questions: 20
Worksheet time: 11mins
Which is the correct cat command to append the content of file1.txt to file2.txt?
cat file1.txt >>file2.txt
cat file1.txt >file2.txt
cat file2.txt >>file1.txt
cat file1.txt >file2.txt
Which one of these is not an example of data generated by people?
User ratings for a movie or product
Facebook and Twitter posts
Data generated by weather stations
Data collected from users in a marketing survey
How is structured data different from unstructured data?
Unstructured data is only generated by machines, whereas structured data is generated by both machines and users
Unstructured data represents around 5-10% of the total data, whereas structured data represents 80% of the entire data
Unstructured data is not organized into a format, whereas structured data has a specific format
Structured data is not easy to store and process, whereas unstructured data can be easily stored and processed using an RDBMS
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?
If a Data Node fails, the cluster will be unusable whereas if a Name Node fails, metadata can be retrieved from other Data Nodes.
If the Name Node fails, the cluster will be unusable whereas if a Data Node fails, other data nodes will provide the replicated blocks.
Commodity hardware is a very strong, costly and powerful hardware that should store data as data is very important.
None of the given
Scala is a statically typed language because the contents of the variable cannot be changed.
State TRUE or FALSE.
TRUE
FALSE
While importing the data using Sqoop, what happens if the target directory already contains data?
The import does not happen to avoid accidental overwrite of data
The import does happen and overwrites the existing data
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
Both A and B
Only C
Both B and C
Only D
How many Spark Context can be active per JVM?
2
1
3
Maximum 2
Which of the following can best describe Hive?
Hive is a job scheduler
Hive is a Data warehouse software
Hive is a NoSQL Datastore
Hive is a Querying language
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
External
Internal
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
1,3
1,2
2,3
3,4
Which of the following is the correct command for loading a json file?
spark.load.json("/file path")
spark.json.read("/file path")
spark.read.json("/file path"
spark.json.load("/file path")
Which system manages both current and historic transactions?
OLAP
OLTP
Relational
All the given
Data marts focus on an -------------- organization but data warehouse focus on ---------------- needs
entire, specific
specific, entire
entire, entire
specific, specific
Which of the following are the characteristics of Flume?
1. Fault - tolerant
2. Scales by itself
3. Extensible
4. Ingests data form RDBMS
Only 1
Only 2 and 3
Only 1 and 2
Only 1, 2 and 3
Which of the following commands will create a Kafka topic named edu_students having 5 partitions?
bin/kafka-topics.sh--zookeeper localhost:2181 --create --topic edu_students --partitions 5 --replication-factor 1
bin/kafka-topics.sh --zookeeper localhost:2181 --create --topic edu_students --replication-factor1
bin/kafka-topics.sh --zookeeper localhost:2181 --create --topic edu_students --parttions5
bin/kafka-topics.sh --zookeeper localhost:2181 -create -topic edu_students --partitions5--replication-factor1
Which of the following is not a characteristic of Spark Streaming?
Low Latency
Fault Tolerance
Tuple at a time processing
Real-time insights
How many RDDs would be generated within the time period 101 seconds if the batch interval is set to 3 seconds per batch?
31
32
33
34
Which of the following may have a schema that is contained within the data itself?
Structured data
Unstructured data
Semi-structured data
All the given
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.
98MB, 128MB, 128MB, 128MB, 128MB
128MB, 128MB, 98MB, 128MB, 128MB
128MB, 128MB, 128MB, 128MB, 98MB
120MB, 120MB, 120MB, 125MB, 125MB
