wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Streaming Data Challenges

Total questions: 26

Worksheet time: 13mins

Name
Class
Date
1.

What is Dataflow used for?

a)

Only for batch data processing

b)

Only for streaming data processing

c)

For both batch and streaming data processing

d)

For data storage

2.

What type of collections can be processed with Dataflow?

a)

Bounded collections only

b)

Unbounded collections only

c)

Both bounded and unbounded collections

d)

Neither bounded nor unbounded collections

3.

In a streaming pipeline, how does Dataflow process incoming messages?

a)

In batches

b)

In real time

c)

After storing them in a database

d)

At the end of the day

4.

What are some of the challenges associated with processing streaming data? (Select all that apply)

a)

Scalability

b)

Fault tolerance

c)

Model being used (streaming or repeated batch)

d)

High cost of processing

5.

Why is timing or latency a challenge in streaming data processing?

a)

Because messages are always sent in order

b)

Because network delays or faulty sensors can prevent messages from being sent on time

c)

Because messages are processed in batches

d)

Because Dataflow does not support real-time processing

6.

How does Dataflow handle aggregation in streaming scenarios?

a)

By using a single formula for all incoming data

b)

By dividing time into windows and aggregating within those windows

c)

By ignoring time and processing data as it comes

d)

By storing data and processing it later

7.

What feature does Dataflow provide to handle message timestamps?

a)

It ignores message timestamps

b)

It uses a default date timestamp (DTS) for all messages

c)

It allows modifying timestamps based on some property of the data

d)

It does not support timestamp modifications

8.

What happens if Pub/Sub IO is configured to use custom message IDs in Dataflow?

a)

Messages with duplicate IDs are processed multiple times

b)

Messages with duplicate IDs are discarded if they have been seen in the last 10 minutes

c)

All messages are processed regardless of their IDs

d)

Messages are stored for future reference

9.

Which of the following is true about the default date timestamp (DTS) in Dataflow?

a)

It represents the time the sensor data was captured

b)

It represents the time of entry to the system

c)

It is used to discard old messages

d)

It cannot be modified

10.

What does the PTransform do in the context of modifying timestamps?

a)

It extracts the date timestamp from the data portion of the element

b)

It adds a default date timestamp to the element

c)

It deletes the date timestamp from the element

d)

It prevents the modification of the date timestamp

11.

What kind of service does Dataflow provide?

a)

On-premise service

b)

Serverless service

c)

Manual service

d)

Desktop service

12.

How does Dataflow handle different steps in a streaming pipeline?

a)

Processes them in batches

b)

Processes them in real time

c)

Skips intermediate steps

d)

Processes them at the end of the day

13.

What is the benefit of dividing time into windows for streaming data?

a)

It makes the data processing slower

b)

It helps in aggregating data over a manageable period

c)

It reduces the amount of data to be processed

d)

It discards old data

14.

What happens when a sensor's message is delayed due to network issues?

a)

The message is ignored

b)

The message is processed immediately

c)

There may be a need to modify the timestamp

d)

The message is stored indefinitely

15.

What does the timestamp in a Pub/Sub message represent?

a)

The time the message was read by the sensor

b)

The time the message was received by the system

c)

The time the message was processed

d)

The time the message was deleted

16.

How does Dataflow manage message ordering and latency issues?

a)

By ignoring the timestamps

b)

By modifying the timestamps based on data properties

c)

By deleting old messages

d)

By processing messages in reverse order

17.

What is the purpose of using custom message IDs in Pub/Sub IO with Dataflow?

a)

To prioritize messages

b)

To de-duplicate messages

c)

To encrypt messages

d)

To categorize messages

18.

How often does Dataflow check for duplicate messages based on custom IDs?

a)

Every minute

b)

Every 5 minutes

c)

Every 10 minutes

d)

Every hour

19.

What does Dataflow use to automatically manage windowing, time, and aggregation?

a)

Manual scripts

b)

Default configurations

c)

Built-in features

d)

External plugins

20.

In Dataflow, what is a PTransform used for in the context of timestamps?

a)

To add a new timestamp

b)

To extract and modify the timestamp from the data element

c)

To delete the timestamp

d)

To encrypt the timestamp

21.

What advantage does Dataflow offer in terms of pipeline scalability?

a)

It requires manual intervention for scaling

b)

It automatically scales to handle increased data volumes

c)

It does not support scaling

d)

It can only handle small data volumes

22.

How does Dataflow ensure fault tolerance in streaming data processing?

a)

By ignoring failed messages

b)

By using built-in features to handle failures and continue processing

c)

By requiring manual restart of the pipeline

d)

By storing all messages and processing them later

23.

What challenge is specifically mentioned in relation to aggregating data in streaming scenarios?

a)

High computational cost

b)

Difficulty in maintaining windows and roll threads

c)

Lack of support for aggregation

d)

Limited storage capacity

24.

What type of timestamp is added by default when a message enters the Dataflow system?

a)

Sensor read timestamp

b)

System entry timestamp (DTS)

c)

Custom message timestamp

d)

Network latency timestamp

25.

How does Dataflow handle messages with significant latency between sensor read time and message send time?

a)

It ignores these messages

b)

It automatically adjusts timestamps based on latency

c)

It requires manual adjustment of timestamps

d)

It stores these messages for later processing

26.

What element is applied by Pub/Sub to messages that allows Dataflow to perform aggregation of different time windows?

a)

Message Groups

b)

Triggers

c)

Timestamps

d)

Watermarks