Quiz Space

Introduction to Big Data · Quiz 2 · 6 Aug 2023 · May 2023 term

Question 4: Which of the following statements about Spark application…

Question 4

+2 marksOne correct option

Which of the following statements about Spark application architecture is correct?

  1. A

    A Spark program generates a set of tasks that are grouped into stages, each of which executes concurrently with the driver being responsible for collecting results from each stage for final output.

  2. B

    A Spark action generates a job, with each job being broken down into multiple stages where a stage is a set of tasks that can be executed in parallel and stages themselves are interdependent, with each task being the unit of work mapped to an executor.

  3. C

    A Spark program generates a job, with each job being broken down into multiple stages where a stage is a set of tasks that can be executed in parallel and stages themselves are interdependent, with each task being the unit of work mapped to an executor.

  4. D

    A Spark action generates a task that is further broken down into multiple stages where a stage is a set of jobs that can be executed in parallel and stages themselves are interdependent, with each job being the unit of work mapped to an executor.

  5. E

    A Spark program generates a task that is further broken down into multiple stages where a stage is a set of jobs that can be executed in parallel and stages themselves are interdependent, with each job being the unit of work mapped to an executor.

Show answer

Correct answer

  • B

    A Spark action generates a job, with each job being broken down into multiple stages where a stage is a set of tasks that can be executed in parallel and stages themselves are interdependent, with each task being the unit of work mapped to an executor.

Question 4 of 22 in the IIT Madras BS Introduction to Big Data (Intro to Big Data) Quiz 2 paper sat on 6 Aug 2023, in the May 2023 term (IIT M DEGREE AN3 EXAM QPE3 06 Aug 2023). It carries 2 marks.

This question was also asked in

More questions from this paper

  1. Q1What best describes "big data"?
  2. Q2Which of these represent examples of divide-and-conquer?
  3. Q3What option(s) best describe the differences between MapReduce and Spark?
  4. Q5Consider the problem of sorting a 1 petabyte file of numbers stored in a Hadoop cluster of 10 machines where the size o…
  5. Q6A website sees 1 Billion hits every month. The website owner wants to count average hits per customer in the latest mon…
  6. Q7An enterprise software designer wants to leverage the best of cloud to minimize the number of administrative overheads …
  7. Q8Consider an application that can scale from handling 1000 users to handling 100 million users by simply making copies o…
  8. Q9Would IRCTC's railway ticket booking application be suitable for a serverless implementation?
  9. Q10Linux is an example of an operating system. Which of the following is considered as the "operating system of a cluster …
  10. Q11Figure question
  11. Q12You are provided with a Spark program that picks out a list of suspicious transactions based on the amount of the trans…
  12. Q13Figure question
  13. Q14Figure question
  14. Q15Consider a file “data.bin” which is formatted as follows: every data record is in the form of pairs of values of the fo…
  15. Q16Consider the program outline as below running on a Spark cluster of 1 driver and 4 worker nodes with 2 executors per wo…
  16. Q17What is the output of the following code?
  17. Q18What is the output of the following code when deployed on a spark cluster?
  18. Q19Figure question
  19. Q20Which of the following types of data sources can you read successfully without missing data using a program that extrac…
  20. Q21Which of the following is true?
  21. Q22Which of the following statements is/ are true for Google Cloud Functions?