Structured Streaming

pdf

School

University of Texas, Dallas *

*We aren’t endorsed by this school

Course

6350

Subject

Computer Science

Date

Feb 20, 2024

Type

pdf

Pages

3

Uploaded by BarristerThunder12757

Report
Review Test Submission: Structured Streaming Quiz CS 6350.002 - Big Data Management and Analytics - S22 Course Homepage Review Test Submission: Structured Streaming Quiz User Venkata Kowsik Temididapathi Course CS 6350.002 - Big Data Management and Analytics - S22 Test Structured Streaming Quiz Started 4/23/22 5:54 PM Submitted 4/23/22 6:11 PM Due Date 4/24/22 11:59 PM Status Completed Attempt Score 50 out of 50 points Time Elapsed 17 minutes Results Displayed All Answers, Submitted Answers, Correct Answers Question 1 Selected Answers: Answers: Which of the following are features of Structured Streaming? Hint: See https://spark.apache.org/docs/latest/structured-streaming-program ming-guide.html You can use Dataframe API Aggregations, event-time windows, stream-to-batch join can be performed Built on the Spark SQL Engine Scalable and Fault-tolerant You can use Dataframe API Aggregations, event-time windows, stream-to-batch join can be performed Built on the Spark SQL Engine Scalable and Fault-tolerant Question 2 What are the guarantees of Structured Streaming? My eLearning 10 out of 10 points 10 out of 10 points Venkata Kowsik Temididapathi 2
Selected Answers: Answers: Hint: See https://spark.apache.org/docs/latest/structured-streaming-programming- guide.html Using continuous processing, it can be process end-to-end data in times as low as 1 millisecond Fault Tolerance End-to-end exactly-once processing Streaming data can be expressed in the same way as batch data Using continuous processing, it can be process end-to-end data in times as low as 1 millisecond Fault Tolerance End-to-end exactly-once processing Streaming data can be expressed in the same way as batch data Question 3 Selected Answers: Answers: Which of the following are valid parameters for spark.readstream method? Kafka Socket FileSource Kafka Socket FileSource None of the above RDD Memory Question 4 Selected Answers: Answers: The ±ow of data in a Structured Streaming application is as follows: Input Datastream -> Unbounded input table -> Results table -> output Which of the following are valid output modes? Append Update Complete Append Update and then complete 10 out of 10 points 10 out of 10 points
Sunday, April 24, 2022 4:10:04 PM CDT Update Complete Question 5 Selected Answer: Answers: By default, how does Structured Streaming know the schema of ²le based sources? Hint: See https://spark.apache.org/docs/latest/structured-streaming-program ming-guide.html#schema-inference-and-partition-of-streaming-dataframesdat asets It has to be speci²ed None of the above It can automatically be inferred It has to be speci²ed Schema is not necessary OK 10 out of 10 points
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help