MLS-C01 Question 23
Single answerYou are designing a data processing system for an e-commerce platform that processes user events, such as page views, clicks, and purchases. The system must provide real-time recommendations to users based on their recent activity. Which type of data processing job is most suitable for this use case?
- A
Batch processing job
- B
Streaming processing job
- C
ETL job for periodic data transformation
- D
Data archiving job
Show answer and explanation
Correct answer: B
Explanation
Streaming processing jobs are ideal for use cases that involve real-time data processing and decision-making, such as providing personalized recommendations based on live user activity. Unlike batch processing, which processes data in chunks after a delay, streaming processing continuously ingests, processes, and analyzes data as it arrives.
- A. Incorrect.
Batch processing jobs are designed for large-scale processing of static datasets at periodic intervals. They are not suitable for real-time requirements like providing immediate recommendations.
- B. Correct.
Streaming processing jobs are designed to handle real-time data flows, making them suitable for scenarios requiring immediate processing and response, such as real-time recommendations.
- C. Incorrect.
ETL jobs are typically used for transforming and loading data into a storage system, and they operate in batch or scheduled modes. They are not designed for real-time processing.
- D. Incorrect.
Data archiving jobs are used for long-term storage of infrequently accessed data and are not related to real-time data processing or recommendations.