Unit 1: Introduction to Spark - Subjective Questions

INT315 — Cluster Computing • Practice Questions with Detailed Answers

20 questions

1

Explain the major limitations of the traditional MapReduce processing model in Hadoop.

2

Compare batch analytics and real-time analytics with respect to data input, processing time, output, and applications.

3

Describe the applications of stream processing in modern data-intensive systems.

4

What is in-memory processing? Explain why it improves the performance of data analytics applications.

5

Explain the architecture and working principles of Apache Spark.

6

Discuss the important features of Apache Spark.

7

Explain the benefits of Apache Spark for big-data processing.

8

Describe the steps required to install and run Apache Spark as a standalone user on a local computer.

9

Differentiate between Spark local mode and Spark standalone cluster mode.

10

Compare Apache Spark with Hadoop MapReduce in terms of processing model, performance, workloads, and fault tolerance.

11

Explain how Spark overcomes the limitations of MapReduce for iterative machine-learning algorithms.

12

What is lazy evaluation in Spark? Explain its effect on job execution and optimization.

13

Describe Resilient Distributed Datasets and explain their role in Spark fault tolerance.

14

Explain how Spark supports both batch processing and stream processing in a unified framework.

15

Discuss the major components of the Hadoop ecosystem and compare them with the corresponding components of Spark.

16

Explain the role of Spark SQL, Structured Streaming, MLlib, and GraphX in the Spark ecosystem.

17

A company needs to analyze transactions immediately and also generate a monthly sales report. Propose a Spark-based solution and justify the processing approach.

18

Distinguish between transformations and actions in Spark with suitable examples.

19

Explain data partitioning and shuffling in Spark. Why can excessive shuffling reduce performance?

20

Derive the main factors that determine the speedup obtained when moving a workload from Hadoop MapReduce to Spark.