wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Hadoop-the-Definitive-Guide-3rd-Edition-Chapter-1 - Meet Hadoop

Total questions: 75

Worksheet time: 38mins

Name
Class
Date
1.

According to Grace Hopper, what should we focus on instead of trying to build bigger computers?

a)

Building more systems of computers

b)

Building faster networks

c)

Increasing storage capacity

d)

Improving user interfaces

2.

What is the estimated size of the "digital universe" in 2006 according to IDC?

a)

0.18 zettabytes

b)

1.8 zettabytes

c)

10 terabytes

d)

2.5 petabytes

3.

Which of the following best describes a zettabyte?

a)

One thousand exabytes, one million petabytes, or one billion terabytes

b)

One thousand gigabytes, one million megabytes, or one billion kilobytes

c)

One thousand terabytes, one million gigabytes, or one billion megabytes

d)

One thousand petabytes, one million terabytes, or one billion gigabytes

4.

Which source generates about one terabyte of new trade data per day?

a)

The New York Stock Exchange

b)

Facebook

c)

Ancestry.com

d)

The Internet Archive

5.

Which of the following statements is true about the Internet Archive?

a)

It stores around 2 petabytes of data and is growing at a rate of 20 terabytes per month.

b)

It generates about one terabyte of new trade data per day.

c)

It stores around 2.5 petabytes of data.

d)

It produces about 15 petabytes of data per year.

6.

If the digital universe was 0.18 zettabytes in 2006 and is forecasted to grow tenfold by 2011, what would its estimated size be in 2011?

a)

1.8 zettabytes

b)

0.36 zettabytes

c)

18 zettabytes

d)

2.5 zettabytes

7.

Analyze the implications of the rapid growth in data volume for organizations and suggest one strategy they could use to manage this growth effectively.

a)

Organizations must adopt scalable storage and processing solutions, such as distributed computing systems like Hadoop, to handle the increasing data volume.

b)

Organizations should reduce the amount of data they collect to avoid storage issues.

c)

Organizations can ignore data growth as technology will automatically adapt.

d)

Organizations should only store data on local machines.

8.

What was the purpose of Microsoft Research’s MyLifeBits project?

a)

To develop new camera technology

b)

To archive personal information electronically for later access

c)

To create a new social media platform

d)

To analyze retail transactions

9.

Which of the following is NOT mentioned as a contributor to the growing mountain of data?

a)

Machine logs

b)

Vehicle GPS traces

c)

Printed books

d)

Sensor networks

10.

What is the significance of initiatives like Public Data Sets on Amazon Web Services and Infochimps.org?

a)

They restrict access to data for security reasons.

b)

They foster the “information commons” by making data available for anyone to download and analyze.

c)

They only provide data to large corporations.

d)

They focus solely on financial data.

11.

How does the Astrometry.net project utilize data in a way that was not anticipated by the creator?

a)

By creating new photographic images

b)

By analyzing tagged photographic images to identify celestial bodies

c)

By selling images to the public

d)

By deleting old images

12.

What is one method described to speed up reading data from storage?

a)

Using only one disk at a time

b)

Reading from multiple disks in parallel

c)

Compressing all data before reading

d)

Deleting unnecessary files

13.

What is a common way to avoid data loss when using many disks?

a)

Using faster disks

b)

Replication of data

c)

Deleting old data

d)

Encrypting all data

14.

Which distributed file system is mentioned as taking a different approach to hardware failure?

a)

NTFS

b)

FAT32

c)

Hadoop Distributed Filesystem (HDFS)

d)

EXT4

15.

What is the main challenge when combining data from multiple disks for analysis?

a)

Data is always lost

b)

Data must be combined correctly from multiple sources

c)

Disks are too slow

d)

Data cannot be replicated

16.

How does MapReduce help with data analysis in distributed systems?

a)

It increases disk speed

b)

It abstracts the problem from disk reads and writes

c)

It compresses all data

d)

It deletes unnecessary files

17.

What are the two core components of Hadoop's kernel?

a)

HDFS and MapReduce

b)

SQL and NoSQL

c)

Spark and Hive

d)

Pig and HBase

18.

What is the main advantage of using MapReduce for data analysis?

a)

It processes only a small portion of the dataset for each query

b)

It allows for batch processing and ad hoc queries on large datasets

c)

It is only suitable for real-time data processing

d)

It requires no storage system

19.

What is the impact of using MapReduce at Rackspace?

a)

It reduced the need for data analysis

b)

It allowed engineers to gain new insights and improve customer service

c)

It made data analysis slower and more complex

d)

It replaced the need for all other data storage systems

20.

Why is MapReduce considered transformative in the way data is analyzed?

a)

It only works with small datasets

b)

