Exam 17: Big Data: Hadoop, Spark, Nosql and Iot  

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The following code loads senators.csv into a ________. import pandas as pd Senators_df = pd.read_csv('senators.csv')

(Multiple Choice)
4.8/5
(32)

Which of the following statements a), b) or c) is false?

(Multiple Choice)
4.7/5
(43)

Consider the following reducer code: 1 #!/usr/bin/env python3 2 # length_reducer.py 3 """Counts the number of words with each length.""" 4 import sys 5 from itertools import groupby 6 from operator import itemgetter 7 8 def tokenize_input(): 9 """Split each line of standard input into a key and a value.""" 10 for line in sys.stdin: 11 yield line.strip().split('\t') 12 13 # produce key-value pairs of word lengths and counts separated by tabs 14 for word_length, group in groupby(tokenize_input(), itemgetter(0)): 15 try: 16 total = sum(int(count) for word_length, count in group) 17 print(word_length + '\t' + str(total)) 18 except ValueError: 19 pass # ignore word if its count was not an integer Which of the following statements a), b) or c) is false?

(Multiple Choice)
4.8/5
(30)

Relational databases typically use ACID (Atomicity, xe "consistency"Consistency, Isolation, Durability) transactions. Which of the following ACID attributes is described by: "ensures that the database is modified only if all of a transaction's steps are successful?"

(Multiple Choice)
4.9/5
(32)

To query a Spark DataFrame, you must first create a xe "Spark (Apache):table view of a DataFrame"xe "table view of a Spark DataFrame"table view, which enables Spark SQL to query the DataFrame like a table in a ________ database.

(Multiple Choice)
4.8/5
(37)

Which of the following statements a), b) or c) is false?

(Multiple Choice)
4.9/5
(41)

Which of the following Hadoop ecosystem technologies is described by "real-time messaging, stream processing and storage, typically to transform and process high-volume streaming data, such as website activity and streaming IoT data."

(Multiple Choice)
4.8/5
(32)

Which of the following statements a), b) or c) is false?

(Multiple Choice)
4.9/5
(35)

Which of the following statements about MapReduce is false

(Multiple Choice)
4.7/5
(39)

Which of the following statements a), b) or c) is false?

(Multiple Choice)
4.7/5
(43)

Which of the following statements is false?

(Multiple Choice)
4.9/5
(38)

Which of the following statements a), b) or c) is false?

(Multiple Choice)
4.9/5
(36)

Which of the following statements a), b) or c) is false?

(Multiple Choice)
5.0/5
(30)

Which of the following statements a), b) or c) is false?

(Multiple Choice)
4.7/5
(39)

Which of the following statements is false?

(Multiple Choice)
4.8/5
(37)

A JSON dialect called ________ describes the boundaries of shapes such as countries, states, etc. for use in maps.

(Multiple Choice)
4.9/5
(39)

Which of the following statements a), b) or c) is false?

(Multiple Choice)
4.7/5
(32)

Which of the following statements a), b) or c) is false?

(Multiple Choice)
4.7/5
(41)

StreamingContext's ________ method begins the streaming process.

(Multiple Choice)
4.8/5
(43)

Which of the following statements a), b) or c) about Google's initial search implementation is false?

(Multiple Choice)
4.8/5
(42)
Showing 21 - 40 of 79
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)