A financial firm receives thousands of JSON market-data records per second and needs a scalable AWS solution with minimal operational overhead to detect anomalous data points in real time. Which design meets these requirements?
Choose an answer
Tap an option to check your answer.
Correct answer: Ingest the real-time data into Amazon Kinesis Data Streams and use the RANDOM_CUT_FOREST function in Amazon MSK for Apache Flink to process the streams and detect anomalies..
Why this is the answer
The correct option leverages Kinesis Data Streams for scalable real-time data ingestion and Amazon MSK for Apache Flink with the built-in RANDOMCUTFOREST function. This combination provides a fully managed, real-time anomaly detection solution with minimal operational overhead, as Flink handles stream processing and the RCF algorithm is optimized for this use case. The second option, using SageMaker endpoints with Lambda, introduces more operational overhead due to managing SageMaker endpoints and Lambda invocations for each record, which can be less efficient for high-throughput real-time stream processing compared to Flink. The third option, running Apache Kafka on EC2, significantly increases operational overhead as it requires managing EC2 instances, Kafka clusters, and their scaling. The fourth option, using SQS FIFO and AWS Glue ETL, is designed for batch processing, not real-time anomaly detection, and would introduce significant latency.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed