
Ultimate access to all questions.
You are tasked with developing a stream processing solution for a smart city project that monitors and analyzes traffic data from various sources, such as cameras, sensors, and mobile devices. The solution needs to process data in real-time and scale resources based on the incoming data volume. How would you design the solution to achieve this?
A
Use a single centralized processing engine to handle all incoming data, regardless of the volume.
B
Design a distributed processing architecture that can scale out by adding more processing nodes based on the incoming data volume.
C
Process the data in real-time using a single-threaded approach, without considering scalability.
D
Use a batch processing approach to process the data in large batches, ignoring the real-time requirements.