AWK Kinesis Flashcards

1
Q

For Kinesis data streams, how does it work?

A

Kinesis data streams enable you to inject data from thousands of sources, Kinesis data streams scales based on the number of shards you create. Kinesis data streams buffer the data for 24hrs by default and enable one or more consumers to read form the stream.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When you create a Kinesis stream, in what region are you creating the stream or is it a global service?

A

You are creating the stream in the region you have selected as Kinesis data stream is not a global service.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Kinesis?

A

It is a family of products for data stream processing, this means injection, analysis/process and store.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the Kinesis produce?

A
it is the entity that puts data into the stream,
- IOT device
_ Mobile device
- Application device
- EC2 device
- On-prem server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a Kinesis consumer?

A

This is the entity that takes data out of the stream.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Can I have multiple consumers?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What types of Kinesis consumers can I have?

A

You cna have,
- EC2 using Kinesis customer library (KCL)
Lambda
Kinesis Firehose

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What types of streams can I have in Kinesis?

A
  • Data streams

- Video streams

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How long is dat stored in a Kinesis stream?

A

24hrs (you cna increase this to 7day for an extra charge)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How dose a Kinesis stream related to shards?

A

A kinesis stream is a collection of shards.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the units associated with a single shard?

A

Read at 2mb per second

Write at 1mb per second

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the max number of shards?

A

500

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

I require a Kinesis stream capable of 10mb write, how many shards do I need?

A

You need 10

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How many data records per second can a single shard in a Kinesis accept?

A

100 per shard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How big can a single Kinesis data record be?

A

1MB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the partition key used for in Kinesis?

A

It is used to select the shard to use when writing the data.

17
Q

We are using Kinesis and our org has a policy where all data in transit and at rest is encrypted, is it possible to have Kinesis encrypt the data at rest?

A

Yes 100%, you can use SSE-KMS with AWS keys or SSE-KMS encryption with client keys.

18
Q

How can I monitor the Kinesis stream metrics?

A

You can use cloud whatch to monitor shard level metrics like incoming bytes, outgoing bytes, etc

19
Q

I wnat to access Kinesis form my VPC without going on the internet, how cna I do this?

A

VPC endpoints.

20
Q

I have Lambda configured to operate in the vPC, how best cna I have lambda access Kinesis?

A

Through VPC endpoints

21
Q

What is an enhansed fan out in relation to Kinesis

A

It means that you select a consumer to be given more of the bandwidth.

22
Q

What is Kinesis Firehose?

A
It enables you to take data From Kinesis stream and push it to a datastore like
 Elasticsearch 
S3 
Redshift
Splunk
23
Q

For Kinesis what the two input sources you can have?

A
  • Kinesis

- Direct, send records direct to Kinesis Firehose.

24
Q

I want to push CloudWatch events into a Kinesis Firehose, how can I do this?

A

Kinesis Firehose can take Direct input from these sources.

25
Q

I wnat to push CloudWatch Logs into a Kinesis Firehose, how can I do this?

A

Kinesis Firehose can take Direct input from these sources.

26
Q

I wnat to transform data at it is been wrote to S3 from Kinesis Firehose, how cna I do this?

A

Kinesis Firehost has the option to transform data using Lambda.

27
Q

For Kinesis can I compress and encrypt and encrypt data been sent to S3?

A

Yes you can take an input stream and when delivering it you can encrypt and compress it.

28
Q

How can I vire the main functions of what Kinesis dose?

A

Take an input stream, transforms if and stores it while opinalycompressing and encrypting it to a number of destinations like S3, Redshift, Redshift and Elastic search.

29
Q

What types of inputs can you have with Kinesis?

A

Direct PUTS from sources like IoT, etc

Kinesis

30
Q

If Kinesis is used as an input for Kinesis firehose and the Kinesis stream is already encrypted, will the firehose be automatically encrypted?

A

Yes.

31
Q

What are the products in Kinesis?

A

Kinesis streaming
Kinesis Firehose
Kinesis Analytics

32
Q

For Kinesis what are the Inputs we can have?

A

You cna have Kinesis Streams and Kinesis Firehose

33
Q

For Kinesis streams what are the Inputs we can have?

A

You cna have Kinesis Streams and Kinesis Firehose

34
Q

For Kinesis Analytics how can I perform preprocessing of the stream data?

A

Kinesis Analytics has the ability to use Lambda as a pre-processor.

35
Q

What can I output Kinesis Analytics too?

A

Kinesis Streams and Kinesis Firehose

36
Q

I wnat to add some reference data to the stream data in my Kinesis Analytics, how cna I do this?

A

You cna use the reference table to supply the reference data.

37
Q

What is the flow of data through Kinesis Analytics?

A

Input stream form Kinesis Streams or Firehose to Input table, select query and output to the application output stream and then data passed to Kinesis Streams or Firehost.