Skip to Content

Amazon DEA-C01: How to Capture and Process Mobile Gaming App Data with Amazon Kinesis?

Learn the best solution for capturing data from a mobile gaming app using Amazon Kinesis Data Streams with enhanced fan-out for optimal throughput and dedicated streams for each internal data consumer.

Table of Contents

Question

A mobile gaming company wants to capture data from its gaming app. The company wants to make the data available to three internal consumers of the data. The data records are approximately 20 KB in size.

The company wants to achieve optimal throughput from each device that runs the gaming app. Additionally, the company wants to develop an application to process data streams. The stream-processing application must have dedicated throughput for each internal consumer.

Which solution will meet these requirements?

A. Configure the mobile app to call the PutRecords API operation to send data to Amazon Kinesis Data Streams. Use the enhanced fan-out feature with a stream for each internal consumer.
B. Configure the mobile app to call the PutRecordBatch API operation to send data to Amazon Kinesis Data Firehose. Submit an AWS Support case to turn on dedicated throughput for the company’s AWS account. Allow each internal consumer to access the stream.
C. Configure the mobile app to use the Amazon Kinesis Producer Library (KPL) to send data to Amazon Kinesis Data Firehose. Use the enhanced fan-out feature with a stream for each internal consumer.
D. Configure the mobile app to call the PutRecords API operation to send data to Amazon Kinesis Data Streams. Host the stream-processing application for each internal consumer on Amazon EC2 instances. Configure auto scaling for the EC2 instances.

Answer

A. Configure the mobile app to call the PutRecords API operation to send data to Amazon Kinesis Data Streams. Use the enhanced fan-out feature with a stream for each internal consumer.

Explanation

Amazon Kinesis Data Streams is the optimal service for capturing and processing streaming data in real-time from a large number of sources like mobile apps. It can continuously capture gigabytes of data per second from hundreds of thousands of sources.

Using the PutRecords API to send data to Kinesis Data Streams will provide the highest throughput compared to PutRecord which only sends a single data record. PutRecords can send multiple data records to a Kinesis data stream in a single call, which is more efficient. The 20KB size of the gaming data records is well within the 1MB maximum size limit of a record in Kinesis Data Streams.

The enhanced fan-out feature of Kinesis Data Streams allows creating dedicated throughput for each internal consumer application reading from the stream. With enhanced fan-out, each consumer gets its own 2MB/sec pipe of read throughput per shard, allowing multiple consumers to each get the full data stream concurrently without contending for throughput. This meets the requirement of the stream-processing application having dedicated throughput for each consumer.

The other options are incorrect:
B is wrong because Kinesis Data Firehose does not support enhanced fan-out. You cannot turn on dedicated throughput for an AWS account via AWS Support.
C is wrong because the Kinesis Producer Library (KPL) is used for producing data to Kinesis Data Streams, not Kinesis Data Firehose. Firehose does not support enhanced fan-out.
D is wrong because hosting consumers on EC2 instances does not provide dedicated throughput for each consumer. The consumers would contend for throughput without enhanced fan-out.

Therefore, using Kinesis Data Streams with the PutRecords API and enhanced fan-out is the best solution for capturing high throughput data from the mobile gaming app and making it available to multiple internal consumers with dedicated throughput.

Amazon AWS Certified Data Engineer – Associate DEA-C01 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Amazon AWS Certified Data Engineer – Associate DEA-C01 exam and earn Amazon AWS Certified Data Engineer – Associate DEA-C01 certification.