8 of 55.
A data scientist at a large e-commerce company needs to process and analyze 2 TB of daily customer transaction data. The company wants to implement real-time fraud detection and personalized product recommendations.
Currently, the company uses a traditional relational database system, which struggles with the increasing data volume and velocity.
Which feature of Apache Spark effectively addresses this challenge?
Apache Spark was designed for big data and high-velocity workloads. Its core strength lies in its in-memory computation and parallel distributed processing model.
These features allow Spark to:
Process large-scale datasets quickly across many nodes.
Support real-time and near--real-time analytics for tasks like fraud detection and recommendations.
Minimize disk I/O through caching and memory persistence.
Thus, the key advantage in this use case is Spark's ability to handle large data volumes efficiently using distributed, in-memory computation.
Why the other options are incorrect:
A: Spark is optimized for large, not small, datasets.
C: SQL support is useful but doesn't solve the scalability issue.
D: MLlib supports machine learning but relies on Spark's parallel computation for speed.
Databricks Exam Guide (June 2025): Section ''Apache Spark Architecture and Components'' --- identifies Spark's advantages: in-memory processing, distributed computation, and scalability.
Apache Spark 3.5 Overview --- Key design goals and cluster computation model.