It unlocks previously archived data and enables new insights

c)

It eliminates the need for any computation

d)

It is only used for email processing

21.

Why might traditional RDBMS with lots of disks not be sufficient for large-scale batch analysis?

a)

RDBMS cannot store any data

b)

RDBMS are not designed for large-scale batch processing like MapReduce

c)

RDBMS are faster than MapReduce for all tasks

d)

RDBMS do not support any queries

22.

What is the main difference between seek time and transfer rate in disk drives?

a)

Seek time is the process of moving the disk’s head to a particular place, while transfer rate is the speed of data transfer.

b)

Seek time is the speed of data transfer, while transfer rate is the process of moving the disk’s head.

c)

Seek time and transfer rate are the same thing.

d)

Seek time is only relevant for SSDs, while transfer rate is for HDDs.

23.

Which data structure is commonly used in traditional relational databases for updating a small proportion of records?

a)

B-Tree

b)

Hash Table

c)

Linked List

d)

Trie

24.

Which of the following is a key advantage of MapReduce over traditional RDBMS for data analysis?

a)

It is better for batch processing of large datasets.

b)

It provides higher integrity.

c)

It is optimized for point queries.

d)

It uses a static schema.

25.

Refer to the comparison table between RDBMS and MapReduce. Which system is characterized by linear scaling?

a)

MapReduce

b)

Traditional RDBMS

c)

Both

d)

Neither

26.

Which type of data does MapReduce handle particularly well?

a)

Unstructured or semi-structured data

b)

Only structured data

c)

Only encrypted data

d)

Only image data

27.

A relational database (RDBMS) might be preferred over MapReduce for certain applications because (a)   .

Choose from the below words
It delivers low-latency retrieval a
It is better for batch processing o
It uses a dynamic schema.
It is designed for unstructured dat
28.

What is the main characteristic of structured data?

a)

It is organized into entities with a defined format.

b)

It has no particular internal structure.

c)

It is always in the form of plain text.

d)

It cannot be stored in XML documents.

29.

Which of the following best describes the integrity of MapReduce compared to traditional RDBMS?

a)

MapReduce has lower integrity than RDBMS.

b)

MapReduce has higher integrity than RDBMS.

c)

Both have the same level of integrity.

d)

Integrity is not relevant to either system.

30.

How does MapReduce interpret the input keys and values for processing data?

a)

They are chosen by the person analyzing the data.

b)

They are intrinsic properties of the data.

c)

They are always defined by a static schema.

d)

They are automatically generated by the system.

31.

Which of the following best describes why normalization poses problems for MapReduce?

a)

It makes reading a record a non-local operation.

b)

It increases the speed of streaming reads and writes.

c)

It simplifies the structure of web server logs.

d)

It allows for easier analysis of logfiles.

32.

What is a key characteristic of a web server log that makes it well-suited for analysis with MapReduce?

a)

It is not normalized, so the same client may appear many times.

b)

It is always stored in a relational database.

c)

It contains only unique client hostnames.

d)

It is normalized for high-speed access.

33.

Which statement about the scalability of MapReduce is correct?

a)

Doubling the size of the cluster and the input data will result in the job running as fast as the original one.

b)

Doubling the input data will always make the job run faster.

c)

MapReduce cannot handle large datasets efficiently.

d)

SQL queries scale linearly like MapReduce jobs.

34.

How do the map and reduce functions in MapReduce operate with respect to the size of the data?

a)

They are oblivious to the size of the data and can be used unchanged for any dataset size.

b)

They must be rewritten for each new dataset size.

c)

They only work for small datasets.

d)

They require manual adjustment for large clusters.

35.

Which of the following is a challenge faced by High Performance Computing (HPC) when processing large datasets?

a)

Network bandwidth becomes the bottleneck as data size increases.

b)

Compute nodes are always fully utilized.

c)

HPC cannot access shared filesystems.

d)

HPC is not suitable for compute-intensive jobs.

36.

Over time, what trend is observed between relational databases and MapReduce systems?

a)

The differences between them are likely to blur as they adopt each other's features.

b)

Relational databases are becoming less popular.

c)

MapReduce is being replaced by SQL queries.

d)

They are becoming more distinct and incompatible.

37.

What is the main reason for the good performance of MapReduce in a data center environment?

a)

Data locality

b)

High CPU usage

c)

Complex network topology

d)

Explicit data flow management

38.

Which of the following best describes the architecture of MapReduce?

a)

Shared-nothing architecture

b)

Centralized architecture

c)

Client-server architecture

d)

Peer-to-peer architecture

39.

In MapReduce, what is the primary way it handles process failure in a large-scale distributed computation?

a)

By detecting failed map or reduce tasks and rescheduling replacements on healthy machines

b)

