
Answer-first summary for fast verification
Answer: Implement distributed state management and use automated recovery mechanisms based on checkpoint data.
Option B provides a robust solution for handling interruptions in a stream processing solution. Distributed state management ensures that the state is replicated across multiple nodes, reducing the risk of data loss during interruptions. Automated recovery mechanisms based on checkpoint data allow the system to quickly resume processing from the last saved state, minimizing downtime and data loss.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are designing a stream processing solution that must handle interruptions and recover quickly to minimize data loss. Describe how you would configure the system to handle these interruptions, including the mechanisms you would put in place for state management and recovery.
A
Use a centralized state store and rely on manual intervention to recover from interruptions.
B
Implement distributed state management and use automated recovery mechanisms based on checkpoint data.
C
Rely on the system's built-in resilience mechanisms and periodically back up the state to a secondary storage.
D
Manually manage the state on each node and use a failover mechanism to handle interruptions.
No comments yet.