
Ultimate access to all questions.
You are developing a stream processing solution for a fraud detection system in a financial institution. The system needs to analyze transaction data in real-time and detect suspicious activities. How would you configure the solution to handle out-of-order events and ensure accurate fraud detection?
A
Disable any handling of out-of-order events and process the data as it arrives, assuming it is in the correct order.
B
Use a batch processing approach to process the data in large batches, allowing for some flexibility in handling out-of-order events.
C
Implement watermarking and allow for a certain degree of data latency to handle out-of-order events, but do not consider the real-time requirements of the fraud detection system.
D
Implement watermarking and configure the solution to handle out-of-order events in real-time, ensuring accurate fraud detection without compromising the system's performance.