By stopping the entire computation

c)

By requiring manual intervention

d)

By using a backup server for every process

40.

Which of the following is a key difference between MapReduce and MPI from the programmer’s perspective?

a)

MapReduce hides the mechanics of data flow, while MPI requires explicit handling

b)

MapReduce requires explicit socket programming, while MPI does not

c)

MPI is only used for database applications, while MapReduce is not

d)

MapReduce cannot handle large-scale computations, while MPI can

41.

Why was MapReduce originally invented by engineers at Google?

a)

To build production search indexes by solving repetitive problems efficiently

b)

To create a new programming language

c)

To replace all database systems

d)

To improve graphical user interfaces

42.

How does MapReduce differ from MPI in terms of failure handling?

a)

MapReduce automatically detects and recovers from failures, while MPI requires explicit check-pointing and recovery by the programmer

b)

Both require manual intervention for failure recovery

c)

MPI automatically handles failures, while MapReduce does not

d)

Neither can handle failures in distributed systems

43.

What is the primary purpose of the SETI@home project?

a)

To analyze radio telescope data for signs of intelligent life outside earth

b)

To search for large prime numbers

c)

To understand protein folding and its relation to disease

d)

To build machine learning libraries

44.

Which of the following best describes a "work unit" in volunteer computing projects like SETI@home?

a)

A chunk of data sent to computers for analysis

b)

A type of computer used for volunteer computing

c)

A software program that manages volunteers

d)

A network protocol for data transfer

45.

How does SETI@home differ from MapReduce in terms of computation and network requirements?

a)

SETI@home uses untrusted machines with variable connections, while MapReduce uses trusted, dedicated hardware with high bandwidth

b)

SETI@home requires high bandwidth, while MapReduce does not

c)

MapReduce runs perpetual computations, while SETI@home runs short jobs

d)

SETI@home is only used for machine learning, while MapReduce is not

46.

Why is SETI@home suitable for running on hundreds of thousands of computers across the world?

a)

Because the problem is very CPU-intensive and does not require high bandwidth

b)

Because it requires a lot of memory

c)

Because it needs high-speed internet connections

d)

Because it only runs on dedicated servers

47.

What is a precaution taken by SETI@home to combat cheating in volunteer computing?

a)

Each work unit is sent to three different machines and at least two results must agree to be accepted

b)

Volunteers are required to register with government ID

c)

Data is encrypted before being sent

d)

Only trusted computers are allowed to participate

48.

Who created Hadoop?

a)

Doug Cutting

b)

Mike Cafarella

c)

Howard Gobioff

d)

Sanjay Ghemawat

49.

What is the origin of the name "Hadoop"?

a)

It is a made-up name given by Doug Cutting's child to a stuffed yellow elephant.

b)

It is an acronym for "Highly Available Distributed Object Oriented Processing."

c)

It is derived from the name of a famous mathematician.

d)

It is a combination of the words "data" and "loop."

50.

Which open source web search engine project did Hadoop originate from?

a)

Apache Nutch

b)

Lucene

c)

Pig

d)

MapReduce

51.

What principle is followed in naming subprojects and modules in Hadoop?

a)

Names are often unrelated to their function and may use animal themes.

b)

Names must always be acronyms.

c)

Names must be based on famous scientists.

d)

Names must be related to data storage.

52.

What was the main challenge faced by the creators of Nutch when scaling to billions of web pages?

a)

Their architecture wouldn’t scale to the required size.

b)

They lacked a programming language.

c)

They had no access to the internet.

d)

They could not find enough developers.

53.

The Google File System (GFS) was important to the development of Hadoop because (a)   .

Choose from the below words
It provided an architecture for han
It was the first search engine.
It was used to create the first ver
It was a programming language for H
54.

The function of the "jobtracker" in Hadoop is to (a)   .

Choose from the below words
It keeps track of MapReduce jobs.
It stores all the data.
It manages user authentication.
It provides internet connectivity.
55.

What was the main motivation for developing the Nutch Distributed Filesystem (NDFS)?

a)

To solve storage needs for very large files generated by web crawling and indexing.

b)

To create a new programming language.

c)

To replace the internet.

d)

To develop a new search algorithm.

56.

In what year did Google publish the paper that introduced MapReduce to the world?

a)

2002

b)

2004

c)

2006

d)

2008

57.

Which of the following companies is NOT mentioned as a user of Hadoop by early 2008?

a)

Facebook

b)

Last.fm

c)

Google

d)

The New York Times

58.

Describe how the New York Times used Amazon’s EC2 and Hadoop in a notable project.

a)

To build a new search engine

b)

To crunch through four terabytes of scanned archives and convert them to PDFs for the Web

c)

To analyze social media data

d)

To develop a new programming language

