Tick-Bank's Kinesis Data Streams Application State Tracking Solution

Achieving Amazon Kinesis Data Streams Application State Tracking

Question

Tick-Bank is a privately held Internet retailer of both physical and digital products founded in 2008

The company has more than six-million clients worldwide.

Tick-Bank aims to serve as a connection between digital content makers and affiliate dealers, who then promote them to clients.

Tick-Bank's technology aids in payments, tax calculations and a variety of customer service tasks.

Tick-Bank assists in building perceptibility and revenue making opportunities for entrepreneurs. Tick-Bank runs multiple java based web applications running on windows based EC2 machines in AWS managed by internal IT Java team, to serve various business functions.

Tick-Bank is looking to enable web-site traffic analytics there by understanding user navigational behavior, preferences and other click related info.

The amount of data captured per click is in tens of bytes.

Tick-Bank has the following objectives in mind for the solution. Tick-Bank has multiple kinesis data streams supporting various business processes and uses enhanced fan out consumers to fulfill processing of data.

Tick-Bank proposes KPL library to produce the data stream while KCL library to consume the data.

Tick-Bank is interested to track the Amazon Kinesis Data Streams Application State.

How can this be achieved? Select 2 options.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer: A,C.

Option A is Correct.

KCL uses a unique Amazon DynamoDB table to keep track of the application's state.

https://docs.aws.amazon.com/streams/latest/dev/kinesis-record-processor-ddb.html

Option B is incorrect.

KCL uses a unique Amazon DynamoDB table to keep track of the application's state.

https://docs.aws.amazon.com/streams/latest/dev/kinesis-record-processor-ddb.html

Option C is correct.

KCL uses the name of the Amazon Kinesis Data Streams application to create the name of the table, each application name must be unique.

https://docs.aws.amazon.com/streams/latest/dev/kinesis-record-processor-

Tick-Bank is an online retailer that aims to connect digital content makers with affiliate dealers to promote their products to clients. They have multiple java-based web applications running on windows-based EC2 machines in AWS managed by an internal IT Java team to serve various business functions. Now they want to enable web-site traffic analytics by understanding user navigational behavior, preferences, and other click-related info.

To achieve this objective, Tick-Bank proposes to use Kinesis Data Streams to capture the data and process it using KPL and KCL libraries. Additionally, Tick-Bank is interested in tracking the Amazon Kinesis Data Streams application state. There are a few options to achieve this objective:

A. KCL uses a unique Amazon DynamoDB table to keep track of the application's state: The KCL library uses Amazon DynamoDB to store the state of the application. Each application has a unique DynamoDB table associated with it, which stores the checkpoint information for each shard. KCL library periodically saves the checkpoint information to DynamoDB, and in case of any failure, it can start from the last checkpoint to ensure that no data is lost.

B. CloudWatch provides information to track the application state: Amazon CloudWatch provides monitoring and logging services to track the state of AWS resources and applications. CloudWatch can monitor the Kinesis Data Streams application and provide information on the state of the application. However, CloudWatch does not maintain the checkpoint information for Kinesis Data Streams, and it is not a recommended method to track the application state.

C. KCL uses the name of the Amazon Kinesis Data Streams application to create the name of the table, each application name must be unique: KCL uses the name of the application to create a unique DynamoDB table. The name of the DynamoDB table follows the pattern of "tableName" + "ApplicationName." This ensures that each application has a unique DynamoDB table, and the state of the application is tracked independently of other applications.

D. CloudWatch along with X-ray: CloudWatch can be used along with X-ray to track the state of the application. AWS X-ray is a service that provides end-to-end tracing of requests through applications. It can track the performance of the application and identify any issues in the application. However, X-ray does not provide any functionality to track the state of Kinesis Data Streams.

In conclusion, options A and C are correct to track the Amazon Kinesis Data Streams application state. KCL library uses a unique Amazon DynamoDB table to keep track of the application's state, and each application name must be unique. Therefore, Tick-Bank can use these options to track the state of their application.