
Answer-first summary for fast verification
Answer: Configure exception handling to log errors and upsert data only when the data is valid and complete.
In a stream processing solution that ingests data from multiple IoT devices, it is important to handle interruptions and ensure data accuracy. Exception handling should be configured to log errors and take appropriate action based on the severity of the error. Upserting stream data should be done carefully, ensuring that only valid and complete data is upserted. This approach helps maintain data integrity and allows for recovery from interruptions without losing or corrupting data.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are working on a stream processing solution that ingests data from multiple IoT devices. The data includes sensor readings, device status, and event logs. The solution needs to handle interruptions and ensure data accuracy. How would you configure exception handling and upsert stream data in this scenario?
A
Disable exception handling and rely on manual intervention to handle data issues.
B
Configure exception handling to log errors and continue processing, but do not upsert any data.
C
Configure exception handling to log errors and upsert data only when the data is valid and complete.
D
Use a batch processing approach to process the data in large batches and handle exceptions at the batch level.
No comments yet.