59.

Match the following world records with the corresponding achievements related to Hadoop as of April 2008.

a)

Fastest web search

1.

Record for the quickest web search performance

b)

Largest database

2.

Record for the biggest database size

c)

Fastest system to sort a terabyte of data

3.

Record for sorting a terabyte of data in the shortest time

d)

Most users on a cluster

4.

Record for the highest number of users on a single cluster

60.

How long did it take Hadoop to sort one terabyte of data on a 910-node cluster in April 2008?

a)

62 seconds

b)

209 seconds

c)

297 seconds

d)

601 seconds

61.

Evaluate the impact of Hadoop’s easy-to-use parallel programming model on large-scale data processing, using the New York Times example as evidence.

a)

It made data processing slower and more expensive

b)

It allowed organizations to process large datasets quickly and cost-effectively, as shown by the NYT’s ability to process four terabytes in less than 24 hours

c)

It was only useful for small datasets

d)

It required specialized hardware

62.

What was the main reason for redesigning the Dreadnaught infrastructure for the WebMap at Yahoo! in early 2005?

a)

To improve search accuracy

b)

To scale up to more nodes

c)

To reduce memory usage

d)

To enhance user interface

63.

Match each programming language to the framework or system it was used to prototype or develop, based on the context of distributed computing frameworks.

a)

Java

1.

Used by Eric Baldeschwieler’s team to prototype the new framework modeled after GFS and MapReduce

b)

Python

2.

Popular language for prototyping and scripting in data science and machine learning frameworks

c)

C++

3.

Commonly used for high-performance distributed systems like Apache Hadoop’s native components

d)

Ruby

4.

Known for its use in web application frameworks such as Ruby on Rails

64.

Why was it easier for Yahoo! to adopt Hadoop compared to their prototype?

a)

Hadoop was already open source

b)

Hadoop required fewer servers

c)

Hadoop was faster to install

d)

Hadoop had better documentation

65.

According to the timeline, what significant event happened in February 2006 regarding Hadoop?

a)

Doug Cutting joined Yahoo!

b)

Nutch was ported to the new framework

c)

Apache Hadoop project officially started to support the stand-alone development of MapReduce and HDFS

d)

Initial versions of Hadoop Distributed Filesystem and MapReduce were implemented

66.

How did the adoption of Hadoop benefit Yahoo! researchers compared to the previous prototype?

a)

It allowed researchers to use a new framework sooner and leverage open source advantages

b)

It reduced the number of nodes required for research

c)

It improved the graphical interface for researchers

d)

It eliminated the need for legal permissions

67.

Analyze why the WebMap applications did not require extensive refactoring to fit into MapReduce.

a)

Most of the WebMap phases were already based on sorting key-value pairs, which corresponded to MapReduce

b)

WebMap was already using Hadoop

c)

WebMap was designed for small-scale data

d)

WebMap did not use distributed computing

68.

Which of the following best describes the function of the 'Common' project in the Hadoop ecosystem?

a)

A set of components and interfaces for distributed filesystems and general I/O

b)

A distributed data processing model and execution environment

c)

A serialization system for efficient, cross-language RPC

d)

A database management system for Hadoop

69.

What is the primary purpose of the Avro project in the Hadoop ecosystem?

a)

To provide a distributed filesystem

b)

To offer a serialization system for efficient, cross-language RPC, and persistent data storage

c)

To manage cluster resources

d)

To execute SQL queries on Hadoop

70.

What is the main function of MapReduce in the Hadoop ecosystem?

a)

To provide a user interface for Hadoop

b)

To manage network security

c)

To serve as a distributed data processing model and execution environment for large clusters

d)

To store large files in a database

71.

Which component of the Hadoop ecosystem is responsible for providing a distributed filesystem that runs on large clusters of commodity machines?

a)

HDFS

b)

Pig

c)

Hive

d)

ZooKeeper

72.

What is the primary function of Pig in the Hadoop ecosystem?

a)

It is a distributed filesystem.

b)

It is a data flow language and execution environment for exploring large datasets.

c)

It is a distributed, column-oriented database.

d)

It is a coordination service for distributed applications.

73.

Which Hadoop component provides a query language based on SQL for managing data stored in HDFS?

a)

HBase

b)

Hive

c)

Sqoop

d)

Pig

74.

What is the main purpose of ZooKeeper in the Hadoop ecosystem?

a)

To move data between relational databases and HDFS

b)

To provide a distributed, highly available coordination service

c)

To manage data stored in HDFS using SQL

d)

To execute MapReduce jobs

75.

Suppose you need to efficiently move data between a relational database and HDFS. Which Hadoop tool would you use?

a)

Hive

b)

Sqoop

c)

HBase

d)

Pig