
Ultimate access to all questions.
You are designing a stream processing solution that must handle high volumes of data from social media feeds. The solution needs to scale resources dynamically based on the incoming data rate. Which approach would you take to ensure efficient scaling, and how would you configure the system to handle upserts (updates and inserts) efficiently?
A
Use fixed resource allocation and handle upserts by periodically flushing the data to a storage layer.
B
Implement autoscaling based on CPU utilization and use a key-value store to manage upserts efficiently.
C
Manually adjust resource allocation based on historical data patterns and use a relational database for upserts.
D
Implement autoscaling based on incoming data rate and use a distributed ledger technology for upserts.