Assignment 1 Quiz 3 CSE5BDC T5 2023

PolishedOpal avatar
PolishedOpal
·
·
Download

Start Quiz

Study Flashcards

8 Questions

Given a Scala list called numbers initialised with integer values, what does the following line of Scala code do? numbers.map(_ / 2.0).reduce(_ * _)

Divides each value in the numbers list by 2.0 and then computes the product of all the values in the numbers list.

Suppose you are given any list of numbers - for example, List(1, 3, 3, 4, 2, 5, 9, 6, 1) - and you are asked to return the highest even number. Which of the following set of functions best solves the problem?

filter, reduce, max

How does Apache Spark achieve fault tolerance?

Uses lineage to record all transformations that have been performed and replay the necessary transformations.

Which of the following Yarn managers is responsible for keeping track of all the tasks for big data processing jobs?

The application master

Consider the following Scala code: val cost = 29.19. Which of the following statements is false?

You can assign cost to a different value but the new value must be of type Double

Which one of the following components of Storm is responsible for performing the computing?

Bolts

Which of the following tasks should NOT be done using Storm?

Allowing millions of people to update their bank accounts at the same time.

Which of the following are NOT contributing reasons for MapReduce to be so bad for processing graph algorithms?

MapReduce cannot perform the necessary computation required by graph algorithms.

Test your knowledge on Scala programming, Apache Spark, Yarn managers, and Storm components with this quiz. Questions cover Scala code, Apache Spark fault tolerance, Yarn manager responsibilities, and Storm computing components.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Use Quizgecko on...
Browser
Browser