DAS-C01 · Question #180
A company provides an incentive to users who are physically active. The company wants to determine how active the users are by using an application on their mobile devices to track the number of…
The correct answer is C. Ingest the data into Amazon Kinesis Data Streams by using an Amazon API Gateway API as a Kinesis. To ingest live mobile application data for near-real-time analytics and long-term storage with the least operational overhead, the optimal solution involves using an Amazon API Gateway to ingest data into Amazon Kinesis Data Streams. Kinesis Data Streams is purpose-built for…
Question
A company provides an incentive to users who are physically active. The company wants to determine how active the users are by using an application on their mobile devices to track the number of steps they take each day. The company needs to ingest and perform near-real-time analytics on live data. The processed data must be stored and must remain available for 1 year for analytics purposes. Which solution will meet these requirements with the LEAST operational overhead?
Options
- AUse Amazon Cognito to write the data from the application to Amazon DynamoDB. Use an AWS Step
- BIngest the data into Amazon DynamoDB by using an Amazon API Gateway API as a DynamoDB proxy.
- CIngest the data into Amazon Kinesis Data Streams by using an Amazon API Gateway API as a Kinesis
- DWrite the data from the application into Amazon S3 by using Amazon Kinesis Data Firehose. Use
How the community answered
(55 responses)- A11% (6)
- B2% (1)
- C82% (45)
- D5% (3)
Why each option
To ingest live mobile application data for near-real-time analytics and long-term storage with the least operational overhead, the optimal solution involves using an Amazon API Gateway to ingest data into Amazon Kinesis Data Streams. Kinesis Data Streams is purpose-built for real-time data ingestion and stream processing, allowing immediate analytics before data is stored for a year.
Amazon Cognito is primarily for user authentication and management, not for direct data ingestion to a backend data store. DynamoDB is a NoSQL database, and while useful for fast access, building NRT analytics directly on it from a mobile app stream is less optimized than Kinesis.
While Amazon API Gateway can ingest data to Amazon DynamoDB, DynamoDB is a NoSQL database focused on low-latency item access. It is not as optimized or flexible as Kinesis Data Streams for general-purpose, high-throughput 'near-real-time analytics on live data' on streams of data with least operational overhead.
Using Amazon API Gateway provides a scalable, secure, and serverless endpoint for mobile applications to ingest live data. Amazon Kinesis Data Streams is purpose-built for high-throughput, real-time data ingestion and enables near-real-time analytics on live data with minimal operational overhead, after which the processed data can be stored for long-term analytics.
Amazon Kinesis Data Firehose delivers data to destinations like S3, but it typically buffers and delivers in batches, making it less suitable for 'near-real-time analytics on live data' compared to Kinesis Data Streams, which offers sub-second processing latency.
Concept tested: Real-time data ingestion and analytics
Source: https://aws.amazon.com/kinesis/data-streams/
Topics
Community Discussion
No community discussion yet for this question.